JN0-1103 · Question #4
What two statements correctly describe the REST API on Junos devices? (Choose two.)
The correct answer is B. The REST API supports GET requests. C. The REST API supports DELETE requests. REST API on Junos supports the full suite of standard HTTP methods, including GET (to retrieve configuration or operational data) and DELETE (to remove configuration elements), making B and C correct. Why the distractors are wrong: A is incorrect because the REST API is not…
Question
What two statements correctly describe the REST API on Junos devices? (Choose two.)
Options
- AThe REST API is enabled by default on Junos devices.
- BThe REST API supports GET requests.
- CThe REST API supports DELETE requests.
- DThe REST API supports both HTTP and HTTPS.
How the community answered
(25 responses)- A8% (2)
- B76% (19)
- D16% (4)
Explanation
REST API on Junos supports the full suite of standard HTTP methods, including GET (to retrieve configuration or operational data) and DELETE (to remove configuration elements), making B and C correct.
Why the distractors are wrong:
- A is incorrect because the REST API is not enabled by default - it must be explicitly configured under
system services reston the device. - D is incorrect because Junos REST API uses HTTPS only by default (port 3443); HTTP support is a separate, optional configuration and is not available out of the box.
Memory tip: Think of Junos REST API as a locked HTTPS door - you have to unlock it (enable it manually), and when you open it, you get the full HTTP method toolkit (GET, POST, PUT, PATCH, DELETE) - but only over HTTPS unless you go out of your way to add HTTP.
Topics
Community Discussion
No community discussion yet for this question.