nerdexam
Amazon

DOP-C02 · Question #291

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 a

The correct answer is A. Add a deploy stage to the pipeline. Configure Amazon ECS as the action provider. D. Update the image build pipeline stage to output an imagedefinitions.json file that references the E. Create an AWS Lambda function that runs connectivity checks and API calls against the service.. https://docs.aws.amazon.com/codepipeline/latest/userguide/ecs-cd-pipeline.html

Submitted by tyler.j· Mar 6, 2026SDLC Automation

Question

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.)

Options

  • AAdd a deploy stage to the pipeline. Configure Amazon ECS as the action provider.
  • BAdd a deploy stage to the pipeline. Configure AWS CodeDeploy as the action provider.
  • CAdd an appspec.yml file to the CodeCommit repository.
  • DUpdate the image build pipeline stage to output an imagedefinitions.json file that references the
  • ECreate an AWS Lambda function that runs connectivity checks and API calls against the service.
  • FWrite a script that runs integration tests against the service. Upload the script to an Amazon S3

How the community answered

(37 responses)
  • A
    49% (18)
  • B
    16% (6)
  • C
    8% (3)
  • F
    27% (10)

Explanation

https://docs.aws.amazon.com/codepipeline/latest/userguide/ecs-cd-pipeline.html

Topics

#CodePipeline#ECS deployment#integration testing#AWS Lambda

Community Discussion

No community discussion yet for this question.

Full DOP-C02 Practice