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

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?

Answer options

Correct answer: B

Explanation

Option B is the most efficient solution as Amazon EC2 Image Builder automates the process of creating and managing AMIs with minimal manual intervention. Options A and C involve more manual scripting and management tasks, increasing overhead. Option D, while useful, does not directly address the automation and sharing of the AMI in the simplest way compared to option B.