Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon DOP-C02 Exam - Topic 3 Question 42 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?
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.
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.
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.

Amazon DOP-C02 Exam - Topic 3 Question 42 Discussion

Actual exam question for Amazon's DOP-C02 exam
Question #: 42
Topic #: 3
[All DOP-C02 Questions]

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 Lambd

a. 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?

Show Suggested Answer Hide Answer
Suggested Answer: B

This corresponds to Option B: Add the AWS::CodeDeployBlueGreen transform and the AWS::CodeDeploy::BlueGreen hook parameter with the CodeDeployDefault.ECSLinear10PercentEvery1Minutes deployment configuration.

Contribute your Thoughts:

0/2000 characters
Edelmira
6 months ago
OpsWorks? Really? That feels outdated for this scenario.
upvoted 0 times
...
Wei
6 months ago
C is not serverless, why even mention it?
upvoted 0 times
...
Dexter
7 months ago
Wait, can you really use Lambda versions with CloudFormation?
upvoted 0 times
...
Tori
7 months ago
I agree, B is definitely the way to go!
upvoted 0 times
...
Linsey
7 months ago
B seems like the best option for canary releases.
upvoted 0 times
...
Moon
7 months ago
I vaguely remember something about blue/green deployments with Elastic Beanstalk, but I thought that was more for EC2 instances, not serverless.
upvoted 0 times
...
Stanford
7 months ago
I feel like using AWS CDK could be a good approach, but I can't recall if it supports canary releases effectively.
upvoted 0 times
...
Latrice
8 months ago
I think option B sounds familiar because it mentions Lambda function versions, which we practiced in our labs.
upvoted 0 times
...
Ronnie
8 months ago
I remember we discussed canary releases in class, but I'm not sure if Route 53 is the best choice for that.
upvoted 0 times
...
Jonell
8 months ago
I'm leaning towards option C with Elastic Beanstalk and a blue/green deployment. That seems like the simplest way to gradually shift traffic and test new features.
upvoted 0 times
...
Colby
8 months ago
Option A using AWS CDK and a Route 53 failover policy sounds like a good approach to me. The ability to do canary releases is an important requirement.
upvoted 0 times
...
Kirby
8 months ago
I'm a bit confused by the different deployment options here. I'll need to review the details of each one to decide which one best meets the requirements.
upvoted 0 times
...
Tamar
8 months ago
This seems like a straightforward question about serverless deployment strategies. I think option B using CloudFormation and Lambda function versions is the way to go.
upvoted 0 times
...
Malinda
1 year ago
Wait, so we're migrating a web app to serverless? I hope they're not trying to 'lift and shift' the whole thing. That's going to be a wild ride!
upvoted 0 times
...
Alica
1 year ago
OpsWorks, huh? I haven't used that in a while. Separating the API Gateway and Lambda functions into different layers could get messy.
upvoted 0 times
...
Makeda
1 year ago
Elastic Beanstalk's blue/green deployment sounds like a nice way to shift traffic gradually. That could work well for the serverless app.
upvoted 0 times
Trina
12 months ago
C: Promoting the new version after testing with a canary release strategy using AWS CloudFormation sounds like a solid plan.
upvoted 0 times
...
Glory
12 months ago
B: I think using AWS CDK with a Route 53 failover routing policy for canary release strategy could also be effective.
upvoted 0 times
...
Brigette
1 year ago
A: I agree, Elastic Beanstalk's blue/green deployment is a good option for gradual traffic shifting.
upvoted 0 times
...
...
Kayleigh
1 year ago
I think the CloudFormation approach with Lambda function versions is a good fit. Updating the stack and promoting the new version seems straightforward.
upvoted 0 times
Marnie
1 year ago
A: Plus, it allows for gradual traffic shifting to ensure a smooth transition for users.
upvoted 0 times
...
Denny
1 year ago
B: It definitely simplifies the process of updating the stack and promoting new versions when testing is complete.
upvoted 0 times
...
Niesha
1 year ago
A: I agree, using CloudFormation with Lambda function versions for canary release strategy sounds like a solid plan.
upvoted 0 times
...
...
Laura
1 year ago
The AWS CDK option sounds interesting, but using a Route 53 failover policy might be overkill for a canary release strategy.
upvoted 0 times
Kirby
12 months ago
D: Yeah, CloudFormation and canary release sound like a good fit for testing new features.
upvoted 0 times
...
Sharen
1 year ago
C: Option B seems more straightforward with CloudFormation and canary release strategy.
upvoted 0 times
...
Leah
1 year ago
B: I agree, but I think using Route 53 failover for canary release might be too complex.
upvoted 0 times
...
Casey
1 year ago
A: I think option A with AWS CDK is a good choice.
upvoted 0 times
...
...
Veronica
1 year ago
I'm not sure, I think option B could also work well with the canary release strategy. It's important to consider all options before making a decision.
upvoted 0 times
...
Theodora
1 year ago
I agree with Rodrigo. Option A seems to be the most flexible and efficient deployment strategy for the company's needs.
upvoted 0 times
...
Rodrigo
1 year ago
I think option A is the best choice because it allows for canary releases and updating the CloudFormation stack easily.
upvoted 0 times
...

Save Cancel