nerdexam
CiscoCisco

300-420 · Question #177

300-420 Question #177: Real Exam Question with Answer & Explanation

Sign in or unlock 300-420 to reveal the answer and full explanation for question #177. The question stem and answer options stay visible for context.

Automation

Question

An engineer must use YANG with an XML representation to configure a Cisco IOS XE switch with these specifications: - IP address 10.10.10.10/27 configured on the interface GigabitEthernet2/1/0 - connectivity from a directly connected host 10.10.10.1/27 Which YANG data model set must the engineer choose? A. B. C. D.

Options

  • A<interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> <interface> <name>GigabitEthernet2/1/0</name> <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type> <enabled>false</enabled> <ipv4 xmlns="urn:ietf:params:xml:ns:yang:ietf-ip"> <address> <ip>10.10.10.10</ip> <netmask>255.255.255.224</netmask> </address> </ipv4> </interface> </interfaces>
  • B<interfaces YANG="urn:ietf:params:xml:ns:yang:ietf-interfaces"> <interface> <name>GigabitEthernet2/1/0</name> <type YANG:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type> <enabled>true</enabled> <ipv4 YANG="urn:ietf:params:xml:ns:yang:ietf-ip"> <address> <ip>10.10.10.10</ip> <netmask>255.255.255.224</netmask> </address> </ipv4> </interface> </interfaces>
  • C<interfaces json="urn:ietf:params:json:ns:yang:ietf-interfaces"> <interface> <name>GigabitEthernet2/1/0</name> <type json:ianaift="urn:ietf:params:json:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type> <enabled>true</enabled> <ipv4 json="urn:ietf:params:json:ns:yang:ietf-ip"> <address> <ip>10.10.10.10</ip> <netmask>255.255.255.224</netmask> </address> </ipv4> </interface> </interfaces>
  • D<interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> <interface> <name>GigabitEthernet2/1/0</name> <type xmlns:ianaift="urn:ietf:params:xml:ns:yang:iana-if-type">ianaift:ethernetCsmacd</type> <enabled>true</enabled> <ipv4 xmlns="urn:ietf:params:xml:ns:yang:ietf-ip"> <address> <ip>10.10.10.10</ip> <netmask>255.255.255.224</netmask> </address> </ipv4> </interface> </interfaces>

Unlock 300-420 to see the answer

You've previewed enough free 300-420 questions. Unlock 300-420 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#YANG#Network Automation#IOS XE Configuration#Data Models
Full 300-420 PracticeBrowse All 300-420 Questions