QuestionQ46

VerifiedDeployment

A developer is writing a web application that is deployed on Amazon EC2 instances behind an internet-facing Application Load Balancer (ALB). The developer must add an Amazon CloudFront distribution in front of the ALB. The developer also must ensure that customer data from outside the VPC is encrypted in transit.

Which combination of CloudFront configuration settings should the developer use to meet these requirements?

Choose two
Explanation

"Match Viewer" (B) Origin Protocol Policy means CloudFront uses the same protocol the viewer used. "Redirect HTTP to HTTPS" (E) Viewer Protocol Policy forces all viewer connections to HTTPS. Together, they ensure encrypted transit from clients to CloudFront. When combined, this configuration ensures end-to-end encryption of customer data outside the VPC. Signed URLs (A) restrict access; field-level encryption (C) and compression (D) don't address the encryption requirement.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!