Nutanix Certified Professional - Multicloud Automation (NCP-MCA v6.5) Exam NCP-MCA Question # 6 Topic 1 Discussion

Nutanix Certified Professional - Multicloud Automation (NCP-MCA v6.5) Exam NCP-MCA Question # 6 Topic 1 Discussion

NCP-MCA Exam Topic 1 Question 6 Discussion:
Question #: 6
Topic #: 1

An administrator has a vendor-provided script that must be run at 9 am every Saturday on a Linux application VM.

The administrator currently has a playbook that has a Time trigger and a VM SSH action to execute the script. However, the administrator has received a request to have the output of the script emailed to the application team when it is executed.

What is the easiest way to satisfy this request?


A.

Modify the script to include a function to format the output of the script and email the output to the desired address.


B.

Add an Email action to the end of the existing playbook and use the {{action [index].response_body}} parameter in the Message field.


C.

Direct the output of the script to a file and use the Send Email with Payload action at the end of your existing playbook.


D.

Add an Email action to the end of the existing playbook and use the {{action[index] .stdout}} parameter in the Message field.


Get Premium NCP-MCA Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.