exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 716 discussion

Exam question from Amazon's AWS-SysOps
Question #: 716
Topic #: 1
[All AWS-SysOps Questions]

An application running on Amazon EC2 instances in an Auto Scaling group across multiple Availability Zones was deployed using an AWS CloudFormation template. The SysOps team has patched the Amazon Machine Image (AMI) version and must update all the EC2 instances to use the new AMI.
How can the SysOps Administrator use CloudFormation to apply the new AMI while maintaining a minimum level of active instances to ensure service continuity?

  • A. Run the aws cloudfomation update-stack command with the ג€" rollback-configuration option
  • B. Update the CloudFormation template with the new AMI ID, then reboot the EC2 instances
  • C. Deploy a second CloudFormation stack and use Amazon Route 53 to redirect traffic to the new stack
  • D. Set an AutoScalingUpdate policy in the CloudFormation template to update the stack.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
albert_kuo
9 months, 3 weeks ago
Selected Answer: D
CloudFormation provides an AutoScalingUpdate policy that allows you to control how CloudFormation updates Auto Scaling groups during stack updates. By specifying an AutoScalingUpdate policy in the CloudFormation template, you can define the update behavior for your Auto Scaling group, including how many instances should be replaced at a time. To update the AMI while maintaining service continuity, you can configure the AutoScalingUpdate policy to replace a subset of instances at a time. This ensures that the service remains available by keeping a minimum number of active instances running while new instances with the updated AMI are launched. The Auto Scaling group will gradually replace the instances until all instances are running the new AMI.
upvoted 1 times
...
chewingice
2 years, 7 months ago
D is correct. AutoScalingRollingUpdate policy https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html
upvoted 3 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