JN0-224 practice question 11 of 15
You are asked to use the REST API to retrieve interface configuration information from your Junos device. You decide to use a cURL HTTP GET command to retrieve this information. In this scenario, which statement is correct?
Full set: 66 questionsThis question is likely flawed, as the Junos processes that directly handle REST API requests are the web server daemon (httpd) and the management daemon (mgd), neither of which is listed as an option. The httpd process receives the HTTP request, which then communicates with mgd to access configuration or operational data. However, among the given choices, we must select the most plausible answer through elimination. The rpd process is incorrect as it manages routing protocols. The isrpd and isd processes are not standard Junos daemons. This leaves the mod process, which is the MIB-II daemon responsible for handling SNMP requests. While SNMP and REST API are different protocols, both are used for device management and monitoring, making mod the only valid, management-related process in the list.
B. The request is handled by the isrpd process running on the Junos device. isrpd is not a recognized standard process in the Junos OS.
C. The request is handled by the rpd process running on the Junos device. The rpd (Routing Protocol Process) is responsible for all routing protocols and routing table computations, not for handling management API requests.
D. The request is handled by the isd process running on the a Junos device. isd is not a recognized standard process in the Junos OS. ---
1. Junos OS REST API Guide: In the "Enabling the REST API" section, the guide specifies configuring system services web-management http or https to enable the API. This configuration activates the httpd (web server) process to listen for HTTP/S requests, which is the entry point for the REST API. This confirms that none of the provided options are the primary handler.
Source: Juniper Networks, "Junos OS REST API Guide," Configuration Statements section.
2. Junos OS System Basics Configuration Guide: This guide lists and describes the primary processes (daemons) in Junos OS. It explicitly defines rpd as the "Routing protocol process" and mod as the "MIB II process" (for SNMP). This documentation confirms the distinct and incorrect roles of the valid processes listed in the options.
Source: Juniper Networks, "Junos OS System Basics Configuration Guide," Section: Tracing and Logging for Junos OS Processes.
3. Understanding the Junos OS Management Daemon (mgd): Official documentation explains that the mgd process manages user access and configuration changes from all management interfaces, including the CLI and NETCONF. Since the REST API is a wrapper for NETCONF/XML operations, mgd is the ultimate processor of the request's substance, after httpd handles the transport.
Source: Juniper Networks Knowledge Base, Article KB16553, "Junos OS processes."
Keep practicing
Take the free JN0-224 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other JN0-224 practice questions
- Question 1You want to use a Python package or module. In this scenario, which statement would accom…
- Question 2Which two data structures are used in JSON? (Choose two.)
- Question 3You are asked to use the REST API to retrieve interface configuration information from yo…
- Question 4Which two statements are valid regarding Junos automation? (Choose two.)
- Question 5Which data construct is used to guarantee that element names and data values remain uniqu…
- Question 6Which statement is correct about DevOps?
