Question 1
Topic: SDLC Automation
Skill tested: Designs staged CodePipeline releases with automated validation and controlled production promotion.
A company deploys a containerized application to Amazon ECS using AWS CodePipeline and CodeBuild. Production releases must use the exact image artifact that passed integration tests in staging; rebuilding the image for production is prohibited. A production deployment must also wait for an operations approval, while failed validation must prevent promotion. Which TWO pipeline changes best meet these requirements? Select TWO.
Building once and promoting the same ECR image, preferably identified by its digest, preserves artifact identity between tested staging and production releases. A second build can produce a different image even from the same source, so it violates the stated constraint. The manual approval action provides an explicit gate before production; a CloudFormation change set can help review infrastructure changes but does not itself replace pipeline approval. Staging tests are important, but the question asks for two changes, and the pipeline's stated validation already must block promotion; the approval and immutable artifact requirements are the two changes selected.