exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 276 discussion

A DevOps engineer needs to implement integration tests into an existing AWS CodePipeline CI/CD workflow for an Amazon Elastic Container Service (Amazon ECS) service. The CI/CD workflow retrieves new application code from an AWS CodeCommit repository and builds a container image. The Cl/CD workflow then uploads the container image to Amazon Elastic Container Registry (Amazon ECR) with a new image tag version.

The integration tests must ensure that new versions of the service endpoint are reachable and that various API methods return successful response data. The DevOps engineer has already created an ECS cluster to test the service.

Which combination of steps will meet these requirements with the LEAST management overhead? (Choose three.)

  • A. Add a deploy stage to the pipeline. Configure Amazon ECS as the action provider.
  • B. Add a deploy stage to the pipeline. Configure AWS CodeDeploy as the action provider.
  • C. Add an appspec.yml file to the CodeCommit repository.
  • D. Update the image build pipeline stage to output an imagedefinitions.json file that references the new image tag.
  • E. Create an AWS Lambda function that runs connectivity checks and API calls against the service. Integrate the Lambda function with CodePipeline by using a Lambda action stage.
  • F. Write a script that runs integration tests against the service. Upload the script to an Amazon S3 bucket. Integrate the script in the S3 bucket with CodePipeline by using an S3 action stage.
Show Suggested Answer Hide Answer
Suggested Answer: ADE 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
xdkonorek2
Highly Voted 9 months, 3 weeks ago
Selected Answer: ADE
ADE https://docs.aws.amazon.com/codepipeline/latest/userguide/ecs-cd-pipeline.html
upvoted 7 times
...
youonebe
Most Recent 4 months ago
Selected Answer: ADE
ADE for sure
upvoted 2 times
...
jamesf
8 months, 3 weeks ago
Selected Answer: ADE
keywords: LEAST management overhead A. Add a deploy stage to the pipeline. Configure Amazon ECS as the action provider. - Directly deploys the container image to ECS, ensuring the service is updated with the latest code without unnecessary complexity. D. Update the image build pipeline stage to output an image definitions.json file that references the new image tag. - Necessary for ECS to recognize and deploy the new image version, facilitating automated updates. E. Create an AWS Lambda function that runs connectivity checks and API calls against the service. Integrate the Lambda function with CodePipeline by using a Lambda action stage. - Provides a low-management solution for running integration tests, leveraging AWS Lambda's serverless capabilities.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago