Nutanix Certified Professional - Multicloud Automation Free Sample Questions

Covers automation fundamentals, DevOps concepts and X-Play components, installing and configuring Nutanix Calm with blueprints and runbooks, and validating blueprints, runbooks and playbooks.

20 free sample questions156 in the full practice test

Try simulator

NCP-MCA Sample Questions

  1. Question 1

    A financial services company is using Nutanix Calm to automate the deployment of a three-tier application. For compliance, all secrets, such as database passwords and API keys, must be managed by an external HashiCorp Vault server. The blueprint needs to retrieve these secrets at launch time without storing them within the blueprint itself.

    Which Calm construct should the administrator configure to achieve this securely?

    Answer and explanation

    Correct answer: C

    Nutanix Calm provides a native integration for external key/value-based secret stores like HashiCorp Vault. By defining a variable of type 'Secret', the administrator can directly reference a secret stored in Vault. Calm securely retrieves the value at runtime and injects it into the script or application, preventing the secret from being exposed in the blueprint definition or logs. This is the most secure and streamlined method. While an eScript could work, it requires custom coding and credential management within the script, which is less secure than the native integration. Runtime variables would expose the secret to the end-user, violating the security requirement.

  2. Question 2

    An administrator is troubleshooting a failed X-Play playbook that was triggered by a VM CPU alert. The playbook is designed to snapshot the VM, run a diagnostic script, and then send a Slack notification. The playbook execution log shows that the 'VM Snapshot' action succeeded, but the 'VM Powershell' action failed with an 'Authentication Error'. The Slack notification was never sent.

    What is the most likely cause of this failure?

    Answer and explanation

    Correct answer: C

    The log indicates a specific 'Authentication Error' at the 'VM Powershell' action step. This action executes a script inside the guest OS of the target VM. An authentication error at this stage points directly to the credentials (username/password) used to log in to the guest OS. The 'VM Snapshot' action succeeded because it is an API call to the hypervisor (AHV/ESXi) and does not require guest OS credentials. A network connectivity issue would likely result in a 'Connection Timed Out' error, not an authentication error. The Slack notification failure is a symptom of the playbook halting on error, not the cause.

  3. Question 3

    Multiple answers

    A DevOps team wants to automate two distinct processes:

    1. Incident Response: When a critical VM alert is generated, a process must be triggered to collect logs from multiple VMs, create a ticket in ServiceNow, and notify the on-call engineer.
    2. Application Update: A developer needs to execute a multi-step process to update a configuration file on a web server, restart the application service, and run a health check against a specific URL.

    Which Nutanix automation constructs are best suited for these two requirements? (Select TWO).

    Answer and explanation

    Correct answers: A, C

    X-Play Playbooks are ideal for event-driven automation. The Incident Response process is triggered by an event (a VM alert), making a Playbook the perfect fit for this reactive, cross-system workflow.

    Calm Runbooks are designed for procedural, on-demand task automation that can be executed by a user. The Application Update is a specific, user-initiated sequence of tasks, which is the primary use case for a Runbook. It provides a simple, repeatable way for a developer to perform this action.

  4. Question 4

    An administrator has created a multi-tier application blueprint in Calm that consists of a web server array and a database server. The web servers must be fully configured and running before the database server begins its setup process, as the database installation script needs to register itself with the running web servers.

    How should the administrator enforce this specific deployment order in the blueprint?

    Answer and explanation

    Correct answer: B

    Nutanix Calm blueprints have a built-in dependency management system. By dragging a connector from the database service to the web server service in the visual editor, the administrator creates a dependency. This explicitly tells Calm to complete the 'Create' action of the web server service before starting the 'Create' action of the database service, ensuring the correct orchestration sequence. Using a delay is unreliable as the web server configuration time can vary. Placing tasks in the Application Profile does not control the order of service creation.

  5. Question 5

    True or False: Once a blueprint is published to the Calm Marketplace, it can be directly edited by an administrator to apply updates, which are then automatically reflected for all users.

    Answer and explanation

    Correct answer: B

    False. Published Marketplace blueprints are immutable to ensure consistency and stability for consumers. To update a Marketplace item, an administrator must first edit the source blueprint, save the changes, and then publish it as a new version to the Marketplace. Consumers can then choose to use the new version for future deployments.

  6. Question 6

    A university uses Nutanix Calm to provide self-service virtual labs for students. To control costs, each student project is assigned a resource quota. A student reports that their blueprint launch is failing with a quota exceeded error, but they claim to have deleted several old applications to free up resources. An administrator needs to verify the student's resource consumption against the project's quota.

    Which section of the Prism Central interface provides the most direct way to validate this information?

    Answer and explanation

    Correct answer: C

    The 'Projects' configuration page in Prism Central (under Administration) is the central location for managing project settings, including resource quotas. This page displays a summary of all projects, showing the configured quotas (VCPUs, Memory, Storage) and the current usage for each. An administrator can directly compare the student project's usage against its defined limits here to validate the quota exceeded error. The Audit trail shows actions but doesn't aggregate resource usage. The Tasks view shows individual task status, not resource totals.

  7. Question 7

    An administrator wants to create a Calm blueprint that deploys a variable number of identical web servers based on user input at launch time. For example, a user might request 3 servers for a development environment but 10 servers for a performance testing environment.

    What feature should be used within the blueprint service to achieve this dynamic scaling?

    Answer and explanation

    Correct answer: C

    The correct method for deploying a variable number of identical VMs is to define the service as an array, also known as using replicas. In the blueprint, you can set the replica count to be determined by a runtime variable. This exposes a field to the user at launch time, allowing them to specify the desired number of instances. Calm then orchestrates the creation of that many identical VMs, which can be referenced using the @@{calm_array_index}@@ macro.

  8. Question 8

    A Case Study for a retail company is presented below.

    Company Background:
    RetailNow is a large e-commerce company that experiences massive traffic spikes during holiday seasons. Their primary application runs on a multi-tier architecture deployed on a Nutanix AHV cluster. The infrastructure team uses Nutanix Calm for application lifecycle management and X-Play for operational automation.

    Current Situation:
    During the last major sale, the web tier of the application became unresponsive due to overwhelming traffic. The operations team had to manually scale out the web servers, which took over 30 minutes, resulting in significant revenue loss. The current process involves an operator receiving a CPU utilization alert, connecting to Prism Central, and manually cloning new web VMs from a template.

    Requirements:
    The CTO has mandated a fully automated solution to scale the web tier. The solution must meet the following criteria:

    1. Automatically trigger when the average CPU utilization across the web tier VMs exceeds 80% for 5 minutes.
    2. Add exactly one new web server VM to the existing Calm-managed application.
    3. The new VM must be identical to the existing web servers.
    4. The entire process from alert to new VM being online should take less than 5 minutes.

    Proposed Solution:
    An automation engineer proposes creating an X-Play playbook. The playbook will be triggered by the CPU alert. It will then execute a 'PowerShell' action that connects to Prism Central and runs a script to clone a web server VM.

    Which statement best evaluates the proposed solution against the requirements?

    Answer and explanation

    Correct answer: C

    This is the most critical flaw. While the proposed X-Play playbook can technically clone a VM, the new VM will exist outside of the Calm application's awareness. This means it won't be part of the application's lifecycle (e.g., updates, scaling down, deletion), breaking the application-centric model. The correct approach is to have the X-Play playbook trigger the 'Scale Out' custom action on the Calm application itself. This action, defined within the blueprint, would properly increment the web tier replica count, ensuring the new VM is a managed part of the application.

  9. Question 9

    Multiple answers

    A consultant has set up a development project and a production project in Nutanix Calm. A blueprint has been fully tested in the development project and published to the Marketplace. The goal is to make this blueprint available for launch in the production project.

    Which two steps must be performed to make the blueprint visible and launchable from the production project's Marketplace? (Select TWO).

    Answer and explanation

    Correct answers: A, C

    After a blueprint is published, it enters a pending state in the Marketplace Manager. A Calm administrator must explicitly approve the blueprint before it becomes visible to any projects.

    Approving the blueprint makes it available globally, but access is controlled on a per-project basis. The administrator must go into the Marketplace Manager, select the approved blueprint, and explicitly assign it to the production project to make it visible and usable there.

  10. Question 10

    During a blueprint launch, a 'Package Install' task for a CentOS VM fails. The administrator reviews the task's output log and finds the following error message:

    Error: Unable to find a match: httpd-2.4.6-97.el7.centos.x86_64
    yum install -y httpd
    Exited with error: 1

    What is the most probable cause of this failure?

    Answer and explanation

    Correct answer: A

    The yum command is used on CentOS to install packages from a repository. An 'Unable to find a match' error, followed by an exit code of 1, strongly indicates that the yum utility could not reach its configured repositories to find the httpd package. This is almost always due to a network issue, such as missing DNS settings, incorrect IP configuration, or firewall rules blocking access from the VM to the repository servers (either on the internet or on the corporate network).