exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 887 discussion

Exam question from Amazon's AWS-SysOps
Question #: 887
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 AutoScalingRollingUpdate 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
RicardoD
5 months, 4 weeks ago
D is the answer
upvoted 2 times
...
Rijndael
5 months, 4 weeks ago
I'll go with D
upvoted 2 times
...
abhishek_m_86
5 months, 4 weeks ago
D. Set an AutoScalingUpdate policy in the CloudFormation template to update the stack. Seem correct
upvoted 3 times
...
jackdryan
5 months, 4 weeks ago
I'll go with D
upvoted 3 times
...
MFDOOM
5 months, 4 weeks ago
D. Set an AutoScalingUpdate policy in the CloudFormation template to update the stack.
upvoted 2 times
...
gilbertlelancelo
6 months ago
D. https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/updating.stacks.walkthrough.html#update.walkthrough.ami
upvoted 2 times
...
SONLE
6 months ago
I go with D
upvoted 2 times
...
showmetheanswer
6 months ago
Why not A? https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/updating.stacks.walkthrough.html#update.walkthrough.ami
upvoted 1 times
...
waterzhong
6 months, 1 week ago
D : ScalingUpdatePolicy -> The standard procedure is set to max as 1 and Update the AMI in Launch Configuration . Here the question mentioned to maintain minimum instance. Also when you set max ex : 10 then, new Instance will use the Updated AMI.
upvoted 1 times
...
tiffanny
6 months, 1 week ago
D is correct answer. On AutoScaling Update Policy , you can change the launch configuration which include Image ID.
upvoted 2 times
...
guyraws
6 months, 1 week ago
C is not the answer as changing production route 53 can cause disruption.
upvoted 1 times
...
dman
7 months ago
I think the ans is C, ami is an immutable parameter.. hence when we update a stack New instance is created with the new ami, traffic rerouted and once complete ..old resource removed.
upvoted 1 times
karmaah
7 months ago
D : ScalingUpdatePolicy -> The standard procedure is set to max as 1 and Update the AMI in Launch Configuration . Here the question mentioned to maintain minimum instance. Also when you set max ex : 10 then, new Instance will use the Updated AMI.
upvoted 13 times
...
...
white_shadow
7 months, 1 week ago
I would choose C.you can use gradual traffic redirection to the new stack till it is 100% pointing to the new one.
upvoted 1 times
awsnoob
7 months, 1 week ago
Question state minimum amount of Instances... C will spin more instances before waning the instance from the old stack
upvoted 3 times
white_shadow
7 months, 1 week ago
you are right, I was thinking of minimum impact not minimum number of instances. D is correct then.
upvoted 5 times
AWS_Noob
6 months, 3 weeks ago
I thought the same. And Hello awsnoob :)
upvoted 1 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