DOP-C02 · Question #57
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…
The correct answer is C. Create an S3 bucket in us-east-1. Configure the S3 bucket policy to allow CodePipeline to have E. Modify the pipeline to include the S3 bucket for us-east-1 as an artifact store. Create a new. You need S# bucket in the new region so C. You need to output artifacts to this new bucket so E. https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-cross-region.html
Question
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.)
Options
- AModify the CloudFormation template to include a parameter for the Lambda function code's zip
- BCreate a new CloudFormation deploy action for us-east-1 in the pipeline. Configure the new
- CCreate an S3 bucket in us-east-1. Configure the S3 bucket policy to allow CodePipeline to have
- DCreate an S3 bucket in us-east-1. Configure S3 Cross-Region Replication (CRR) from the S3
- EModify the pipeline to include the S3 bucket for us-east-1 as an artifact store. Create a new
How the community answered
(24 responses)- A21% (5)
- B8% (2)
- C63% (15)
- D8% (2)
Explanation
You need S# bucket in the new region so C. You need to output artifacts to this new bucket so E. https://docs.aws.amazon.com/codepipeline/latest/userguide/actions-create-cross-region.html
Topics
Community Discussion
No community discussion yet for this question.