exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 68 discussion

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?

  • A. Use AWS CDK to deploy API Gateway and Lambda functions. When code needs to be changed, update the AWS CloudFormation stack and deploy the new version of the APIs and Lambda functions. Use a Route 53 failover routing policy for the canary release strategy.
  • 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.
  • C. Use AWS Elastic Beanstalk to deploy API Gateway and Lambda functions. When code needs to be changed, deploy a new version of the API and Lambda functions. Shift traffic gradually using an Elastic Beanstalk blue/green deployment.
  • D. Use AWS OpsWorks to deploy API Gateway in the service layer and Lambda functions in a custom layer. When code needs to be changed, use OpsWorks to perform a blue/green deployment and shift traffic gradually.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
haazybanj
Highly Voted 1 year, 11 months ago
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 12 times
...
Snape
Highly Voted 1 year, 9 months ago
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
1 year, 7 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
...
...
teo2157
Most Recent 5 months ago
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
...
thanhnv142
1 year, 2 months ago
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
...
thanhnv142
1 year, 2 months ago
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: no mention of canary deployment
upvoted 1 times
...
Jeanphi72
1 year, 11 months ago
Selected Answer: B
ONly B is possible
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago