Courseiva
NETCONF And XML APIeasyMultiple SelectObjective-mapped

JNCIA-DevOps NETCONF And XML API Practice Question

Which TWO statements are true regarding the NETCONF protocol hello message exchange? (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

Both client and server exchange capabilities using XML elements containing URI strings.

During the initial NETCONF hello message exchange, both the client and server advertise their supported capabilities using URIs, and the session ID is assigned by the server.

Answer analysis

Option-by-option breakdown

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

  • The client uses the hello message to lock the configuration database before session initialization.

    Why it's wrong here

    Locking occurs via a separate <lock> RPC after the hello message exchange is complete.

  • The client hello message must include the list of YANG modules it intends to modify during the session.

    Why it's wrong here

    Clients advertise capabilities, but they are not required to pre-list exact YANG modules they intend to modify.

  • Both client and server exchange capabilities using XML elements containing URI strings.

    Why this is correct

    Capabilities are advertised inside the <capabilities> element using specific capability URIs.

  • The server hello message includes a session ID attribute assigned to the NETCONF session.

    Why this is correct

    The <hello> element sent by the server includes a session ID which identifies the current NETCONF session.

  • The hello message exchange is optional if a pre-shared SSH key is used for authentication.

    Why it's wrong here

    The NETCONF hello exchange is mandatory for every NETCONF session regardless of the SSH authentication method.

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 →

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.