Exams > Cisco > 200-901: DevNet Associate (DEVASC)
200-901: DevNet Associate (DEVASC)
Page 2 out of 39 pages Questions 11-20 out of 390 questions
Question#11

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

  • A. cacheable
  • B. stateless
  • C. uniform interface
  • D. client-server
Discover Answer Hide Answer

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

Question#12

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

  • A. 2xx
  • B. 3xx
  • C. 4xx
  • D. 5xx
Discover Answer Hide Answer

A

Question#13

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?

  • A. Communication between the application and the services is not encrypted.
  • B. The database credentials should be stored in the configuration files so that they are secured on the same server.
  • C. The API keys are stored in the configuration files but should be stored in the vault service.
  • D. The synchronization logs should be encrypted and not stored in a relational database.
Discover Answer Hide Answer

A

Question#14


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?

  • A. times out
  • B. rate limit
  • C. pagination
  • D. invalid password
Discover Answer Hide Answer

C

Question#15

DRAG DROP -
Drag and drop the code snippets from the bottom into the Python script to write API output to a csv file. Not all options are used.
Select and Place:

Discover Answer Hide Answer


Question#16

DRAG DROP -
Drag and drop the code snippets from the bottom to the blanks in the code to test the API response through the Python unittest library. Not all options are used.
Select and Place:

Discover Answer Hide Answer


Question#17

DRAG DROP -

Refer to the exhibit. A developer is creating a Python script to obtain a list of HTTP servers on a network named office_east by using the Cisco Meraki API. The request has these requirements:
* Must time out if the response is not received within 2 seconds.
* Must utilize client certificates and SSL certificate verification.
* Must utilize basic authentication that uses a username of admin and a password of cisco.
* Must save the response to an object named response.
Drag and drop the code snippets from the bottom onto the blanks in the code to meet the requirements. Not all options are used.
Select and Place:

Discover Answer Hide Answer


Reference:
https://community.cisco.com/t5/networking-blogs/authenticating-rest-api-calls-to-dnac-getting-started/ba-p/3658058

Question#18

DRAG DROP -
Drag and drop the code snippets from the bottom to the blanks in the code to complete the HTTP response. Not all options are used.
Select and Place:

Discover Answer Hide Answer


Question#19


Refer to the exhibit. A collaboration engineer has developed a script to automate the gathering of information by providing the email address of the individual.
When the engineer tests the script, a 401 error is received. Which command fixes the script?

  • A. Add ג€Authorizationג€: ג€Bearer <WEBEX_TOKEN>ג€ to the headers.
  • B. Add ג€Authenticationג€: ג€Basic <WEBEX_TOKEN>ג€ in the base_url after ג€https://ג€.
  • C. Add ג€<Authorization>:<password>@ג€ in the base_url after ג€https://ג€.
  • D. Add ג€Authenticationג€: ג€Bearer <WEBEX_TOKEN>ג€ to the headers.
Discover Answer Hide Answer

A

Question#20

A developer is attempting to retrieve all the messages from a Cisco Webex space. The server responds by sending the first 1,000 messages. The developer must make additional requests to retrieve the rest of the messages. Which API constraint is described in this scenario?

  • A. payload limiting
  • B. throttling
  • C. pagination
  • D. rate limiting
Discover Answer Hide Answer

C

chevron rightPrevious Nextchevron right