JNCIA-DevOps Junos REST API Practice Question
When designing an automation workflow that uses the Junos REST API for configuration management, which THREE practices ensure robust execution? (Choose three)
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
✓
Configure HTTPS (jpagent https) to encrypt credentials and configuration payloads in transit.
Robust REST workflows should handle HTTP status codes, use HTTPS for secure transport, and properly structure payloads with appropriate Content-Type headers.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Configure HTTPS (jpagent https) to encrypt credentials and configuration payloads in transit.
Why this is correct
Using HTTPS prevents plaintext credential and configuration transmission.
- ✓
Specify correct Content-Type headers matching the payload format (e.g., JSON).
Why this is correct
Content-Type headers tell the server how to parse incoming request bodies.
- ✗
Always reboot the Routing Engine after every GET request.
Why it's wrong here
Rebooting after read requests is disruptive and unnecessary.
- ✓
Validate response status codes (e.g., checking for 200, 201, 204) before assuming success.
Why this is correct
Checking HTTP status codes ensures actions completed successfully.
- ✗
Send raw VT100 terminal escape sequences inside the HTTP body.
Why it's wrong here
VT100 codes are for terminal emulation, not REST API payloads.
About these practice questions
This JNCIA-DevOps question is part of Courseiva's 306-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.