nerdexam
Cisco

350-401 · Question #943

Refer to the exhibit. An engineer must save the configuration of router R2 using the NETCONF protocol. Which script must be used? A. B. C. D.

The correct answer is C. <xml version="1.0" encoding="utf-8"?> <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=""> <cisco-ia:sync-from xmlns:cisco-ia="http://cisco.com/yang/cisco-ia/"> </cisco-ia:sync-from> </rpc>. Option C uses the 'cisco-ia:sync-from' RPC operation, which synchronizes the running configuration from the device to the NETCONF datastore - effectively saving the current configuration state. This is the correct NETCONF operation when you need to persist or capture the router's

Submitted by parkjh· Mar 6, 2026Automation and Programmability - Understand and use NETCONF/YANG for device configuration management (CCNP Enterprise / DevNet Associate)

Question

Refer to the exhibit. An engineer must save the configuration of router R2 using the NETCONF protocol. Which script must be used? A. B. C. D.

Exhibits

350-401 question #943 exhibit 1
350-401 question #943 exhibit 2
350-401 question #943 exhibit 3
350-401 question #943 exhibit 4
350-401 question #943 exhibit 5
350-401 question #943 exhibit 6
350-401 question #943 exhibit 7
350-401 question #943 exhibit 8
350-401 question #943 exhibit 9
350-401 question #943 exhibit 10

Options

  • A<xml version="1.0" encoding="utf-8"?> <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=""> <cisco-ia:save-config xmlns:cisco-ia="http://cisco.com/yang/cisco-ia/"> </rpc>
  • B<xml version="1.0" encoding="utf-8"?> <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=""> <get> <filter type="subtree"> <ncm:netconf-state xmlns:ncm="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring"> <capabilities/> </ncm:netconf-state> </filter> </get> </rpc>
  • C<xml version="1.0" encoding="utf-8"?> <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=""> <cisco-ia:sync-from xmlns:cisco-ia="http://cisco.com/yang/cisco-ia/"> </cisco-ia:sync-from> </rpc>
  • D<xml version="1.0" encoding="utf="8"?> <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=""> <cisco-ia:reinitialize xmlns:cisco-ia="http://cisco.com/yang/cisco-ia/"> cisco-ia:reinitializetrue</cisco-ia:reinitialize> </cisco-ia:reinitialize> </rpc>

How the community answered

(18 responses)
  • A
    11% (2)
  • B
    22% (4)
  • C
    61% (11)
  • D
    6% (1)

Explanation

Option C uses the 'cisco-ia:sync-from' RPC operation, which synchronizes the running configuration from the device to the NETCONF datastore - effectively saving the current configuration state. This is the correct NETCONF operation when you need to persist or capture the router's configuration using Cisco's IOS-XE YANG model (cisco-ia). The cisco-ia YANG module provides Cisco-specific RPC operations for configuration management tasks beyond standard NETCONF operations.

Topics

#NETCONF#YANG Models#Cisco IOS-XE Programmability#Network Automation

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice