JNCIS-DevOps: Juniper Networks Certified Specialist – DevOps — Question 19

In SLAX, what is the difference between the jcs:invoke () and the jcs:execute () functions?

Answer options

Correct answer: A

Explanation

The correct answer is A because jcs:execute() runs remote procedure calls (RPCs) within the context of the current active connection. In contrast, jcs:invoke() is designed to queue RPCs, which means they do not execute immediately and will wait until the script has finished running, making options B, C, and D incorrect.