nerdexam
Cisco

300-435 · Question #25

Refer to the exhibit. Which NETCONF protocol operation is used to interact with the YANG model? module: cisco-ios-xe-vlan-oper +--ro vlans +--ro vlan [id] +--ro id uint16 +--ro name? string +--ro…

The correct answer is A. <edit-config>. The YANG model snippet includes both read-only (ro) and read-write elements, signifying that configuration changes are possible, which are performed using the NETCONF <edit-config> operation.

Network Automation Foundation

Question

Refer to the exhibit. Which NETCONF protocol operation is used to interact with the YANG model? module: cisco-ios-xe-vlan-oper +--ro vlans +--ro vlan [id] +--ro id uint16 +--ro name? string +--ro status? vlan-iso-xe-oper:vlan-status-type +--ro ports [ ] | +--ro interface? string | +--ro subinterface? uint32 +--ro vlan-interfaces* [interface] +--ro interface string +--ro subinterface uint32

Options

  • A<edit-config>
  • B<get>
  • C<get-config>
  • D<copy-config>

How the community answered

(39 responses)
  • A
    87% (34)
  • B
    8% (3)
  • C
    3% (1)
  • D
    3% (1)

Why each option

The YANG model snippet includes both read-only (`ro`) and read-write elements, signifying that configuration changes are possible, which are performed using the NETCONF `<edit-config>` operation.

A<edit-config>Correct

The YANG model defines `vlan-interfaces` as a configurable list (indicated by `*` and lack of `ro`), meaning it's part of the device's configuration data that can be modified. The NETCONF `<edit-config>` operation is specifically used to create, modify, or delete configuration data on a target device based on a YANG model.

B<get>

The NETCONF `<get>` operation is used to retrieve both configuration and state data from a device, but it does not modify the configuration.

C<get-config>

The NETCONF `<get-config>` operation is used to retrieve only configuration data from a device, but it does not modify the configuration.

D<copy-config>

The NETCONF `<copy-config>` operation is used to copy an entire configuration datastore (e.g., running to startup) on a device, but it does not directly modify individual configuration elements within a YANG model.

Concept tested: NETCONF operations and YANG model types

Source: https://www.rfc-editor.org/rfc/rfc6241#section-7.2

Topics

#NETCONF#YANG#Data Models#Configuration Management

Community Discussion

No community discussion yet for this question.

Full 300-435 Practice