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
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
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)- A11% (2)
- B22% (4)
- C61% (11)
- D6% (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
Community Discussion
No community discussion yet for this question.









