SAP-C02 · Question #534
SAP-C02 Question #534: Real Exam Question with Answer & Explanation
Sign in or unlock SAP-C02 to reveal the answer and full explanation for question #534. The question stem and answer options stay visible for context.
Question
A company has an application that runs on Amazon EC2 instances in an Amazon EC2 Auto Scaling group. The company uses AWS CodePipeline to deploy the application. The instances that run in the Auto Scaling group are constantly changing because of scaling events. When the company deploys new application code versions, the company installs the AWS CodeDeploy agent on any new target EC2 instances and associates the instances with the CodeDeploy deployment group. The application is set to go live within the next 24 hours. What should a solutions architect recommend to automate the application deployment process with the LEAST amount of operational overhead?
Options
- AConfigure Amazon EventBridge to invoke an AWS Lambda function when a new EC2 instance is
- BWrite a script to suspend Amazon EC2 Auto Scaling operations before the deployment of new
- CCreate a new AWS CodeBuild project that creates a new AMI that contains the new code.
- DCreate a new AMI that has the CodeDeploy agent installed. Configure the Auto Scaling group's
Unlock SAP-C02 to see the answer
You've previewed enough free SAP-C02 questions. Unlock SAP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.