JN0-224 practice question 4 of 15

Which two statements are valid regarding Junos automation? (Choose two.)

Full set: 66 questions
Answer options
A: The jsd process handles XML API calls.
B: The mgd process handles JET API requests.
C: The jsd process handles JET API requests. Correct answer
D: The mod process handles XML API calls. Correct answer
Correct Answer:
C. The jsd process handles JET API requests.; D. The mod process handles XML API calls.
Explanation

The Junos OS architecture uses specific daemons (processes) to handle different programmatic interfaces. The Management Process (mgd) is responsible for user interaction, including the CLI and NETCONF sessions. Since the Junos XML API operates over NETCONF, mgd is the process that handles these XML API calls. Conversely, the Junos Extension Toolkit (JET) uses a more modern gRPC-based framework. To support this, a dedicated daemon, the JET Service Process (jsd), was introduced. The jsd process runs on the device and is solely responsible for handling all incoming JET API requests.

Why Incorrect

A. The jsd process handles XML API calls. The jsd process is dedicated to the Junos Extension Toolkit (JET) API, not the traditional XML API, which is handled by mgd.
B. The mgd process handles JET API requests. The mgd process handles legacy management interfaces like CLI and NETCONF/XML, while the newer JET API requests are handled by the jsd process.

References

1. Juniper Networks TechLibrary, Junos OS Automation Scripting, "Junos XML API and NETCONF XML Management Protocol Overview": "Client applications establish a NETCONF session with the management process (mgd) on the Junos device." This confirms that mgd handles NETCONF sessions, which are the transport for the XML API.

2. Juniper Networks TechLibrary, Junos Extension Toolkit (JET), "JET Architecture": "The JET service process (jsd) runs on a Junos device and handles the gRPC requests for the JET APIs... The jsd process is responsible for handling the RPCs and communicating with other Junos OS processes..." This directly states that jsd handles JET API requests.

3. Juniper Networks TechLibrary, Junos OS System Basics, "Junos OS Processes (Daemons)": This document lists the mgd process as the "Management process" and describes its role in managing the device, which includes handling NETCONF sessions. It also implicitly distinguishes its role from other specialized daemons.

Scroll to Top