QuestionQ45

VerifiedSDLC Automation

A company has an AWS CodePipeline pipeline configured with an Amazon S3 bucket in the eu-west-1 Region. The pipeline deploys an AWS Lambda application to that same Region. It includes an AWS CodeBuild project build action and an AWS CloudFormation deploy action.

The CodeBuild project uses the aws cloudformation package AWS CLI command to create an artifact containing the Lambda function code .zip file and the CloudFormation template. The CloudFormation deploy action refers to the CloudFormation template in the output artifact from the CodeBuild project’s build action.

The company wants to deploy the Lambda application to the us-east-1 Region as well, using the pipeline in eu-west-1. A DevOps engineer has already updated the CodeBuild project to use the aws cloudformation package command to generate an additional output artifact for us-east-1.

Which combination of additional steps should the DevOps engineer take to meet these requirements?

Choose two
Explanation

CodePipeline requires an S3 artifact store in the pipeline Region and in each Region where it executes a cross-Region action. A us-east-1 bucket must therefore be created and configured for CodePipeline access, and the pipeline must include it as the us-east-1 artifact store. The CloudFormation deploy action in us-east-1 should use the us-east-1 packaged output artifact. CodePipeline handles copying artifacts between its configured regional artifact stores, so S3 Cross-Region Replication is not required.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!