Soru

Zorluk: OrtaDeployment Strategy Design

A company is deploying a new version of a critical payment processing microservice built on AWS Lambda. To limit blast radius, the deployment strategy must gradually shift traffic to the new version in equal increments. Specifically, the system must route 10%10\% of the traffic to the new Lambda version initially, and then increase the traffic by another 10%10\% every 1010 minutes until the new version handles all traffic. If the error rate exceeds a specified threshold during the migration, the deployment must automatically roll back. Which AWS CodeDeploy deployment configuration should the solutions architect select?

  1. LambdaLinear10PercentEvery10MinutesCevap
  2. B
    LambdaCanary10Percent10Minutes
  3. C
    LambdaLinear10PercentEvery1Minute
  4. D
    LambdaCanary10PercentEvery10Minutes

Cevap

LambdaLinear10PercentEvery10Minutes
The configuration named 'LambdaLinear10PercentEvery10Minutes' correctly shifts traffic linearly in equal steps of 10%10\% every 1010 minutes until the transition is complete. Combined with CloudWatch alarms, this allows CodeDeploy to automatically roll back the deployment if the error rate exceeds the threshold.

Adım Adım Çözüm

1
Analyze the traffic shifting requirement to determine if it is canary or linear.
Since traffic must be shifted in equal increments (10%10\% at a time) at regular intervals (1010 minutes), a linear deployment strategy is required.
Canary deployment shifts a fixed percentage initially and the rest at the end of the window, whereas linear deployment shifts traffic in multiple equal steps.
2
Identify the target parameters for the linear deployment strategy.
The parameters are 10%10\% increment size and 1010 minutes interval duration.
This establishes the exact naming convention required to locate the predefined AWS CodeDeploy configuration.
3
Compare the parameters against the available predefined AWS CodeDeploy configurations for AWS Lambda.
The configuration named 'LambdaLinear10PercentEvery10Minutes' matches the required behavior.
Predefined configurations are named using the pattern 'LambdaLinear[Percentage]PercentEvery[Minutes]Minutes'.

Anahtar Kavram

Predefined AWS CodeDeploy configuration patterns for gradual, automated AWS Lambda traffic shifting.
Bu soruyu puanla