AWS Certified DevOps Engineer – Professional — Question 90

A DevOps engineer is creating a CI/CD pipeline for an Amazon ECS service. The ECS container instances run behind an Application Load Balancer as the web tier of a three-tier application. An acceptance criterion for a successful deployment is the verification that the web tier can communicate with the database and middleware tiers of the application upon deployment.

How can this be accomplished in an automated fashion?

Answer options

Correct answer: A

Explanation

Creating a health check endpoint in the web application allows for automated verification of connectivity to the database and middleware tiers, which meets the deployment acceptance criteria. The other options either involve manual approval processes, which are not automated, or focus on metrics and health checks that do not directly test the required connectivity after deployment.