SDLC Automation

A team must verify that a service starts successfully on an instance launched from the AMI produced by EC2 Image Builder, rather than only on the original build instance. Where should the team place this check?

Show the answer

Correct answerB. In the test phase of a test component

AWhy not this: The validate phase checks the build instance before the resulting image is created.

BWhy this is right: The test phase runs checks against an instance launched from the newly created image.

CWhy not this: Distribution configuration controls image delivery, not service checks on a launched test instance.

DWhy not this: Infrastructure configuration defines build resources and networking rather than executable service checks.

Image Builder runs the test stage against an instance launched from the created image, verifying the resulting AMI. A build component's validate phase checks the build instance before image creation and does not establish that a fresh launch works.