Cisco® 200-901 Exam (page: 19)
Cisco® DevNet Associate (DEVASC)
Updated on: 01-Sep-2025

Viewing Page 19 of 106

Refer to the exhibit.



A Python code has been written to query a device. The executed code results in the error shown. Which action resolves the problem?

  1. import json
  2. requests('''?GET'''?, base_url + request_url, cookies=cookies)
  3. pip install requests
  4. import requests

Answer(s): D



Which REST architectural constraint indicates that no client context should be stored on the server between requests?

  1. cacheable
  2. stateless
  3. uniform interface
  4. client-server

Answer(s): B


Reference:

https://developer.cisco.com/docs/nx-os/#!representational-state-transfer-rest



Which HTTP code group is issued when a request is received successfully, understood, and processed?

  1. 2xx
  2. 3xx
  3. 4xx
  4. 5xx

Answer(s): A



A developer creates a web application that receives a username and password and uses them to sync the credentials to other services through HTTPS. API keys to services are part of the configuration files of the application, but the credentials to the database that stores the synchronization logs are obtained through an external vault service. What is the security issue in this scenario?

  1. Communication between the application and the services is not encrypted.
  2. The database credentials should be stored in the configuration files so that they are secured on the same server.
  3. The API keys are stored in the configuration files but should be stored in the vault service.
  4. The synchronization logs should be encrypted and not stored in a relational database.

Answer(s): A



Refer to the exhibit.


An engineer writes a Python script that uses two different API calls to query Cisco DNA Center for the number of interfaces on a device. The engineer notices that the two API calls produce different results. Why are fewer interfaces returned for the same device when the 'get_all_interfaces' API call is used?

  1. times out
  2. rate limit
  3. pagination
  4. invalid password

Answer(s): C



Viewing Page 19 of 106



Share your comments for Cisco® 200-901 exam with other users:

Edrick GOP 10/24/2023 6:00:00 AM

it was a good experience and i got 90% in the 200-901 exam.
Anonymous