A company wants to migrate its content sharing web application hosted on Amazon EC2 to a serverless architecture. The company currently deploys changes to its application by creating a new Auto Scaling group of EC2 instances and a new Elastic Load Balancer, and then shifting the traffic away using an Amazon Route 53 weighted routing policy. For its new serverless application, the company is planning to use Amazon API Gateway and AWS Lambda. The company will need to update its deployment processes to work with the new application. It will also need to retain the ability to test new features on a small number of users before rolling the features out to the entire user base. Which deployment strategy will meet these requirements?
Select an option, then click Submit answer.
Reference / correct answer:
Use AWS CloudFormation to deploy API Gateway and Lambda functions using Lambda function versions. When code needs to be changed, update the CloudFormation stack with the new Lambda code and update the API versions using a canary release strategy. Promote the new version when testing is complete.
Most accepted answer: B. Use AWS CloudFormation to deploy API Gateway and Lambda functions using Lambda function versions. When code needs to be changed, update the CloudFormation stack with the new Lambda code and update the API versions using a canary release strategy. Promote the new version when testing is complete.
Community votes: B=4
Selected Answer: B The deployment strategy that will meet the company's requirements is B. Use AWS CloudFormation to deploy API Gateway and Lambda functions using Lambda function versions. When code needs to be changed, update the CloudFormation stack with the new Lambda code and update the API versions using a canary release strategy. Promote the new version when testing is complete. Explanation: Option B provides a deployment strategy for the company's new serverless architecture, allowing the company to retain the ability to test new features on a small number of users before rolling the features out to the entire user base. Using AWS CloudFormation, the company can deploy API Gateway and Lambda functions using Lambda function versions. When code needs to be changed, the company can update the CloudFormation stack with the new Lambda code and update the API versions using a canary release strategy. Once testing is complete, the new version can be promoted. upvoted 13 times
Selected Answer: B A Wrong: not using Canary, or Blue/green C Wrong: Beanstalk is not serverless deployment platform D Wrong: Irrelevant, OpsWork is configuration management platform and situation is requesting application deployment /AWS resource provisioning platform upvoted 7 times beanxyz 2 years, 10 months ago Your answer is correct but the explanation is not. A is wrong because we can't use Route 53 failover routing for canary release. If it says Route53 weighted routing, then it is a possible option. D is wrong because when you use blue/green mode, the switch from blue to green is all done at once, not like a granular canary change upvoted 3 times ...
Your answer is correct but the explanation is not. A is wrong because we can't use Route 53 failover routing for canary release. If it says Route53 weighted routing, then it is a possible option. D is wrong because when you use blue/green mode, the switch from blue to green is all done at once, not like a granular canary change upvoted 3 times
Selected Answer: B It could be either A or B but the key here is that "Use a Route 53 failover routing policy for the canary release strategy." is a wrong statement, it should be a Route 53 weighted routing policy so B is the correct answer upvoted 1 times
B is correct: <serverless architecture> means ECS, lambda, Beanstalk. < It will also need to retain the ability to test new features on a small number of users before rolling the features out to the entire user base> means canary deployment A: <Route 53 failover routing policy for the canary release strategy>: there is no such thing C and D: no mention of canary deployment upvoted 1 times