nerdexam
Amazon

DOP-C02 · Question #169

A company is using AWS Organizations to create separate AWS accounts for each of its departments. The company needs to automate the following tasks: - Update the Linux AMIs with new patches…

The correct answer is B. Use Amazon EC2 Image Builder to create an image pipeline that consists of the base Linux AMI. https://docs.aws.amazon.com/imagebuilder/latest/userguide/manage-shared- resources.html#manage-shared-resources-using

Submitted by yousef_jo· Mar 6, 2026Configuration Management & Infrastructure as Code

Question

A company is using AWS Organizations to create separate AWS accounts for each of its departments. The company needs to automate the following tasks:

  • Update the Linux AMIs with new patches periodically and generate a

golden image

  • Install a new version of Chef agents in the golden image, if

available

  • Provide the newly generated AMIs to the department's accounts

Which solution meets these requirements with the LEAST management overhead?

Options

  • AWrite a script to launch an Amazon EC2 instance from the previous golden image. Apply the
  • BUse Amazon EC2 Image Builder to create an image pipeline that consists of the base Linux AMI
  • CUse an AWS Systems Manager Automation runbook to update the Linux AMI by using the
  • DUse Amazon EC2 Image Builder to create an image pipeline that consists of the base Linux AMI

How the community answered

(18 responses)
  • A
    6% (1)
  • B
    72% (13)
  • C
    6% (1)
  • D
    17% (3)

Explanation

https://docs.aws.amazon.com/imagebuilder/latest/userguide/manage-shared- resources.html#manage-shared-resources-using

Topics

#AMI Management#Golden Images#EC2 Image Builder#Multi-Account

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice