AWS Certified Solutions Architect – Professional (SAP-C02) — Question 219
A solutions architect must update an application environment within AWS Elastic Beanstalk using a blue/green deployment methodology. The solutions architect creates an environment that is identical to the existing application environment and deploys the application to the new environment.
What should be done next to complete the update?
Answer options
- A. Redirect to the new environment using Amazon Route 53.
- B. Select the Swap Environment URLs option.
- C. Replace the Auto Scaling launch configuration.
- D. Update the DNS records to point to the green environment.
Correct answer: B
Explanation
The correct answer is B because selecting the Swap Environment URLs option will seamlessly direct traffic from the old environment to the new one. The other options are either unnecessary for completing the deployment process or involve steps that do not directly address the immediate requirement of swapping the environments.