nerdexam
Nutanix

NCP-MCA · Question #11

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…

The correct answer is C. Create a service dependency. A service dependency is a feature of Nutanix Calm that allows you to define the order of execution and the conditions for starting and stopping services in a blueprint. By creating a service dependency between the application and the database, you can ensure that the…

Manage Automation Workflows

Question

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?

Options

  • AUse a local install instead of downloading
  • BCreate a loop to retry connection
  • CCreate a service dependency
  • DUse a sleep statement in a start script

How the community answered

(58 responses)
  • A
    10% (6)
  • B
    2% (1)
  • C
    83% (48)
  • D
    5% (3)

Explanation

A service dependency is a feature of Nutanix Calm that allows you to define the order of execution and the conditions for starting and stopping services in a blueprint. By creating a service dependency between the application and the database, you can ensure that the application will not start until the database is fully installed and ready. This avoids the need for manual intervention or inefficient workarounds like loops or sleep statements.

Topics

#service dependencies#deployment ordering#multi-tier blueprint#database startup

Community Discussion

No community discussion yet for this question.

Full NCP-MCA Practice