AWS Certified Solutions Architect – Professional (SAP-C02) — Question 150

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

Each week, the company takes the application out of service for routine maintenance. During the time that the application is unavailable, the company wants visitors to receive an informational message instead of 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.)

Answer options

Correct answer: A, C, D

Explanation

The correct steps involve first uploading static content to the S3 bucket (A), then adding the S3 bucket as a second origin in the existing CloudFront distribution (C), and finally modifying the default cache behavior to direct traffic to the S3 bucket during maintenance (D). Options B and E suggest creating a new distribution or additional cache behavior that complicates the solution, while F is incorrect as it doesn't address the CloudFront requirement.