exam questions

Exam 300-550 All Questions

View all questions & answers for the 300-550 exam

Exam 300-550 topic 1 question 67 discussion

Actual exam question from Cisco's 300-550
Question #: 67
Topic #: 1
[All 300-550 Questions]

Which statement indicates that an element in a YANG data model contains data that describes operational state information about the device or service?

  • A. state true
  • B. config false
  • C. mode state
  • D. state enabled
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
CCNPsec
5 years, 10 months ago
the correct answer is 'Config false' Reference from ondemandelearning Cisco platform 'Network programmability' leaf host-name { type string; mandatory true; config true; description "Hostname for this system"; } leaf cpu-temp { type int32; units degrees-celsius; config false; description "Current temperature in CPU"; } NETCONF XML: <host-name>my.example.com</host-name> Now you will start to dive into the finer details of creating YANG modules. The first statement that is reviewed is the leaf statement. It is arguably the most important statement to understand. It defines a single value of a particular type and it contains no children. It would be things like the IP address of an interface, the subnet mask of an interface, and so on. As you can see, nested under each leaf are additional parameters (attributes) that are used to describe and provide constraints of the leaf. You can declare things to be mandatory, for example. You will also see here that it has a ‘config true’ which means that it is configuration data so it will be sent back on a ‘get config’ while the second leaf here, cpu-temperature, obviously it is not something that you would change using a client and something that is read-only. So that is config» false’.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago