U.S. Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Juniper JN0-224 Exam - Topic 3 Question 14 Discussion

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 two statements are correct? (Choose two.)
C) You can retrieve this data in XML or JSON formats. and D) You must Include the authentication Information with each request.
A) You can retrieve this data in HTML or JSON formats.
B) You must have SSH enabled on the Junos device.

Juniper JN0-224 Exam - Topic 3 Question 14 Discussion

Actual exam question for Juniper's JN0-224 exam
Question #: 14
Topic #: 3
[All JN0-224 Questions]

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 two statements are correct? (Choose two.)

Show Suggested Answer Hide Answer
Suggested Answer: C, D

When using the REST API to retrieve interface configuration information from a Junos device:

Data Formats (C): The information can be retrieved in XML or JSON formats. These are the two standard data formats supported by the Junos REST API for representing configuration and operational data.

Authentication (D): For each HTTP request, especially when using tools like cURL, authentication information must be included. This is typically done using basic authentication (username and password) or an authentication token.

Option A is incorrect because HTML is not a supported format for REST API data retrieval in Junos, and Option B is incorrect because SSH is not required for REST API requests; the REST API typically uses HTTP/HTTPS.


Junos REST API Documentation: Details the data formats (XML, JSON) supported by the Junos REST API and the need for authentication.

cURL Usage with REST API: Provides examples of how to use cURL with Junos REST API, including the necessity of providing authentication.

Contribute your Thoughts:

0/2000 characters

Currently there are no comments in this discussion, be the first to comment!


Save Cancel