nerdexam
AmazonAmazon

DVA-C02 · Question #23

DVA-C02 Question #23: Real Exam Question with Answer & Explanation

The correct answer is A: Use EC2 Image Builder to create an Amazon Machine Image (AMI). Install all the patches and. https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html

Submitted by tyler.j· Mar 5, 2026Troubleshooting and Optimization

Question

An application uses an Amazon EC2 Auto Scaling group. A developer notices that EC2 instances are taking a long time to become available during scale-out events. The UserData script is taking a long time to run. The developer must implement a solution to decrease the time that elapses before an EC2 instance becomes available. The solution must make the most recent version of the application available at all times and must apply all available security updates. The solution also must minimize the number of images that are created. The images must be validated. Which combination of steps should the developer take to meet these requirements? (Choose two.)

Options

  • AUse EC2 Image Builder to create an Amazon Machine Image (AMI). Install all the patches and
  • BUse EC2 Image Builder to create an Amazon Machine Image (AMI). Install the latest version of
  • CSet up AWS CodeDeploy to deploy the most recent version of the application at runtime.
  • DSet up AWS CodePipeline to deploy the most recent version of the application at runtime.
  • ERemove any commands that perform operating system patching from the UserData script.

Explanation

https://docs.aws.amazon.com/codedeploy/latest/userguide/integrations-aws-auto-scaling.html

Community Discussion

No community discussion yet for this question.

Full DVA-C02 PracticeBrowse All DVA-C02 Questions