nerdexam
Nutanix

NCP-MCA · Question #61

An administrator has a Linux VM that does batch processing out of a queue. Currently, a technician connects to the VM console and runs a command on the VM to initiate or terminate the batch…

The correct answer is B. Time Trigger > VM SSH > Wait for Some Time > VM SSH. A Playbook is a collection of tasks that can be executed based on a trigger, such as a time, a webhook, or a manual action. A Playbook can be used to automate workflows across different systems and services, such as Nutanix Prism, VMs, hosts, and external APIs. A Playbook can…

Manage Automation Workflows

Question

An administrator has a Linux VM that does batch processing out of a queue. Currently, a technician connects to the VM console and runs a command on the VM to initiate or terminate the batch processing application, as there is no programmatic interface for the application. The application is processor intensive, so it should only run outside of business hours. The VM has the ability to send REST API calls to Prism. How should the administrator configure a Playbook to satisfy the needs of this process with minimal external interaction?

Options

  • AManual Trigger > Power On > VM SSH > Wait for Some Time > Power Off VM
  • BTime Trigger > VM SSH > Wait for Some Time > VM SSH
  • CWebhook Trigger > REST API > Wait for Some Time > REST API
  • DManual Trigger > VM SSH > Wait for Some Time > VM SSH

How the community answered

(33 responses)
  • A
    9% (3)
  • B
    61% (20)
  • C
    24% (8)
  • D
    6% (2)

Explanation

A Playbook is a collection of tasks that can be executed based on a trigger, such as a time, a webhook, or a manual action. A Playbook can be used to automate workflows across different systems and services, such as Nutanix Prism, VMs, hosts, and external APIs. A Playbook can also use variables, conditions, and loops to customize the execution logic and data. In this scenario, the administrator wants to automate the batch processing application on the Linux VM, which can only be controlled by a command on the VM console. The application should run only outside of business hours, and the VM should send REST API calls to Prism to report its status. The best way to configure a Playbook for this process is to use a Time Trigger, which allows the administrator to specify a schedule for the Playbook execution, such as daily, weekly, or monthly. The Time Trigger can also be configured to run only on certain days or hours, such as weekdays or nights. This way, the administrator can ensure that the Playbook runs only outside of business hours, without requiring any manual intervention.

Topics

#Time Trigger#X-Play#VM SSH#scheduled automation

Community Discussion

No community discussion yet for this question.

Full NCP-MCA Practice