‹ All DOP-C02 questions

DOP-C02 Practice Question 43: Image Builder Golden AMI Pipeline

AWS Certified DevOps Engineer – Professional (DOP-C02) · Test 5 · question 3 of 10

Configuration Management and IaCmedium

A platform team builds a hardened golden AMI by hand every month: launch an instance from the latest base image, run configuration scripts, work through a manual test checklist, create the AMI, copy it to three additional Regions, and share it with 12 member accounts. They want this to run on a monthly schedule, want the image published only if an automated test suite passes on an instance launched from it, and want to write and maintain as little custom code as possible.

What should the team implement?

Select one answer
Show answer and explanation

Answer:

  • B. An EC2 Image Builder pipeline with an image recipe containing build and test components, a monthly schedule, and a distribution configuration that copies the AMI to the other Regions and shares it with the accounts

Image Builder is the managed version of this exact workflow: it "helps you to automate the creation, management, and deployment of customized, secure, and up-to-date server images," and a pipeline is configured with a schedule. Build components apply the hardening; test components run during the test stage on an instance launched from the newly created image, and Image Builder "distributes your image only if all of the configured tests have succeeded", which is the publish gate the team wants. The distribution configuration selects the Regions to copy the AMI to and supports "AMI sharing across AWS accounts and Organizations", so the copy and share steps are configuration rather than code.

Option A produces the right artifact but is the custom tooling the team is trying to avoid. Packer templates, a Lambda function for copying and sharing, its IAM role, and the glue between them all have to be written and maintained, and the test gate has to be built by hand.

Option C addresses a narrower problem. AWS-UpdateLinuxAmi applies operating system updates to an AMI; it has no test stage that can block publication, no multi-Region distribution, and no cross-account sharing.

Option D builds a different image in each Region. Four independent builds from the same base image drift from one another, there is still no test gate, and the whole thing rests on a hand-written custom resource, the opposite of "as little custom code as possible".

Reference: What is Image Builder?

Practice Test 5 ›

Study guides for DOP-C02

AWS Service Control Policies Explained: SCPs and DenialsAWS service control policies explained: how SCPs cap permissions, why admins still get access denied, inheritance, deny vs allow lists and the exam traps.
How AI Is Changing Software Jobs: Where to PrepareHow AI is changing software jobs: what history shows, the evidence on junior developers, what Klarna learned, new AI roles and five domains to prepare for.
How AWS Certification Exams Work: Scoring and RenewalHow AWS certification exams work: levels, booking, question types, unscored questions, scaled scores, pass marks, validity and how recertification works.
What Is Amazon RDS? Multi-AZ, Read Replicas and BackupsWhat is Amazon RDS? Engines, Multi-AZ, read replicas, backups, RDS Proxy, Aurora and pricing explained, with the traps that AWS exams set around each one.
Best DevOps certification: AWS, Azure, Google or CKAThe best DevOps certification for your stack: AWS DOP-C02, Azure AZ-400, Google Cloud DevOps Engineer and CKA compared on cost, level and prerequisites.
What Is AWS Lambda? Triggers, Concurrency and Cold StartsWhat is AWS Lambda? How functions run, cold starts, triggers vs event source mappings, concurrency, layers, aliases, pricing and the exam traps.
AWS CloudOps Engineer Associate (SOA-C03) exam guideAWS Certified CloudOps Engineer – Associate (SOA-C03) replaced SysOps Administrator. Format, cost, the five domains, what changed and how to prepare.
Which AWS certification should you get? 2026 roadmapWhich AWS certification to get first, by role and experience, with each exam's status in October 2026, what is changing, and prices in USD and INR.
What Is Amazon EC2? Instances, AMIs, EBS and Auto ScalingAmazon EC2 explained: instances, AMIs, instance types, security groups, EBS, Auto Scaling groups and pricing options, with the traps AWS exams set.
SQS vs SNS vs EventBridge on AWSWhen to use an SQS queue, an SNS topic or an EventBridge bus, plus fan-out, FIFO ordering, visibility timeouts and dead-letter queues for AWS exams.