QuestionQ14

VerifiedContinuous Improvement for Existing Solutions

A company has deployed an application on AWS Elastic Beanstalk. The application uses Amazon Aurora for its database layer. An Amazon CloudFront distribution handles web requests and has the Elastic Beanstalk domain name configured as the origin server. The distribution has an alternate domain name that visitors use to access the application.

Every week, the company takes the application out of service for routine maintenance. While the application is unavailable, the company wants visitors to receive an informational message rather than a CloudFront error message.

A solutions architect creates an Amazon S3 bucket as the first step in the process.

Which combination of steps should the solutions architect take next to meet the requirements?

Choose three
Explanation

The informational maintenance content must be stored in the S3 bucket and exposed through the existing CloudFront distribution. Configuring the bucket as a second origin with an OAI permits CloudFront to retrieve the private S3 content. Changing the existing distribution’s default cache behavior to target that S3 origin during maintenance routes application requests to the maintenance content; reverting the behavior restores the Elastic Beanstalk origin. CloudFront’s default cache behavior is applied when no other cache behavior matches and identifies the origin used for those requests.

Learn more

Community Discussion

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