AWS Certified Cloud Practitioner / Question #835 of 719

Question #835

Which AWS service offers a fully managed solution to automate the building, validation, and distribution of custom Amazon Machine Images (AMIs)?

A

EC2 Image Builder

B

AWS Systems Manager

C

AWS CloudFormation

D

AWS OpsWorks

Explanation

EC2 Image Builder (A) is purpose-built to automate the AMI lifecycle, including installation of software, security patches, and distribution across AWS regions. It simplifies compliance and ensures up-to-date images.

Other options are incorrect because:
- AWS Systems Manager (B): Focuses on operational tasks like patch management and configuration but does not specialize in AMI creation.
- AWS CloudFormation (C): Deploys infrastructure-as-code templates but does not build or manage AMIs directly.
- AWS OpsWorks (D): A configuration management service for Chef/Puppet automation, not AMI creation.

Key Point: EC2 Image Builder is the only service offering end-to-end AMI automation, making it the correct choice.

Answer

The correct answer is: A