A company is migrating a legacy storefront web application to the AWS Cloud. The application is complex and will take several months to refactor. A solutions architect recommended an interim solution of using Amazon CloudFront with a custom origin pointing to the SSL endpoint URL for the legacy web application until the replacement is ready and deployed. The interim solution has worked for several weeks. However, all browser connections recently began showing an HTTP 502 Bad Gateway error with the header "X-Cache: Error from cloudfront." Monitoring services show that the HTTPS port 443 on the legacy web application is open and responding to requests. What is the likely cause of the error, and what is the solution?
A) The origin access identity is not correct. Edit the CloudFront distribution and update the identity in the origins settings.
B) The SSL certificate on the CloudFront distribution has expired. Use AWS Certificate Manager (ACM) in the us-east-1 Region to replace the SSL certificate in the CloudFront distribution with a new certificate.
C) The SSL certificate on the legacy web application server has expired. Use AWS Certificate Manager (ACM) in the us-east-1 Region to create a new SSL certificate. Export the public and private keys, and install the certificate on the legacy web application.
D) The SSL certificate on the legacy web application server has expired. Replace the SSL certificate on the web server with one signed by a globally recognized certificate authority (CA) . Install the full certificate chain onto the legacy web application server.
Correct Answer:
Verified
Q377: Your company has installed an AWS Direct
Q378: In Amazon CloudFront, while creating a web
Q379: You wish to host a mailserver on
Q380: A company has a VPC in the
Q381: A network engineer needs to create a
Q383: Which statement about VPC endpoints is incorrect?
A)
Q384: An AWS CloudTrail log file provides the
Q385: A company wants to migrate its workloads
Q386: When configuring Active/Passive HA on VPN tunnels,
Q387: After setting an AWS Direct Connect, which
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents