JNCIA-DevOps Junos REST API Practice Question
When an automation script issues a POST request to create a new static route via the Junos REST API, what HTTP status code indicates that the resource was successfully created?
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
✓
201 Created
In standard HTTP REST semantics, a successful creation request resulting in a new resource returns HTTP status code 201 Created.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
200 OK
Why it's wrong here
200 OK is generally returned for successful GET or update operations where no new resource URI is established.
- ✗
302 Found
Why it's wrong here
302 Found is a redirection status code.
- ✗
204 No Content
Why it's wrong here
204 No Content is typically returned for successful DELETE operations or updates with no response body.
- ✓
201 Created
Why this is correct
HTTP 201 Created is the standard response code for successfully creating a new resource via POST.
About these practice questions
This JNCIA-DevOps question is part of Courseiva's 307-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.