DVA-C02 · Question #122
A company has a web application that runs on Amazon EC2 instances with a custom Amazon Machine Image (AMI). The company uses AWS CloudFormation to provision the application. The application runs in…
The correct answer is B. Copy the custom AMI from us-east-1 to us-west-1. Update the AWS CloudFormation template for. This will allow the company to deploy the application to the us-west-1 Region using the same custom AMI that is used in the us-east-1 Region.
Question
A company has a web application that runs on Amazon EC2 instances with a custom Amazon Machine Image (AMI). The company uses AWS CloudFormation to provision the application. The application runs in the us-east-1 Region, and the company needs to deploy the application to the us-west-1 Region. An attempt to create the AWS CloudFormation stack in us-west-1 fails. An error message states that the AMI ID does not exist. A developer must resolve this error with a solution that uses the least amount of operational overhead. Which solution meets these requirements?
Options
- AChange the AWS CloudFormation templates for us-east-1 and us-west-1 to use an AWS AMI.
- BCopy the custom AMI from us-east-1 to us-west-1. Update the AWS CloudFormation template for
- CBuild the custom AMI in us-west-1. Create a new AWS CloudFormation template to launch the
- DManually deploy the application outside AWS CloudFormation in us-west-1.
How the community answered
(26 responses)- A8% (2)
- B73% (19)
- C15% (4)
- D4% (1)
Explanation
This will allow the company to deploy the application to the us-west-1 Region using the same custom AMI that is used in the us-east-1 Region.
Community Discussion
No community discussion yet for this question.