QuestionQ34

REST API

You need to use the REST API to obtain interface configuration information from a Junos device. You choose a cURL HTTP GET command to retrieve that information.

In this scenario, which statement is correct?

  • A The request is handled by the mgd process running on the Junos device.
  • B The request is handled by the jsrpd process running on the Junos device.
  • C The request is handled by the rpd process running on the Junos device.
  • D The request is handled by the jsd process running on the Junos device.
Explanation

A Junos REST API GET request executes a Junos XML RPC, such as get-interface-information, through the MGD-based automation interface. The management daemon (mgd) processes the request; rpd and jsrpd are routing-related processes, while jsd is used for Junos SDK-based services rather than REST API RPC handling.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!