ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 43 - NCP-MCA discussion

Report
Export

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?

A.
Use a local install instead of downloading
Answers
A.
Use a local install instead of downloading
B.
Create a loop to retry connection
Answers
B.
Create a loop to retry connection
C.
Create a service dependency
Answers
C.
Create a service dependency
D.
Use a sleep statement in a start script
Answers
D.
Use a sleep statement in a start script
Suggested answer: C

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.Reference:Nutanix Multicloud Automation Administration (NMCAA), page 41;Nutanix Certified Professional - Multicloud Automation (NCP-MCA), section 2.

asked 23/09/2024
Kimon Pope
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first