exam questions

Exam JN0-420 All Questions

View all questions & answers for the JN0-420 exam

Exam JN0-420 topic 1 question 14 discussion

Actual exam question from Juniper's JN0-420
Question #: 14
Topic #: 1
[All JN0-420 Questions]

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

  • A. RPCs called by jcs:execute () are executed within an existing connection
  • B. RPCs called by jcs:invoke () are executed within an existing connection
  • C. RPCs called by jcs:invoke () are not executed until the conclusion of the script
  • D. RPCs called by jcs:execute () are not executed until the conclusion of the script
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
jmaroto
4 years, 7 months ago
Execute a remote procedure call (RPC) within the context of a specific management session in SLAX and XSLT automation scripts. Any number of RPCs may be executed within the same session until the session is closed with the jcs:close() function. This is in contrast to the jcs:invoke() function, which also performs RPC calls, but uses a unique session per command. https://www.juniper.net/documentation/en_US/junos/topics/reference/scripting/junos-script-automation-function-jcs-execute.html https://www.juniper.net/documentation/en_US/junos/topics/reference/scripting/junos-script-automation-function-jcs-invoke.html
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago