AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 9

A company has an AWS CodePipeline pipeline that is configured with an Amazon S3 bucket in the eu-west-1 Region. The pipeline deploys an AWS Lambda application to the same Region. The pipeline consists of an AWS CodeBuild project build action and an AWS CloudFormation deploy action.
The CodeBuild project uses the aws cloudformation package AWS CLI command to build an artifact that contains the Lambda function code’s .zip file and the CloudFormation template. The CloudFormation deploy action references the CloudFormation template from the output artifact of the CodeBuild project’s build action.
The company wants to also deploy the Lambda application to the us-east-1 Region by using the pipeline in eu-west-1. A DevOps engineer has already updated the CodeBuild project to use the aws cloudformation package command to produce an additional output artifact for us-east-1.
Which combination of additional steps should the DevOps engineer take to meet these requirements? (Choose two.)

Answer options

Correct answer: C, E

Explanation

The correct steps involve creating an S3 bucket in us-east-1 and modifying the pipeline to use this bucket as an artifact store. Option C is necessary to allow CodePipeline access to the newly created bucket, while option E ensures that the pipeline can use the correct CloudFormation template for deployment. The other options either do not address the requirement or introduce unnecessary complexity.