nerdexam
Juniper

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…

WAN, Security, and Management Design Elements

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)
  • A
    8% (2)
  • B
    76% (19)
  • D
    16% (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 rest on 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

#REST API#Junos automation#HTTP methods#network automation

Community Discussion

No community discussion yet for this question.

Full JN0-1103 Practice