
Answer-first summary for fast verification
Answer: Canary deployment with 10% immediate traffic shift and the rest after a delay.
The correct answer is D. The canary deployment strategy allows for a small percentage (e.g., 10%) of traffic to be shifted to the new version immediately, and after a specified period (e.g., 5 minutes), shifts the remaining traffic. This minimizes the exposure of potential errors to end users and ensures that any issues can be quickly identified and rectified without affecting the majority of users. It also ensures that the application does not experience downtime outside the specified maintenance window. This meets the requirement of minimizing deployment time while ensuring reliability.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
In a serverless application using AWS Lambda and Amazon API Gateway, which AWS CodeDeploy deployment strategy ensures minimal downtime and error exposure with the quickest deployment time?
A
In-place deployment with immediate traffic shift.
B
Linear deployment with 10% traffic shift per minute.
C
All-at-once deployment with immediate full traffic shift.
D
Canary deployment with 10% immediate traffic shift and the rest after a delay.