exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 897 discussion

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

A company's application infrastructure was deployed using AWS CloudFormation and is composed of Amazon EC2 instances behind an Application Load
Balancer. The instances run in an EC2 Auto Scaling group across multiple Availability Zones. When releasing a new version of the application, the update deployment must avoid DNS changes and allow rollback.
Which solution should a SysOps administrator use to meet the deployment requirements for this new release?

  • A. Configure the Auto Scaling group to use lifecycle hooks. Deploy new instances with the new application version. Complete the lifecycle hook action once healthy.
  • B. Create a new Amazon Machine Image (AMI) containing the updated code. Create a launch configuration with the AMI. Update the Auto Scaling group to use the new launch configuration.
  • C. Deploy a second CloudFormation stack. Wait for the application to be available. Cut over to the new Application Load Balancer.
  • D. Modify the CloudFormation template to use an AutoScalingReplacingUpdate policy. Update the stack. Perform a second update with the new release.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
gulu73
8 months, 4 weeks ago
Selected Answer: D
D is the answer
upvoted 1 times
...
Reilgh
2 years, 1 month ago
Ill go with D https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html
upvoted 2 times
...
Rijndael
2 years, 1 month ago
ill go with D https://aws.amazon.com/premiumsupport/knowledge-center/auto-scaling-group-rolling-updates/ "You can use the AutoScalingReplacingUpdate policy to immediately roll back the stack without failure." Lifecycle Hooks doesnt seem to talk about Rollback anywhere
upvoted 2 times
...
binhdt2611
2 years, 1 month ago
I think is D https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-updatepolicy.html
upvoted 2 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