nerdexam
Nutanix

NCP-MCA · Question #25

NCP-MCA Question #25: Real Exam Question with Answer & Explanation

The correct answer is A. @@{calm.object}(@@. A macro is a placeholder for a value that is resolved at runtime. Macros can be used to reference various Calm objects, such as variables, secrets, credentials, tasks, and services. The correct syntax for using a macro within a Calm blueprint is @@{calm.object}(@@, where calm.obj

Question

What is the correct syntax for using a macro within a Calm blueprint?

Options

  • A@@{calm.object}(@@
  • B%calm.object%
  • C{{calm.object}}
  • D$calm.object$

Explanation

A macro is a placeholder for a value that is resolved at runtime. Macros can be used to reference various Calm objects, such as variables, secrets, credentials, tasks, and services. The correct syntax for using a macro within a Calm blueprint is @@{calm.object}(@@, where calm.object is the name of the object to be referenced. For example, @@{username}(@@ would resolve to the value of the username variable at runtime. The other options are incorrect syntaxes for macros and would not be resolved by Calm.

Community Discussion

No community discussion yet for this question.

Full NCP-MCA Practice