JNCIA-DevOps Junos REST API Practice Question
Which TWO HTTP response status codes indicate a successful Junos REST API request where data was successfully retrieved or modified? (Choose two)
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
✓
200 OK
200 OK and 204 No Content (or 201 Created) indicate successful API execution depending on the method.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
404 Not Found
Why it's wrong here
404 is an error status code indicating a missing resource.
- ✓
200 OK
Why this is correct
200 OK indicates successful GET or update execution.
- ✗
401 Unauthorized
Why it's wrong here
401 is an authentication failure code.
- ✓
204 No Content
Why this is correct
204 indicates successful execution with no return body (common for updates/deletes).
- ✗
500 Internal Server Error
Why it's wrong here
500 is a server error code.
About these practice questions
Courseiva writes every JNCIA-DevOps question from scratch — 306 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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.