exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 153 discussion

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.)

  • A. Upload static informational content to the S3 bucket.
  • B. Create a new CloudFront distribution. Set the S3 bucket as the origin.
  • C. Set the S3 bucket as a second origin in the original CloudFront distribution. Configure the distribution and the S3 bucket to use an origin access identity (OAI).
  • D. During the weekly maintenance, edit the default cache behavior to use the S3 origin. Revert the change when the maintenance is complete.
  • E. During the weekly maintenance, create a cache behavior for the S3 origin on the new distribution. Set the path pattern to \ Set the precedence to 0. Delete the cache behavior when the maintenance is complete.
  • F. During the weekly maintenance, configure Elastic Beanstalk to serve traffic from the S3 bucket.
Show Suggested Answer Hide Answer
Suggested Answer: ACD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
masetromain
Highly Voted 2 years, 3 months ago
Selected Answer: ACD
A. Upload static informational content to the S3 bucket. C. Set the S3 bucket as a second origin in the original CloudFront distribution. Configure the distribution and the S3 bucket to use an origin access identity (OAI). D. During the weekly maintenance, edit the default cache behavior to use the S3 origin. Revert the change when the maintenance is complete. Step 1: The solutions architect should upload static informational content to the S3 bucket, this content will be shown to the users when the application is down for maintenance. Step 2: The solutions architect should set the S3 bucket as a second origin in the original CloudFront distribution. To keep the S3 bucket secure, the solutions architect should configure the distribution and the S3 bucket to use an origin access identity (OAI). This will ensure that only CloudFront has access to the S3 bucket.
upvoted 16 times
masetromain
2 years, 3 months ago
Step 3: During the weekly maintenance, the solutions architect should edit the default cache behavior of the CloudFront distribution to use the S3 origin. This will redirect all incoming traffic to the S3 bucket and show the static informational content to the users. Once the maintenance is complete, the solutions architect should revert the change back to the original Elastic Beanstalk origin. Option B: Creating a new CloudFront distribution and setting the S3 bucket as the origin is unnecessary and could cause confusion for the users. Option E: During the weekly maintenance, creating a cache behavior for the S3 origin on the new distribution is unnecessary, it is more complex and prone to human error. Option F: Configuring Elastic Beanstalk to serve traffic from the S3 bucket is not necessary because CloudFront is already being used as the web request server.
upvoted 5 times
...
...
carpa_jo
Most Recent 1 year, 3 months ago
Selected Answer: ACD
From the given options ACD makes the most sense. In real life the CloudFront feature to show custom error responses might make a lot more sense: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/GeneratingCustomErrorResponses.html#custom-error-pages-procedure This would avoid the manual steps and by that is less prone to human errors.
upvoted 1 times
...
career360guru
1 year, 4 months ago
Selected Answer: ACD
A, C and D is correct.
upvoted 1 times
...
severlight
1 year, 5 months ago
Selected Answer: ACD
CacheBehaviour defines path and origin
upvoted 1 times
...
NikkyDicky
1 year, 9 months ago
Selected Answer: ACD
ACD morelikely
upvoted 1 times
...
SkyZeroZx
1 year, 10 months ago
Selected Answer: ACD
A C D E is good option but is more overhead and propone error human then C is more accesible
upvoted 2 times
...
Jesuisleon
1 year, 10 months ago
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/high_availability_origin_failover.html
upvoted 1 times
...
mfsec
2 years, 1 month ago
Selected Answer: ACD
ACD is the best fit
upvoted 3 times
...
Musk
2 years, 2 months ago
Selected Answer: ACD
About E, the lowest possible value for the "Origin Priority" field in AWS CloudFront is 1
upvoted 4 times
sam2ng
6 months, 1 week ago
behavior precedence can be set to zero
upvoted 1 times
...
...
zozza2023
2 years, 2 months ago
Selected Answer: ACD
ACD is correct
upvoted 4 times
...
zhangyu20000
2 years, 3 months ago
ABD is correct
upvoted 1 times
zhangyu20000
2 years, 3 months ago
ACD is correct
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago