DOP-C02 · Question #93
DOP-C02 Question #93: Real Exam Question with Answer & Explanation
The correct answer is D: Remove the weighted DNS record entry that points to the S3 bucket from the example.com hosted. To ensure that the company only serves dynamic content for example.com, the DevOps engineer should remove the weighted DNS record entry that points to the S3 bucket from the example.com hosted zone. This will immediately remove the static website from the DNS resolution pool.
Question
A company is hosting a static website from an Amazon S3 bucket. The website is available to customers at example.com. The company uses an Amazon Route 53 weighted routing policy with a TTL of 1 day. The company has decided to replace the existing static website with a dynamic web application. The dynamic web application uses an Application Load Balancer (ALB) in front of a fleet of Amazon EC2 instances. On the day of production launch to customers, the company creates an additional Route 53 weighted DNS record entry that points to the ALB with a weight of 255 and a TTL of 1 hour. Two days later, a DevOps engineer notices that the previous static website is displayed sometimes when customers navigate to example.com. How can the DevOps engineer ensure that the company serves only dynamic content for example.com?
Options
- ADelete all objects, including previous versions, from the S3 bucket that contains the static website
- BUpdate the weighted DNS record entry that points to the S3 bucket. Apply a weight of 0. Specify the
- CConfigure webpage redirect requests on the S3 bucket with a hostname that redirects to the ALB.
- DRemove the weighted DNS record entry that points to the S3 bucket from the example.com hosted
Explanation
To ensure that the company only serves dynamic content for example.com, the DevOps engineer should remove the weighted DNS record entry that points to the S3 bucket from the example.com hosted zone. This will immediately remove the static website from the DNS resolution pool.
Topics
Community Discussion
No community discussion yet for this question.