AWS Certified DevOps Engineer – Professional (DOP-C02) — Question 252

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

Answer options

Correct answer: A, D, E

Explanation

The correct answer includes options A, D, and E which together minimize management overhead. Option A allows for direct deployment to ECS, option D ensures the new image is properly referenced, and option E utilizes Lambda for testing without needing additional infrastructure. Options B, C, and F introduce unnecessary complexity with AWS CodeDeploy, require an appspec.yml file which is not needed for ECS, and add an S3 action that complicates the workflow.