Question

Difficulty: MediumDeployment Strategies

A developer is updating a critical AWS Lambda function using AWS CodeDeploy. The deployment must route 10%10\% of the production traffic to the new version of the function first. The deployment must then automatically shift the remaining 90%90\% of the traffic to the new version after exactly 1515 minutes, provided that no CloudWatch alarms are triggered during this window.

Which AWS CodeDeploy deployment configuration should the developer choose to satisfy these requirements?

  1. CodeDeployDefault.LambdaCanary10Percent15MinutesAnswer
  2. B
    CodeDeployDefault.LambdaLinear10PercentEvery10Minutes
  3. C
    CodeDeployDefault.LambdaCanary10Percent10Minutes
  4. D
    CodeDeployDefault.LambdaLinear10PercentEvery15Minutes

Answer

CodeDeployDefault.LambdaCanary10Percent15Minutes
The correct configuration is the canary deployment option that specifies a 10%10\% initial traffic shift followed by a 1515-minute monitoring interval before the remaining 90%90\% is shifted. This matches the configuration named CodeDeployDefault.LambdaCanary10Percent15Minutes.

Step-by-Step Solution

1
Identify the deployment strategy type from the requirements.
The requirements describe a canary deployment strategy because traffic is shifted in two stages: an initial minor shift (10%10\%) and a final complete shift (90%90\%) after a specific wait period (1515 minutes).
Determining the correct class of deployment configuration narrows down the options between canary and linear.
2
Extract the specific percentage and time parameters.
The initial percentage is 10%10\%, and the wait time is 1515 minutes.
These parameters map directly to the names of the predefined deployment configurations in CodeDeploy.
3
Select the built-in configuration that matches these parameters.
The built-in configuration that routes 10%10\% first and waits 1515 minutes is CodeDeployDefault.LambdaCanary10Percent15Minutes.
This configuration satisfies all the criteria of the scenario.

Key Concept

AWS CodeDeploy deployment configurations for AWS Lambda functions
Estimated Time:1m 30s
Rate this question