Cisco
200-901 · Question #438
Refer to the exhibit. The YANG module devnet-users shows a data model for user accounts. Which code snippet shows the XML representation of an instantiation of the YANG data model? A. B. C. D.
Sign in or unlock 200-901 to reveal the answer and full explanation for question #438. The question stem and answer options stay visible for context.
Understanding and Using APIs
Question
Refer to the exhibit. The YANG module devnet-users shows a data model for user accounts. Which code snippet shows the XML representation of an instantiation of the YANG data model? A. B. C. D.
Exhibits
Options
- A<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <users xmlns="http://devnet.com/devnet-users"> <person> <name>User One</name> <creationdate>2020-08-24T00:00:00-00:00</creationdate> </person> <person> <name>User Two</name> <creationdate>2020-10-05T07:00:00-00:00</creationdate> </person> </users> </data>
- B<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <users xmlns="http://devnet.com/devnet-users"> <person> <name>User One</name> <creationdate>2020-08-24T00:00:00-00:00</creationdate> </person> <person> <name>User Two</name> <creationdate>2020-10-05T07:00:00-00:00</creationdate> </person> </users> </data>
- C<data yang-model="urn:ietf:params:xml:devnet-users"> <users xmlns="http://devnet.com/devnet-users"> <person> <name>User One</name> <creationdate>2020-08-24T00:00:00-00:00</creationdate> </person> <person> <name>User Two</name> <creationdate>2020-10-05T07:00:00-00:00</creationdate> </person> </users> </data>
- D<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <users xmlns:ex="http://devnet.com/devnet-users"> <ex:person> <ex:name>User One</ex:name> <ex:creationdate>2020-08-24T00:00:00-00:00</ex:creationdate> </ex:person> <ex:person> <ex:name>User Two</ex:name> <ex:creationdate>2020-10-05T07:00:00-00:00</ex:creationdate> </ex:person> </users> </data>
Unlock 200-901 to see the answer
You've previewed enough free 200-901 questions. Unlock 200-901 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#YANG#XML#Data Modeling




