Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Juniper JN0-224 Exam - Topic 3 Question 14 Discussion

Posted by Buddy on Jun 29, 2026 at 05:28 PM

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.)

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.

Get Premium JN0-224 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
23 comments · newest first
LE
Leonie 1 day ago
I feel like D is also important. Authentication is key.
PA
Pamella 6 days ago
Agreed! A and C make sense. XML is common too.
CH
Charlene 12 days ago
I think A and C are correct. JSON is definitely an option.
GE
Germaine 17 days ago
I’m not sure about B. SSH isn’t needed for REST API.
JA
Jannette 22 days ago
I’m leaning towards A and D. Authentication is crucial.
NI
Nidia 27 days ago
True, but I still think A and C are the best choices.
AL
Aleisha 1 month ago
I feel like D is also important. Authentication is key.
JO
Jospeh 1 month ago
Agreed, A and C make sense. XML is common too.
AL
Alica 1 month ago
I think A and C are correct. JSON is definitely an option.
ED
Edna 2 months ago
XML is also a valid format, so C is spot on!
CA
Carylon 2 months ago
D is a must, can't skip authentication.
RO
Rolande 2 months ago
Surprised that SSH isn't needed for this!
IR
Iraida 2 months ago
I disagree, B is not necessary for REST API access.
NA
Nana 2 months ago
A and C are correct! JSON is definitely an option.
RI
Rima 2 months ago
A is misleading, XML is also valid, not just HTML or JSON.
EL
Eliseo 3 months ago
D is a must, can't skip authentication for API calls.
VE
Venita 3 months ago
Surprised that SSH isn't required, thought it was standard!
JE
Jesse 3 months ago
I disagree, B is not necessary for REST API access.
TO
Tomas 3 months ago
A and C are correct! JSON is definitely an option.
GI
Gilma 3 months ago
I recall that authentication info is crucial for each request, so I think option D is definitely correct.
LY
Lynelle 3 months ago
I think we can retrieve data in both XML and JSON formats, but I need to double-check that.
FR
Francisca 4 months ago
I'm not entirely sure, but I feel like SSH isn't necessary for REST API calls, right?
LU
Luther 4 months ago
I remember practicing with cURL commands, and I think JSON is definitely one of the formats we can use.
0/2000 characters

Save Cancel