Learn how to update an application environment within AWS Elastic Beanstalk using a blue/green deployment methodology.
Table of Contents
Question
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?
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.
Answer
B. Select the Swap Environment URLs option.
Explanation
In a blue/green deployment, you create a new environment that is identical to the existing application environment, and then deploy the updated application to the new environment. Once the new environment is tested and verified, you need to switch the traffic to the new environment.
Selecting the Swap Environment URLs option in AWS Elastic Beanstalk is the easiest way to switch traffic from the old environment to the new environment. This option updates the environment’s URL to point to the new environment, and it also updates the environment’s name to reflect the new environment.
Option A, redirecting to the new environment using Amazon Route 53, is not the recommended approach, as it requires additional configuration and may cause DNS propagation delays.
Option C, replacing the Auto Scaling launch configuration, is not relevant to the update process.
Option D, updating the DNS records to point to the green environment, is not necessary, as the Swap Environment URLs option updates the environment’s URL automatically.
Amazon AWS Certified Solutions Architect – Professional SAP-C02 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Amazon AWS Certified Solutions Architect – Professional SAP-C02 exam and earn Amazon AWS Certified Solutions Architect – Professional SAP-C02 certification.