Courseiva
Automation and Quality of ServicesmediumMultiple ChoiceObjective-mapped

350-501 Automation and Quality of Services Practice Question

In the context of YANG modeling for network automation, which statement about 'must' expressions is true?

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

They enforce a constraint that must be true for the data to be valid.

'must' is an XPath expression that enforces a constraint on the data; if the condition is false, validation fails.

Answer analysis

Option-by-option breakdown

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

  • They conditionally make a leaf mandatory.

    Why it's wrong here

    'mandatory' statement or 'when' does that.

  • They are used to refine types.

    Why it's wrong here

    Refinements are done with 'type' statement.

  • They are used to define default values.

    Why it's wrong here

    Default values are defined with 'default' statement.

  • They enforce a constraint that must be true for the data to be valid.

    Why this is correct

    'must' specifies an XPath expression that must evaluate to true.

About these practice questions

Courseiva writes every 350-501 question from scratch — 971 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 350-501 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-501 exam.