SOA-C03 · Question #116
A CloudOps engineer is preparing to deploy an application to Amazon EC2 instances that are in an Auto Scaling group. The application requires dependencies to be installed. Application updates are…
The correct answer is C. Use EC2 Image Builder with a custom recipe to install the application and its dependencies. EC2 Image Builder is a managed service that automates AMI creation on a schedule, including installing dependencies, applying weekly application updates, and running steps such as vulnerability scans as part of the image build pipeline. It provides versioning, automated builds…
Question
A CloudOps engineer is preparing to deploy an application to Amazon EC2 instances that are in an Auto Scaling group. The application requires dependencies to be installed. Application updates are issued weekly. The CloudOps engineer needs to implement a solution to incorporate the application updates on a regular basis. The solution also must conduct a vulnerability scan during Amazon Machine Image (AMI) creation. What is the MOST operationally efficient solution that meets these requirements?
Options
- ACreate a script that uses Packer. Schedule a cron job to run the script.
- BInstall the application and its dependencies on an EC2 instance. Create an AMI of the EC2
- CUse EC2 Image Builder with a custom recipe to install the application and its dependencies.
- DInvoke the EC2 CreateImage API operation by using an Amazon EventBridge scheduled rule.
How the community answered
(23 responses)- A4% (1)
- B9% (2)
- C70% (16)
- D17% (4)
Explanation
EC2 Image Builder is a managed service that automates AMI creation on a schedule, including installing dependencies, applying weekly application updates, and running steps such as vulnerability scans as part of the image build pipeline. It provides versioning, automated builds, and integration with scanners via components, giving a highly automated and operationally efficient solution compared to manual scripts or ad hoc AMI creation.
Topics
Community Discussion
No community discussion yet for this question.