Which mapping of AWS CI/CD services to their jobs is correct?
A.CodePipeline builds code; CodeBuild deploys it
Roles are reversed.
B.CodeCommit = source repo, CodeBuild = build/test, CodeDeploy = deploy, CodePipeline = orchestration
Correct — each service does exactly one job in the pipeline.
C.CodeDeploy compiles artifacts; CodeBuild pushes to production
Build compiles; Deploy deploys.
D.CodeCommit deploys applications
CodeCommit is the repository only.
Why this answer
The pipeline maps 1:1 to a CI/CD lifecycle: CodeCommit (Git source) → CodeBuild (compile/test/package) → CodeDeploy (deployment to EC2/Lambda/ECS) → CodePipeline (orchestrates stages/actions). Swapping their roles is the standard distractor.
Correct answer: B · Last reviewed 2026-10-27
Official AWS references
Practice this interactively
Answer without seeing the solution first in the CI/CD & Observability practice session.
Practice CI/CD & Observability