Solved

An Application Running on Amazon EC2 Instances in an Auto

Question 438

Multiple Choice

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 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. Set an AutoScalingRollingUpdate policy in the CloudFormation template to update the stack.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions