nerdexam
Cisco

350-401 · Question #1057

Refer to the exhibit. The NETCONF object is sent to a Cisco IOS XE switch. What is the purpose of the object?

The correct answer is A. Discover the IP address of interface GigabitEthernet1. The NETCONF object is designed to query the device for the current configuration of interface GigabitEthernet1, specifically focusing on retrieving its assigned IP address.

Submitted by manish99· Mar 6, 2026Automation

Question

Refer to the exhibit. The NETCONF object is sent to a Cisco IOS XE switch. What is the purpose of the object?

Exhibits

350-401 question #1057 exhibit 1
350-401 question #1057 exhibit 2

Options

  • ADiscover the IP address of interface GigabitEthernet1
  • BRemove the IP address from interface GigabitEthernet1
  • CSet the description of interface GigabitEthernet1 to "1"
  • DView the configuration of all GigabitEthernet interfaces

How the community answered

(25 responses)
  • A
    88% (22)
  • B
    8% (2)
  • C
    4% (1)

Why each option

The NETCONF object is designed to query the device for the current configuration of interface GigabitEthernet1, specifically focusing on retrieving its assigned IP address.

ADiscover the IP address of interface GigabitEthernet1Correct

A NETCONF `<get>` or `<get-config>` operation with a specific filter targeting the `ipv4` configuration details for `interface GigabitEthernet1` is used to retrieve or 'discover' the IP address assigned to that interface. This is a standard method to query specific interface attributes using NETCONF.

BRemove the IP address from interface GigabitEthernet1

Removing an IP address would require a NETCONF `<edit-config>` operation with a `delete` attribute specified for the IP address configuration of the interface.

CSet the description of interface GigabitEthernet1 to "1"

Setting an interface description would require a NETCONF `<edit-config>` operation with a `merge` or `replace` attribute, including the `description` element with the new value.

DView the configuration of all GigabitEthernet interfaces

Viewing the configuration of all GigabitEthernet interfaces would typically involve a broader filter within a `<get-config>` operation, or a request for the entire `ietf-interfaces` list, rather than a specific IP address query for a single interface.

Concept tested: NETCONF <get> operation for interface IP

Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/prog/configuration/166/b_166_programmability_cg/netconf_yang.html

Topics

#NETCONF#IOS XE#interface discovery#network management protocol

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice