DEVCOR 350-901 Weekly Quiz — Set 03 (Q11–Q15): Developing Applications Using Cisco Core Platforms & APIs

Q11) Partial vs. full updates over RESTCONF

You need to change only the description of interface GigabitEthernet1 using the standard ietf-interfaces model. Which HTTP method is most appropriate?

A. PUT the full interface resource
B. PATCH the specific interface with only the description in the body
C. POST to /restconf/operations/ietf-interfaces:interfaces
D. DELETE and recreate the interface with POST


Q12) NETCONF filtering for selective retrieval

You must fetch only the descriptions of interfaces whose names start with “GigabitEthernet” via a single <get> request. Which filter type best fits?

A. No filter (retrieve everything)
B. Subtree filter
C. XPath filter
D. JSON filter


Q13) HTTP status when DNA Center token expires

Your script calls Cisco DNA Center’s REST API with an expired access token. Which HTTP status code should you expect?

A. 200 OK
B. 401 Unauthorized
C. 403 Forbidden
D. 429 Too Many Requests


Q14) gNMI encoding choice for human-readable payloads

You want telemetry updates in a human-readable JSON format that aligns with IETF JSON encoding of YANG data. Which gNMI encoding should you request?

A. BYTES
B. PROTO
C. JSON_IETF
D. ASCII


Q15) YANG modeling for referential integrity

A service model needs a leaf that references an existing interface name in another part of the data tree to ensure only valid interfaces are chosen. Which YANG statement is designed for this?

A. must
B. when
C. leafref
D. identityref

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *