Question 640
A controller client tries to set an MTU leaf outside the allowed integer range and receives a validation failure. Which action best fits the stated network condition?
Explanation
Correct Answer
YANG types and restrictions validate accepted configuration values. A direct operational check is: An in-range MTU is accepted and an out-of-range value is rejected.
Incorrect Answers
That action addresses a different condition: an operator tries to write a YANG operational-state leaf that the model declares read-only. YANG distinguishes configuration data from operational state through model metadata.
That action addresses a different condition: a network engineer assumes YANG lists are identical to one scalar leaf and supplies only a value without keys. A YANG list represents multiple keyed entries rather than a single unnamed leaf.
That action addresses a different condition: an engineer confuses YANG leaf-list with list when modeling several simple DNS server strings. YANG leaf-list holds repeated values without the keyed child structure of a list.