SDLC Automation

A team wants one CodeBuild batch build to compile a shared library, then run Linux and Windows validation builds concurrently only if compilation succeeds. Which batch configuration should the team use?

Show the answer

Correct answerA. A build graph with both validation builds depending on the compilation build

AWhy this is right: A build graph expresses dependencies and allows the validation builds to run concurrently after compilation succeeds.

BWhy not this: A build list runs independent builds concurrently without the required compilation dependency.

CWhy not this: Build fanout distributes work across parallel builds rather than defining this dependency graph.

DWhy not this: A build matrix generates combinations of settings rather than expressing dependencies between build tasks.

A build graph supports explicit dependencies, so both validation builds can wait for successful compilation and then run concurrently. A build list runs independent builds in parallel and does not express the required dependency.