Medium1 markMultiple Choice
Domain 2.1: Deployment StrategyDeploymentLambdaCodeDeploy

AWS SAP-C02 · Question 23 · Domain 2.1: Deployment Strategy

An application uses AWS Lambda and API Gateway. The team wants to deploy new Lambda versions without downtime. They need to shift traffic gradually over 10 minutes. Which service feature natively supports this?

Answer options:

A.

AWS CloudFormation using the UpdatePolicy attribute.

B.

AWS CodeDeploy using the Lambda compute platform with a Linear deployment configuration.

C.

API Gateway stage variables updated via a cron job.

D.

AWS Step Functions managing Lambda aliases.

How to approach this question

Identify the CI/CD service that natively handles Lambda traffic shifting.

Full Answer

B.AWS CodeDeploy using the Lambda compute platform with a Linear deployment configuration.✓ Correct
AWS CodeDeploy using the Lambda compute platform with a Linear deployment configuration.
AWS CodeDeploy integrates with Lambda to automate traffic shifting (Canary or Linear) between Lambda function versions using aliases.

Common mistakes

Thinking API Gateway handles the gradual shift natively without CodeDeploy.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 6

75 questions · hints · full answers · grading

More questions from this exam