Cisco
300-535 · Question #88
Refer to the exhibit. An engineer created a YANG model to containerize a deployment. When trying to retrieve the JSON instance, errors have appeared. Which two issues must be resolved? (Choose two.)
The correct answer is A. The value of the port parameter must be changed to Ge1/0/1. B. The gateway parameter must be added to the management section. The value of the port parameter must match one of the allowed enumerations (Ge1/0/1 or The gateway parameter is required in the management section according to the YANG model but is missing from the JSON instance.
Network Device Programmability
Question
Refer to the exhibit. An engineer created a YANG model to containerize a deployment. When trying to retrieve the JSON instance, errors have appeared. Which two issues must be resolved? (Choose two.)
Exhibit
Options
- AThe value of the port parameter must be changed to Ge1/0/1.
- BThe gateway parameter must be added to the management section.
- CThe value of the hostname parameter must be converted to all lowercase characters.
- DThe value of the prefix length must be changed to 29, 30. or 31.
- EThe last octet of the IP address must be changed to one or three digits.
How the community answered
(48 responses)- A79% (38)
- C4% (2)
- D4% (2)
- E13% (6)
Explanation
The value of the port parameter must match one of the allowed enumerations (Ge1/0/1 or The gateway parameter is required in the management section according to the YANG model but is missing from the JSON instance.
Topics
#YANG model#JSON instance#data validation#container deployment
Community Discussion
No community discussion yet for this question.
