AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 391

A company wants to build a pipeline to update the standard AMI monthly. The AMI must be updated to use the most recent patches to ensure that launched Amazon EC2 instances are up to date. Each new AMI must be available to all AWS accounts in the company's organization in AWS Organizations.

The company needs to configure an automated pipeline to build the AMI.

Which solution will meet these requirements with the MOST operational efficiency?

Answer options

Correct answer: B

Explanation

EC2 Image Builder is a fully managed AWS service purpose-built for automating the creation, maintenance, and distribution of AMIs, making it the most operationally efficient choice. It natively supports monthly scheduling and direct integration with AWS Organizations to share the resulting AMI across all accounts. The other options involve building custom pipelines using AWS CodePipeline, AWS Lambda, or Systems Manager runbooks, which require significantly more development and maintenance effort.