
Answer-first summary for fast verification
Answer: Create a new environment alongside the current one and use API Gateway's canary release deployment to gradually shift a small portion of traffic to the new environment.
Option A is the correct answer. Introducing changes as a separate environment parallel to the existing one and using API Gateway's canary release deployment allows a subset of user traffic to be routed to the new environment. This minimally impacts users while gradually testing the new version of the application. If any issues arise, the company can quickly roll back by stopping the canary deployment and directing all traffic back to the existing environment. This solution ensures minimal disruptions during deployment and provides a smooth rollback mechanism, meeting the company's requirements effectively with minimal changes to the application.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
A company has migrated its legacy application to AWS, hosting it on EC2 instances behind an Application Load Balancer (ALB) and an Amazon API Gateway. To minimize user disruptions during application updates and enable quick rollbacks, which deployment strategy should be adopted with minimal changes to the existing infrastructure?
A
Create a new environment alongside the current one and use API Gateway's canary release deployment to gradually shift a small portion of traffic to the new environment.
B
Set up a new environment parallel to the existing one and modify the DNS alias records to direct traffic to the new environment.
C
Add a new target group to the existing ALB and configure API Gateway to incrementally route traffic to the new target group.
D
Establish a new target group for the existing ALB and set API Gateway to forward all traffic to the ALB, which then distributes it to the new target group.