New Year Sale 2026! 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

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
3 months ago
OpsWorks? Really? That feels outdated for this scenario.
upvoted 0 times
...
Wei
3 months ago
C is not serverless, why even mention it?
upvoted 0 times
...
Dexter
3 months ago
Wait, can you really use Lambda versions with CloudFormation?
upvoted 0 times
...
Tori
4 months ago
I agree, B is definitely the way to go!
upvoted 0 times
...
Linsey
4 months ago
B seems like the best option for canary releases.
upvoted 0 times
...
Moon
4 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
4 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
4 months ago
I think option B sounds familiar because it mentions Lambda function versions, which we practiced in our labs.
upvoted 0 times
...
Ronnie
5 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
5 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
5 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
5 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
5 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
10 months 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
10 months 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
10 months 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
9 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
9 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
9 months ago
A: I agree, Elastic Beanstalk's blue/green deployment is a good option for gradual traffic shifting.
upvoted 0 times
...
...
Kayleigh
10 months 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
9 months ago
A: Plus, it allows for gradual traffic shifting to ensure a smooth transition for users.
upvoted 0 times
...
Denny
9 months ago
B: It definitely simplifies the process of updating the stack and promoting new versions when testing is complete.
upvoted 0 times
...
Niesha
10 months ago
A: I agree, using CloudFormation with Lambda function versions for canary release strategy sounds like a solid plan.
upvoted 0 times
...
...
Laura
10 months 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
8 months ago
D: Yeah, CloudFormation and canary release sound like a good fit for testing new features.
upvoted 0 times
...
Sharen
9 months ago
C: Option B seems more straightforward with CloudFormation and canary release strategy.
upvoted 0 times
...
Leah
9 months ago
B: I agree, but I think using Route 53 failover for canary release might be too complex.
upvoted 0 times
...
Casey
9 months ago
A: I think option A with AWS CDK is a good choice.
upvoted 0 times
...
...
Veronica
11 months 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
11 months 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
11 months 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