Soru

Zorluk: KolayDeployment Strategy Design

A company is deploying a new version of a microservice hosted on AWS Lambda. The deployment process must ensure zero downtime. The system must route 10%10\% of the incoming traffic to the new version of the function for a duration of 1010 minutes. If there are no errors, all remaining traffic must be routed to the new version immediately. If errors are detected, the deployment must automatically roll back.

Which two options should the solutions architect combine to achieve this deployment strategy? (Select two.)

  1. Configure AWS CodeDeploy to manage the traffic shifting for the AWS Lambda function.Cevap
  2. Select the Canary10Percent10Minutes deployment configuration in the deployment group.Cevap
  3. C
    Select the Linear10PercentEvery10Minutes deployment configuration in the deployment group.
  4. D
    Select the AllAtOnce deployment configuration in the deployment group.
  5. E
    Use AWS Elastic Beanstalk rolling deployments to shift traffic to the new version.

Cevap

Configure AWS CodeDeploy to manage traffic shifting, and select the Canary10Percent10Minutes deployment configuration.
AWS CodeDeploy manages serverless deployments by updating Lambda function aliases to shift traffic. The Canary10Percent10Minutes deployment configuration specifically exposes 10%10\% of traffic to the new version for a 1010-minute window, then routes 100%100\% of the traffic to the new version if no CloudWatch alarms are triggered.

Adım Adım Çözüm

1
Identify the target service and hosting model.
The application is hosted on AWS Lambda.
Traffic shifting for serverless functions requires mechanisms that support Lambda alias routing.
2
Determine the required traffic shifting pattern.
The strategy requires a two-phase shift: 10%10\% traffic for 1010 minutes, followed by an immediate shift of the remaining 90%90\%.
This behavior corresponds to a canary deployment pattern, specifically Canary10Percent10Minutes in CodeDeploy.
3
Evaluate the correct combination of deployment service and configuration.
AWS CodeDeploy provides native Canary10Percent10Minutes configurations for AWS Lambda.
Combining CodeDeploy with the correct canary configuration satisfies all technical requirements.

Anahtar Kavram

AWS Lambda deployment traffic shifting configurations using AWS CodeDeploy.
Tahmini Süre:1m 0s
Bu soruyu puanla