Exams / SOA-C03 / AMIs, Image Builder and container images / Question 1
SOA-C03 practice question: AMIs, Image Builder and container images
Deployment, Provisioning, and Automation A free question from our original SOA-C03 practice exam. Try it, then open the answer to see why each option is right or wrong.
A dental chain launches its practice-management servers from a hardened Amazon Linux AMI. Today an engineer builds the AMI by hand each month, installs the latest patches and the CloudWatch agent, runs a test script, and then copies the AMI to three Regions and shares it with four accounts. Builds are often late and sometimes skip the tests. The chain wants this automated with the LEAST operational overhead. What should a CloudOps engineer do?
Choose one answer.
- AA. Create an EC2 Image Builder pipeline with build and test components, a monthly schedule, and distribution settings for the three Regions and four accounts.
- BB. Write a Lambda function that calls CreateImage on a reference instance every month, then copies and shares the result with each Region and account.
- CC. Use Amazon Data Lifecycle Manager with an AMI policy that creates a new AMI from the reference instance every month and copies it to three Regions.
- DD. Run HashiCorp Packer on a dedicated EC2 build instance with a cron job, and copy the resulting AMI to each Region with an AWS CLI script.
Show the answer and explanation
Answer: A
Explanation
EC2 Image Builder is the managed service for golden image pipelines. Components describe the build and test steps, a schedule runs the pipeline, and distribution settings copy and share the AMI across Regions and accounts. Custom scripts, DLM and self-managed tools can each cover part of the process but leave work for the team.
Study
Keep practicing
Answer questions with a score at the end, or practice just this topic with the explanation after each one. No sign-up needed.