AWS Certified CloudOps Engineer Associate SOA-C03 Practice Question
Your operations team must guarantee that EC2 instances always launch from an Amazon Linux 2 AMI containing the latest security patches and a company-wide hardening script. The image must be rebuilt, tested, and made available to the development account every Monday with no manual steps. Which approach delivers the requirement while minimizing ongoing administrative effort?
Add a cron job to each EC2 instance that performs system updates, executes the hardening script, and then uses the AWS CLI to create and manually share a new AMI every week.
Create an EC2 Image Builder pipeline that starts from an Amazon Linux 2 base image, adds a component containing the hardening script, schedules a weekly build, runs tests, and automatically shares the resulting AMI with the development account.
Schedule a CloudFormation stack to launch a temporary EC2 instance each week, run the hardening script in user data, create an image, and then delete the stack after copying the AMI.
Implement a CodePipeline stage that calls AWS CodeBuild to run Packer templates, invoke Lambda tests, and copy the finished AMI to the development account.
EC2 Image Builder is a fully managed service that automates the build, test, and distribution of AMIs. A pipeline can specify an Amazon Linux 2 base image, add a component that runs the organization's hardening script, execute test phases, and automatically share the resulting AMI with another AWS account. The pipeline can be set to run on a weekly schedule, so no manual orchestration is required. The other options rely on custom scripts, ad-hoc cron jobs, CloudFormation stacks, or a self-maintained Packer and CodeBuild workflow, all of which impose greater operational overhead and maintenance burden.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is EC2 Image Builder, and how does it work?
Open an interactive chat with Bash
What are the benefits of using EC2 Image Builder over manual approaches like cron jobs or EC2 instances?
Open an interactive chat with Bash
How does EC2 Image Builder handle sharing AMIs with other AWS accounts?
Open an interactive chat with Bash
What is EC2 Image Builder?
Open an interactive chat with Bash
What is an AMI and why is it important?
Open an interactive chat with Bash
How does EC2 Image Builder share AMIs with other AWS accounts?
Open an interactive chat with Bash
AWS Certified CloudOps Engineer Associate SOA-C03
Deployment, Provisioning, and Automation
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .