Security

A CloudFront distribution uses an Application Load Balancer in eu-west-1 as its HTTPS origin. The developer must use ACM-issued certificates for both HTTPS endpoints. Where should the certificates be requested?

Show the answer

Correct answerC. Request the viewer certificate in us-east-1 and the origin certificate in eu-west-1.

AWhy not this: The load balancer can use its regional certificate, but CloudFront requires its viewer certificate in us-east-1.

BWhy not this: This reverses the requirements: CloudFront needs us-east-1, and the load balancer needs eu-west-1.

CWhy this is right: CloudFront uses ACM certificates from us-east-1; the load balancer uses a certificate from its own Region.

DWhy not this: CloudFront can use its viewer certificate, but the load balancer needs a certificate in eu-west-1.

CloudFront requires its ACM viewer certificate in us-east-1. An Application Load Balancer requires its certificate in the load balancer's Region, so placing both certificates in either Region does not satisfy both requirements.