AWS Certified Solutions Architect – Professional — Question 814
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
AWS Elastic Beanstalk provides a built-in 'Swap Environment URLs' feature that seamlessly redirects traffic from the old (blue) environment to the new (green) environment by swapping the CNAME records of both environments. While manual DNS or Route 53 modifications can redirect traffic, the Swap Environment URLs option is the native, fastest, and recommended method to complete this process. Modifying the Auto Scaling launch configuration is incorrect as it does not handle traffic routing between two distinct Beanstalk environments.