DVA-C02 · Question #149
A company is developing a serverless application that consists of various AWS Lambda functions behind Amazon API Gateway APIs. A developer needs to automate the deployment of Lambda function code…
The correct answer is D. Use the AWS CodeDeploy predefined canary deployment configuration to shift 10% of the traffic. The AWS CodeDeploy predefined canary deployment configuration shifts 10% of traffic immediately, then shifts the remaining 90% after 5 minutes. This approach helps minimize the exposure of errors to users while ensuring fast rollback if needed, and provides a short overall…
Question
A company is developing a serverless application that consists of various AWS Lambda functions behind Amazon API Gateway APIs. A developer needs to automate the deployment of Lambda function code. The developer will deploy updated Lambda functions with AWS CodeDeploy. The deployment must minimize the exposure of potential errors to end users. When the application is in production, the application cannot experience downtime outside the specified maintenance window. Which deployment configuration will meet these requirements with the LEAST deployment time?
Options
- AUse the AWS CodeDeploy in-place deployment configuration for the Lambda functions. Shift all
- BUse the AWS CodeDeploy linear deployment configuration to shift 10% of the traffic every minute.
- CUse the AWS CodeDeploy all-at-once deployment configuration to shift all traffic to the updated
- DUse the AWS CodeDeploy predefined canary deployment configuration to shift 10% of the traffic
How the community answered
(56 responses)- A18% (10)
- B9% (5)
- C5% (3)
- D68% (38)
Explanation
The AWS CodeDeploy predefined canary deployment configuration shifts 10% of traffic immediately, then shifts the remaining 90% after 5 minutes. This approach helps minimize the exposure of errors to users while ensuring fast rollback if needed, and provides a short overall deployment time. It balances speed and safety, making it ideal for production environments with limited downtime windows.
Community Discussion
No community discussion yet for this question.