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 Exam DOP-C02 Topic 4 Question 23 Discussion

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

A DevOps engineer manages a web application that runs on Amazon EC2 instances behind an Application Load Balancer (ALB). The instances run in an EC2 Auto Scaling group across multiple Availability Zones. The engineer needs to implement a deployment strategy that:

Launches a second fleet of instances with the same capacity as the original fleet.

Maintains the original fleet unchanged while the second fleet is launched.

Transitions traffic to the second fleet when the second fleet is fully deployed.

Terminates the original fleet automatically 1 hour after transition.

Which solution will satisfy these requirements?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Alyce
12 days ago
Option D, eh? Ah, the good old 'set it and forget it' approach. I wonder if the Elastic Beanstalk fairy will just wave her magic wand and make it all work out in the end.
upvoted 0 times
...
Martina
14 days ago
Option A, huh? Sounds like the DevOps engineer is just winging it and hoping the ALB doesn't pull a disappearing act. Maybe they can summon the AWS gods to keep it alive for that one magical hour.
upvoted 0 times
...
Elliot
18 days ago
Hold up, Option A with CloudFormation and Route 53 updates? That's like trying to fix a leaky faucet with duct tape and a prayer. Not my cup of tea.
upvoted 0 times
...
Lashawn
26 days ago
Hmm, Option D with Elastic Beanstalk and the immutable deployment seems interesting. Setting the deletion policy on the ALB is a clever way to handle the termination requirement.
upvoted 0 times
Dorthy
20 days ago
Option D with Elastic Beanstalk and the immutable deployment sounds like a solid choice.
upvoted 0 times
...
...
Jina
1 months ago
I'm not sure about the other options, but Option C with CodeDeploy and the blue/green configuration sounds pretty solid. Terminating the original instances after 1 hour is a nice touch.
upvoted 0 times
Ressie
19 days ago
The waiting period of 1 hour before terminating the original instances provides a safety net in case of any issues with the new fleet.
upvoted 0 times
...
Kimbery
20 days ago
Yeah, using a blue/green deployment strategy with CodeDeploy makes the transition smooth and automated.
upvoted 0 times
...
Son
24 days ago
I agree, Option C with CodeDeploy seems like the best choice for this scenario.
upvoted 0 times
...
...
Oliva
1 months ago
Option B looks like the perfect solution to me. Using Elastic Beanstalk environments for blue/green deployment and a lifecycle policy to handle the original environment termination - that's exactly what the question asks for.
upvoted 0 times
Jovita
8 days ago
I agree, using Elastic Beanstalk for blue/green deployment is a good choice.
upvoted 0 times
...
Verdell
9 days ago
Option B looks like the perfect solution to me.
upvoted 0 times
...
...
Noah
2 months ago
I'm not sure, I think option B could also work. Using Elastic Beanstalk for blue/green deployment with a lifecycle policy to terminate the original environment after 1 hour could be a good approach.
upvoted 0 times
...
Nickole
2 months ago
I agree with Bok. Option C seems like the most efficient way to handle the deployment strategy while ensuring the original fleet is terminated after the transition.
upvoted 0 times
...
Bok
2 months ago
I think option C is the best solution. Using AWS CodeDeploy with blue/green deployment will allow for a smooth transition and automatic termination of the original fleet after 1 hour.
upvoted 0 times
...
Josefa
2 months ago
I'm not sure, I think option B could also work well with Elastic Beanstalk. It offers a blue/green deployment strategy which could be beneficial in this scenario.
upvoted 0 times
...
Christene
2 months ago
I agree with Ira. CodeDeploy seems like the most efficient way to handle the deployment and transition process.
upvoted 0 times
...
Ira
2 months ago
I think option C is the best solution. CodeDeploy allows for a smooth transition and automatic termination of the original fleet after 1 hour.
upvoted 0 times
...

Save Cancel