DEVASC 200-901 Weekly Quiz — Set 01 (Q1–Q5): Developing Applications & Automating Workflows on Cisco Core Platforms

1) RESTCONF & YANG output format

You want to retrieve interface data from an IOS-XE device using RESTCONF and receive JSON encoded per YANG. Which combination is correct?

A. GET https://router/restconf/operational/ietf-interfaces:interfaces with Accept: application/json
B. GET https://router/restconf/data/ietf-interfaces:interfaces with Accept: application/yang-data+json
C. GET https://router/api/v1/interfaces with Accept: application/xml
D. GET https://router/restconf/data/ietf-interfaces/interfaces with Accept: application/yang


2) HTTP methods & partial updates

You need to change only the description of an existing interface resource without replacing the whole interface object. Which HTTP method best matches this requirement?

A. GET
B. POST
C. PUT
D. PATCH


3) Webex (Cisco) API authentication

When sending a request to the Webex REST API to create a message, which header is required for authentication?

A. Authorization: Basic <base64 user:pass>
B. X-Auth-Token: <token>
C. Authorization: Bearer <access_token>
D. Cookie: session=<token>


4) Ansible for network automation

You must ensure an interface description is configured on a Cisco IOS-XE device in an idempotent way (no change when already correct). Which Ansible task type is most appropriate?

A. Use the command module to run conf t and interface ... lines
B. Use the ios_config module with lines: and appropriate parents:
C. Use the shell module to push a CLI script
D. Use the raw module to send CLI directly over SSH


5) Event-driven integrations vs polling (Meraki/DNA Center/Webhooks)

You’re designing an integration that reacts quickly to network events (e.g., AP down) while minimizing API calls and rate-limit risk. What’s the best approach?

A. Poll the API every 5 seconds for changes
B. Poll the API every 60 seconds and increase page size
C. Subscribe to webhooks and process events on receipt
D. Schedule a nightly batch job to collect events

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 *