Create the us-east-1 artifact store bucket for CodePipeline and add a deploy action using the us-east-1 template artifact
Short answer
CE Create the us-east-1 artifact store bucket for CodePipeline and add a deploy action using the us-east-1 artifact.
Question
Key Takeaways
A CloudFormation deploy action resolves its template from the pipeline's artifacts, so pointing a new us-east-1 deploy action at the us-east-1 artifact selects the Region-appropriate template (E). That artifact has to live somewhere, which requires an S3 bucket in us-east-1 whose bucket policy grants CodePipeline read and write access, since CodePipeline accesses the artifact store directly with its service role rather than through the pipeline's own credentials (C). Parameterizing the Lambda code location and overriding a parameter (A) does not address where the cross-Region template comes from, and option D's cross-Region replication duplicates build output the pipeline already produces per Region.
The pipeline already produces an additional artifact for us-east-1, so the Region-specific work is the artifact store and the deploy action. Creating an Amazon S3 bucket in us-east-1 and granting CodePipeline read and write access to it provides the artifact store the pipeline needs in that Region. Adding that bucket to the pipeline as an artifact store and creating a CloudFormation deploy action for us-east-1 that uses the CloudFormation template from the us-east-1 artifact then deploys the Lambda function there.
Common mistake: Parameterizing the template for the Lambda .zip location and adding a deploy action with a parameter override (A) — eugene2owl identified that merely overriding a code-location parameter is not enough, because the us-east-1 action needs its own CloudFormation template artifact rather than a passed-in code path, and no Region-local artifact store is provided. Using S3 Cross-Region Replication from the eu-west-1 bucket to a new us-east-1 bucket (D) — replication copies build output, but the pipeline already creates a Region-specific artifact and cross-Region replication adds latency and cost without supplying the template artifact the deploy action consumes. Selecting only E omits the bucket creation and access policy that the artifact store requires.
Expert Analysis
Why the Answer Is Correct
The pipeline has already been updated to produce an additional artifact for us-east-1, so two things remain. First, the pipeline needs an artifact store in that Region: creating an S3 bucket in us-east-1 and configuring its bucket policy to allow CodePipeline read and write access gives the pipeline somewhere to place and retrieve the us-east-1 artifact, which CodePipeline accesses with its service role (C). Second, adding that bucket to the pipeline as an artifact store and creating a new CloudFormation deploy action for us-east-1 configured to use the CloudFormation template from the us-east-1 artifact makes the deploy action resolve the correct Region-appropriate template and deploy the Lambda function there (E). C and E together complete the multi-Region deployment with no custom code.
Why the Other Options Are Wrong
A modifies the CloudFormation template to accept the Lambda.zip location as a parameter and adds a deploy action passing that location as a parameter override. As eugene2owl explained, this is not sufficient: the cross-Region CloudFormation action still needs a template appropriate for that Region, and substituting a code location parameter does not address where the template itself comes from, nor does it create the Region-local artifact store the pipeline requires. B creates a us-east-1 deploy action using the template from the additional artifact, which addresses only the template source and leaves the pipeline without an artifact store in us-east-1, so the artifact the action consumes has nowhere to live. D replicates the eu-west-1 build bucket into us-east-1, which copies build output that the pipeline already produces per Region, introduces replication lag, and does not create the Region-specific template artifact or a pipeline artifact store. Selecting E alone omits the bucket and its CodePipeline access policy, which is the C requirement. C and E are the correct combination.
Community Comment Notes
Community voted C,E (89), with only two votes elsewhere. Commenters noted the question already states the pipeline was updated to create the additional artifact, so what remains is the Region-local artifact store bucket and the deploy action that consumes it. eugene2owl specifically ruled out A on the grounds that a parameter override is not a substitute for a Region-appropriate template artifact. asimohat favored B alone, which supplies the template source but omits the artifact store bucket entirely.
Official Reference
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/what-is-cfsnstacksets.html
This link opens the official vendor documentation in a new tab.
Community Votes
100% of anonymous learners picked answer CE. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 5 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 5
-
eugene2owl 👍 3Correct ansers "C" and "E". "A" is wrong for sure, because it's not enough to simply bypass a new Lambda code location as a parameter of existing CloudFormation Template: you need NOT only another Lambda code location, but also another region, another VPC id, etc. So you need to have a second dedicated separate template.
-
asimohat 👍 1The question states “The pipeline has already been updated to create additional deliverables to deploy to us-east-1. Option B simply adds a deploy action in a way that leverages this existing update.
-
Srikantha 👍 1Question says pipeline already modified to create the artifact in us-east-1
-
gunjan229 👍 2Correct Answer C, E
-
tubtab 👍 2Correct
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All DOP-C02 Questions
Access 85 questions with complete answers and detailed explanations.
View Full DOP-C02 Practice Test →