exam questions

Exam JN0-420 All Questions

View all questions & answers for the JN0-420 exam

Exam JN0-420 topic 1 question 1 discussion

Actual exam question from Juniper's JN0-420
Question #: 1
Topic #: 1
[All JN0-420 Questions]

Which command is valid for accessing a Junos device using the RESTful API on the default port?

  • A. curl http://192.168.1.1/rpc/get-interface-information?interface-name=1o0 –u "user:pass123"
  • B. curl http://user:[email protected]/rpc/get-interface-information?interface-name=1o0
  • C. curl –u "user:pass123" http://192.168.1.1:80/rpc/get-interface-information?interface-name=1o0
  • D. curl http://user:[email protected].:3000/rpc/get-interface-information?interface-name=1o0
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Reference: https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/rest-api-submitting-post-request.html

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
lxs
4 years, 3 months ago
isn't 3000 the default port for REST API in Junos? Ports 80/443 are reserved for web management GUI.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago