exam questions

Exam AWS DevOps Engineer Professional All Questions

View all questions & answers for the AWS DevOps Engineer Professional exam

Exam AWS DevOps Engineer Professional topic 1 question 104 discussion

Exam question from Amazon's AWS DevOps Engineer Professional
Question #: 104
Topic #: 1
[All AWS DevOps Engineer Professional Questions]

A company has a mission-critical application on AWS that uses automatic scaling. The company wants the deployment lifecycle to meet the following parameters:

• The application must be deployed one instance at a time to ensure the remaining fleet continues to serve traffic.
• The application is CPU intensive and must be closely monitored.
• The deployment must automatically roll back if the CPU utilization of the deployment instance exceeds 85%.

Which solution will meet these requirements?

  • A. Use AWS CloudFormation to create an AWS Step Functions state machine and Auto Scaling lifecycle hooks to move to one instance at a time into a wait state. Use AWS Systems Manager automation to deploy the update to each instance and move it back into the Auto Scaling group using the heartbeat timeout.
  • B. Use AWS CodeDeploy with Amazon EC2 Auto Scaling. Configure an alarm tied to the CPU utilization metric. Use the CodeDeployDefault.OneAtAtime configuration as a deployment strategy. Configure automatic rollbacks within the deployment group to roll back the deployment if the alarm thresholds are breached.
  • C. Use AWS Elastic Beanstalk for load balancing and AWS Auto Scaling. Configure an alarm tied to the CPU utilization metric. Configure rolling deployments with a fixed batch size of one instance. Enable enhanced health to monitor the status of the deployment and roll back based on the alarm previously created.
  • D. Use AWS Systems Manager to perform a blue/green deployment with Amazon EC2 Auto Scaling. Configure an alarm tied to the CPU utilization metric. Deploy updates one at a time. Configure automatic rollbacks within the Auto Scaling group to roll back the deployment if the alarm thresholds are breached.
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
bgc1
2 years, 2 months ago
Selected Answer: B
CodeDeploy One Instance at a time with rollback logic based on cloudwatch events
upvoted 1 times
...
BelloMio
2 years, 2 months ago
It's not C as there is no such thing as roll back based on alarms for Elastic Beanstalk
upvoted 1 times
...
Piccaso
2 years, 2 months ago
Selected Answer: B
C is eliminated, Elastic Beanstalk is not the correct product. A is eliminated, does not mention the CPU limit. D is eliminated, Blue/Green ....
upvoted 2 times
...
Bulti
2 years, 3 months ago
Selected Answer: B
Answer is B
upvoted 1 times
...
Imstack
2 years, 4 months ago
this is B answer
upvoted 1 times
...
quixo
2 years, 5 months ago
B https://www.examtopics.com/discussions/amazon/view/28607-exam-aws-devops-engineer-professional-topic-1-question-176/
upvoted 4 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