Question 2,008 of 2,015
AutomationmediumMultiple SelectObjective-mapped

Quick Answer

The answer is ip address, subnet mask, and description. These three attributes are typically included in a YANG module for interface configuration because the IETF interface model (RFC 8343) defines them as core operational and administrative parameters: the ip address and subnet mask specify the Layer 3 logical addressing, while the description leaf provides a human-readable string to document the interface’s purpose. On the ENCOR 350-401 exam, this topic tests your understanding of how YANG models structure interface data, often appearing in questions about NETCONF/RESTCONF payloads or model-driven programmability. A common trap is confusing optional attributes like mtu or speed with the mandatory ones; remember that ip address and subnet mask are the fundamental addressing pair, and description is the standard administrative label. For a quick memory tip, think “IP, Mask, Desc” — the three pillars of any interface’s YANG identity.

CCNP Automation Practice Question

This 350-401 practice question tests your understanding of automation. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Which THREE attributes are typically included in a YANG module for interface configuration? (Choose three.)

Question 1mediummulti select
Read the full REST/YANG explanation →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

description

Option B is correct because the 'description' leaf is a standard attribute in YANG models for interface configuration, providing a human-readable text string to document the interface's purpose. It is defined in the IETF interface model (RFC 8343) and is widely supported across Cisco IOS-XE and NX-OS YANG models.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • switchport mode

    Why it's wrong here

    Switchport mode is in a separate module.

  • description

    Why this is correct

    Description is a common attribute.

    Related concept

    Read the scenario before looking for a memorised answer.

  • mtu

    Why this is correct

    MTU is a configurable attribute.

    Related concept

    Read the scenario before looking for a memorised answer.

  • ip address

    Why this is correct

    IP address is a standard interface attribute.

    Related concept

    Read the scenario before looking for a memorised answer.

  • mac address

    Why it's wrong here

    MAC address is typically a state data.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Cisco often tests the distinction between configurable YANG leaves (like 'description', 'mtu', 'ip address') and operational state leaves (like 'mac address') or platform-specific extensions (like 'switchport mode') to see if candidates understand the standard IETF interface model versus proprietary additions.

Detailed technical explanation

How to think about this question

In YANG, interface configuration models like 'ietf-interfaces' define a list of interfaces with leaves such as 'description', 'mtu', and 'ipv4' (which contains 'address'). The 'mtu' leaf sets the maximum transmission unit in bytes, affecting fragmentation and path MTU discovery. The 'ip address' is configured under the 'ipv4' container as a list of addresses with prefix length, enabling static IP assignment. These three are core configurable attributes in both IETF and Cisco native YANG models.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A help-desk technician troubleshoots why a newly connected PC cannot reach shared printers on the same floor. The cable is good, the switch port is active, but the PC is in VLAN 20 and the printers are in VLAN 10. The uplink trunk only allows VLAN 10. A trunk being up does not mean every VLAN crosses it.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related 350-401 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free 350-401 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this 350-401 question test?

Automation — This question tests Automation — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: description — Option B is correct because the 'description' leaf is a standard attribute in YANG models for interface configuration, providing a human-readable text string to document the interface's purpose. It is defined in the IETF interface model (RFC 8343) and is widely supported across Cisco IOS-XE and NX-OS YANG models.

What should I do if I get this 350-401 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This 350-401 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 350-401 exam.