exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 441 discussion

Actual exam question from Cisco's 200-901
Question #: 441
Topic #: 1
[All 200-901 Questions]



Refer to the exhibit. A software engineer needs to collect data about devices that are registered in Cisco DNA Center using the API. Before collecting the data, the engineer must obtain a token and authenticate with the API. To automate the procedure, a Python script is used. Which code snippet must be placed onto the blank in the code?

  • A. get(uri,headers = headers,data={}, verify-True)
  • B. post(uri,headers=headers,data={}, verify=False)
  • C. get(uri,headers= headers,data={}, verify=False)
  • D. post(uri,headers=headers,data={"Basic"}, verify=False)
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
peterbuza
10 months, 3 weeks ago
Selected Answer: B
Getting a token is a POST request
upvoted 4 times
...
lmqnam
11 months, 1 week ago
Selected Answer: B
B is correct. https://developer.cisco.com/docs/dna-center/#!authentication-api
upvoted 3 times
...
azafuse
11 months, 4 weeks ago
Selected Answer: B
I think B is correct https://developer.cisco.com/docs/dna-center/#!authentication-and-authorization/endpoints-and-methods-used
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago