Nutanix Certified Professional – Multicloud Automation (NCP-MCA) — Question 15

A blueprint was developed for deploying a standard 3-tier hosting environment for a company's applications. The blueprint includes a load balancer, multiple web servers, a database server, and a small test application.
During testing of the blueprint, the application fails to connect to the database. The cause is found to be the database software is still installing when the application starts.
Which method most efficiently prevents the application from starting before the database?

Answer options

Correct answer: C

Explanation

The correct answer is C, as creating a service dependency ensures that the application will only start after the database service is fully operational. Options A and D do not directly address the issue of service readiness, while option B may lead to unnecessary retries without guaranteeing the database will be ready.