Q50 — AWS DOP-C02 Ch.2

Question 50 of 100 | ← Chapter 2

A company wants to migrate its monolithic web application—currently hosted on Amazon EC2—to a serverless architecture. Currently, it deploys the application using a new EC2 Auto Scaling group and a new Elastic Load Balancer, then shifts traffic using Amazon Route 53 routing policies. For the new serverless application, the company plans to use Amazon API Gateway and AWS Lambda. It will need to update its deployment process accordingly. Before rolling out new features to all customers, it must retain the ability to test them with a small subset of users. Which deployment strategy meets these requirements?

Correct Answer: B. Deploy API Gateway and Lambda functions using AWS CloudFormation with Lambda function versions. When code changes are needed, update the CloudFormation stack with new Lambda code and update the API version using a canary release strategy. Promote the new version after testing.

Explanation

ympyamtanharrrnm