DOP-C02 · Question #342
DOP-C02 Question #342: Real Exam Question with Answer & Explanation
Sign in or unlock DOP-C02 to reveal the answer and full explanation for question #342. The question stem and answer options stay visible for context.
Question
A DevOps engineer uses a pipeline in AWS CodePipeline. The pipeline has a build action and a deploy action for a single-page web application that is delivered to an Amazon S3 bucket. Amazon CloudFront serves the web application. The build action creates an artifact for the web application. The DevOps engineer has created an AWS CloudFormation template that defines the S3 bucket and configures the S3 bucket to host the application. The DevOps engineer has configured a CloudFormation deploy action before the S3 action. The CloudFormation deploy action creates the S3 bucket. The DevOps engineer needs to configure the S3 deploy action to use the S3 bucket from the CloudFormation template. Which combination of steps will meet these requirements? (Choose two.)
Options
- AAdd an output named BucketName to the CloudFormation template. Set the output's value to
- BAdd an output named BucketName to the CloudFormation template. Set the output's value to
- CConfigure the output artifacts of the CloudFormation action in the pipeline to be an AWS Systems
- DConfigure the build artifact from the build action as the input to the CodePipeline S3 deploy
- EConfigure the build artifact from the build action and the AWS Systems Manager parameter as
Unlock DOP-C02 to see the answer
You've previewed enough free DOP-C02 questions. Unlock DOP-C02 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.