Courseiva
NETCONF And XML APIhardMultiple ChoiceObjective-mapped

JNCIA-DevOps NETCONF And XML API Practice Question

You are configuring NETCONF traceoptions on a Junos device to debug an XML parsing issue. Which configuration statement enables logging of all NETCONF protocol messages to a file named 'netconf-debug.log'?

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

set system services netconf traceoptions file netconf-debug.log set system services netconf traceoptions flag all

Traceoptions under the netconf system services hierarchy control logging of NETCONF traffic.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • set system services netconf traceoptions file netconf-debug.log set system services netconf traceoptions flag all

    Why this is correct

    This is the correct Junos CLI syntax for enabling comprehensive NETCONF tracing.

  • set protocols netconf traceoptions file netconf-debug.log flag detail

    Why it's wrong here

    NETCONF is a system service, not a routing protocol.

  • set security netconf logging file netconf-debug.log

    Why it's wrong here

    NETCONF logging is configured under system services, not security.

  • set system netconf trace file netconf-debug.log level debug

    Why it's wrong here

    This syntax is incorrect for Junos system services.

About these practice questions

One of 306 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 →

How Courseiva writes practice questions · Editorial policy

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.