Multiple Choice
A company's application is running on Amazon EC2 instances in an Auto Scaling group. A DevOps engineer needs to ensure there are at least four application servers running at all times. Whenever an update has to be made to the application, the engineer creates a new AMI with the updated configuration and updates the AWS CloudFormation template with the new AMI ID. After the stack finishes, the engineer manually terminates the old instances one by one, verifying that the new instance is operational before proceeding. The engineer needs to automate this process. Which action will allow for the LEAST number of manual steps moving forward?
A) Update the CloudFormation template to include the UpdatePolicy attribute with the AutoScalingRollingUpdate policy.
B) Update the CloudFormation template to include the UpdatePolicy attribute with the AutoScalingReplacingUpdate policy.
C) Use an Auto Scaling lifecycle hook to verify that the previous instance is operational before allowing the DevOps engineer's selected instance to terminate.
D) Use an Auto Scaling lifecycle hook to confirm there are at least four running instances before allowing the DevOps engineer's selected instance to terminate.
Correct Answer:

Verified
Correct Answer:
Verified
Q587: For AWS Auto Scaling, what is the
Q588: A DevOps engineer is scheduling legacy AWS
Q589: An application's users are encountering bugs immediately
Q590: What is the scope of an EC2
Q591: You want to set up the CloudTrail
Q593: Your Company wants to perform A/B testing
Q594: You are administering a continuous integration application
Q595: On which local address does the Docker
Q596: You are building a deployment system on
Q597: After presenting a working proof of concept