DEVASC 200-901 Weekly Quiz — Set 02 (Q6–Q10): Developing Applications & Automating Workflows on Cisco Core Platforms

6) NETCONF edit workflow (candidate vs running)

You’re automating configuration changes on an IOS-XE device that advertises the :candidate capability. You want to make multiple changes atomically and only apply them when validated. What is the correct NETCONF sequence?

A. edit-config (target=running) → commit
B. edit-config (target=candidate) → discard-changescommit
C. edit-config (target=candidate) → validatecommit
D. lock runningedit-config (target=running) → unlock


7) gNMI subscription choice for near-real-time counters

You need continuous, low-latency interface counter updates (e.g., octets, errors) from IOS-XE using OpenConfig. Which gNMI subscription is best?

A. ONCE to /interfaces/interface/state/counters
B. POLL every 60 seconds to /interfaces/interface/state/counters
C. STREAM (ON_CHANGE) to /interfaces/interface/state/counters
D. STREAM (SAMPLE) every 10 seconds to /interfaces/interface/state/counters


8) Cisco DNA Center task follow-up flow

You POST an operation to Cisco DNA Center’s intent API that returns a taskId. Minutes later, you want the final result and any detailed log. What’s the correct follow-up sequence?

A. GET /dna/intent/api/v1/task/{taskId} → if progress shows a fileId, then GET /dna/intent/api/v1/file/{fileId}
B. GET /dna/intent/api/v1/network-device/task/{taskId}GET /dna/intent/api/v1/logs/{taskId}
C. GET /dna/system/api/v1/task/{taskId} only; results are embedded in resultSet
D. Re-POST the same request body with taskId to retrieve output


9) Handling rate limits & pagination (Meraki-style REST)

Your script lists organization clients and occasionally hits API rate limits. You also need to fetch all pages. Which strategy is most robust?

A. Ignore rate-limit headers; just sleep a fixed 1 second and loop until success
B. Read Retry-After (or backoff headers), exponentially back off, then continue; for pagination follow the Link header (rel="next") until absent
C. Increase page size to the maximum and assume one request will always succeed
D. Add parallel threads to reduce overall time and overwhelm the limit quickly


10) Choosing the right OAuth 2.0 grant (Webex integration)

You’re building a backend service (no user present) that posts operational alerts into a Webex space. Which OAuth 2.0 flow fits best?

A. Authorization Code Grant with refresh tokens
B. Implicit Grant from a single-page app
C. Client Credentials Grant
D. Device Authorization Grant

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 *