Question 1
During a high-traffic holiday release at an e-commerce company, the DevOps team discovers that a centralized pipeline in the tooling account cannot deploy to the production account because its deploy role is not trusted. The affected workload supports checkout and order history; a sudden traffic spike can directly affect purchase completion. Which change MOST DIRECTLY addresses the observed failure while preserving a repeatable deployment or operations process?
Explanation
Correct Answer
Correct. Use a pipeline with delegated cross-account IAM roles and an artifact store whose encryption keys permit the destination account to retrieve approved artifacts. The reported condition is that a centralized pipeline in the tooling account cannot deploy to the production account because its deploy role is not trusted. The design addresses the corresponding exposure: A deployment can fail or require insecure permanent credentials when the target account cannot read artifacts or assume the approved deployment role. Its effectiveness must be demonstrated by this result: An isolated target-account pipeline execution successfully assumes the approved role, retrieves the artifact and deploys without long-lived shared keys.
Incorrect Answers
Configure source integration and revision-specific event triggers so the pipeline deploys the exact approved commit and records its immutable revision identifier. It changes a different feature than cross-account CodePipeline deployments.
Run automated tests in CodeBuild before any production deployment action, and fail the pipeline when required unit or integration checks fail. That change would not implement cross-account CodePipeline deployments.
Inject short-lived or managed application build secrets from Secrets Manager or Systems Manager Parameter Store with narrowly scoped build-role permissions rather than embedding them in repository files or logs. The configuration must instead establish cross-account CodePipeline deployments.