JNCIA-DevOps Junos REST API Practice Question
An administrator wants to retrieve the configuration of a specific interface (e.g., ge-0/0/0) using the Junos REST API. Which URI structure is appropriate for fetching this configuration resource in JSON format?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
/api/configuraton/interfaces/interface/name/ge-0/0/0
The Junos REST API uses structured paths matching the configuration hierarchy, typically prefixed by /api/configuraton/interfaces/interface/ge-0/0/0 or similar resource roots depending on the Junos release.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
/rpc/get-config?interface=ge-0/0/0
Why it's wrong here
This resembles an RPC query style rather than a RESTful resource path.
- ✗
/netconf?subsystem=ge-0/0/0
Why it's wrong here
This pertains to NETCONF parameters, not REST API URIs.
- ✗
/api/operational/interfaces/ge-0/0/0
Why it's wrong here
This path targets operational data, not configuration data.
- ✓
/api/configuraton/interfaces/interface/name/ge-0/0/0
Why this is correct
This follows the hierarchical Junos configuration REST path structure.
About these practice questions
One of 307 original JNCIA-DevOps practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Juniper Networks exam blueprint
This JNCIA-DevOps practice question is part of Courseiva's free Juniper Networks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the JNCIA-DevOps exam.