DEVCOR 350-901 Weekly Quiz — Set 04 (Q16–Q20): Developing Applications Using Cisco Core Platforms & APIs

Q16) Handling API rate limits in Cisco platforms

Your automation hits an API rate limit and receives 429 Too Many Requests with a Retry-After: 15 header. What should your client do?

A. Immediately retry in a tight loop
B. Sleep 15 seconds (or more) before retrying the request
C. Switch to HTTP/1.0 to avoid rate limits
D. Retry with the same request but different User-Agent


Q17) Choosing a safe NETCONF workflow for multi-step changes

You must stage several dependent edits and apply them atomically, with an option to discard if validation fails. Which capability/workflow fits best?

A. Edit <running> directly using :writable-running
B. Use <candidate> with :candidate, validate, then <commit>
C. Use <lock> on <running> and <get> afterward
D. Use <confirmed-commit> without a candidate datastore


Q18) Parsing CLI output into structured data in pyATS

You want to programmatically parse show ip interface brief into a Python dictionary for assertions. Which library should you use?

A. genie.libs.parser
B. ncclient
C. paramiko
D. requests


Q19) Telemetry delivery model on IOS-XE

You need the collector to initiate and maintain telemetry sessions to IOS-XE using gNMI. Which delivery model describes this?

A. Dial-out telemetry
B. Dial-in telemetry
C. SNMP informs
D. IPFIX export


Q20) Enforcing referential integrity in YANG

Your service model has a leaf that must reference a valid interface name defined elsewhere in the datastore. Which YANG type/statement enforces this?

A. identityref
B. leafref
C. typedef
D. anyxml

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 *