DVA-C02 · Question #675
DVA-C02 Question #675: Real Exam Question with Answer & Explanation
The correct answer is B: Create a prebuilt Amazon Machine Image (AMI) with the application installed and configured.. Creating a prebuilt AMI with the application installed and configured reduces the launch time since the instance starts with the application ready. Updating the launch template in the CloudFormation template ensures that new instances launched by the Auto Scaling group use this o
Question
A company is running a custom web application on Amazon EC2 instances behind an Application Load Balancer. The instances run in an Auto Scaling group. The company's development team is using AWS CloudFormation to deploy all the services. The application is time-consuming to install and configure when the development team launches a new instance. Which combination of steps should a developer take to optimize the performance when a new instance is launched? (Choose two.)
Options
- AUse an AWS Marketplace Amazon Machine Image (AMI) with a prebuilt application.
- BCreate a prebuilt Amazon Machine Image (AMI) with the application installed and configured.
- CUpdate the launch template resource in the CloudFormation template.
- DUse AWS Systems Manager Run Command to install and configure the application.
- EUse CloudFormation helper scripts to install and configure the application.
Explanation
Creating a prebuilt AMI with the application installed and configured reduces the launch time since the instance starts with the application ready. Updating the launch template in the CloudFormation template ensures that new instances launched by the Auto Scaling group use this optimized AMI.
Community Discussion
No community discussion yet for this question.