Question 10
During a production change review at a healthcare software provider, the DevOps team discovers that a cross-account release succeeds in staging but production cannot decrypt the artifact with its KMS permissions. The affected workload supports patient scheduling and record access; downtime and integrity failures can affect clinical service delivery. Which automation approach BEST satisfies this operational requirement?
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 cross-account release succeeds in staging but production cannot decrypt the artifact with its KMS permissions. 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
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. 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.
Add representative automated acceptance and performance tests to a controlled preproduction pipeline gate with pass/fail thresholds tied to service objectives. The configuration must instead establish cross-account CodePipeline deployments.