Nutanix Certified Professional – Multicloud Automation (NCP-MCA) — Question 17
Which method will result in unique names per VM when scaling out a Service in a Calm Blueprint?
Answer options
- A. Guest OS customization using sysprep contains <ComputerName>@@{name}@@</ComputerName>.
- B. Service VM Name field contains the macro variable @@{calm_array_index}@@.
- C. Call an external Python eScript that uses an IPAM API to register the VM name in DNS.
- D. Set the VM Name field to allow user edits at launch so the user can enter a custom value at launch.
Correct answer: B
Explanation
The correct answer, B, works because the @@{calm_array_index}@@ macro generates a unique index for each VM during scaling, ensuring distinct names. Options A and C do not guarantee uniqueness for every VM, and option D relies on user input, which may not always result in unique names.