Multiple Choice
A company is using several AWS CloudFormation templates for deploying infrastructure as code. In most of the deployments, the company uses Amazon EC2 Auto Scaling groups. A DevOps Engineer needs to update the AMIs for the Auto Scaling group in the template if newer AMIs are available. How can these requirements be met?
A) Manage the AMI mappings in the CloudFormation template. Use Amazon CloudWatch Events for detecting new AMIs and updating the mapping in the template. Reference the map in the launch configuration resource block.
B) Use conditions in the AWS CloudFormation template to check if new AMIs are available and return the AMI ID. Reference the returned AMI ID in the launch configuration resource block.
C) Use an AWS Lambda-backed custom resource in the template to fetch the AMI IDs. Reference the returned AMI ID in the launch configuration resource block.
D) Launch an Amazon EC2 m4.small instance and run a script on it to check for new AMIs. If new AMIs are available, the script should update the launch configuration resource block with the new AMI ID.
Correct Answer:

Verified
Correct Answer:
Verified
Q533: You need to run a very large
Q534: Which of the following are not valid
Q535: A company is using AWS CodeCommit as
Q536: A DevOps Engineer has several legacy applications
Q537: Your company has multiple applications running on
Q539: When thinking of DynamoDB, what are true
Q540: There are a number of ways to
Q541: A company indexes all of its Amazon
Q542: A development team manages website deployments using
Q543: Your social media marketing application has a