An image pipeline must install specific application packages, apply hardening scripts, and set configuration files during the build. What are these steps defined as in EC2 Image Builder?
Show answer and explanation
Answer: A
Components are the building blocks that define what happens during an image build, expressed as a sequence of steps in a document. Each step can install packages, run scripts, or reboot, and components are versioned so a build can be reproduced.
Recipes assemble components and a base image into a build definition; the components themselves carry the actual work.
Why the other options are wrong
- B. A recipe selects the base image and the ordered list of components, but it is not where the installation steps live.
- C. Distribution settings control which accounts and Regions receive the finished AMI.
- D. Infrastructure configurations define the build instance, subnet, and permissions used to run the pipeline.
Exam tip. Components do the work; recipes assemble them.