exam questions

Exam 200-901 All Questions

View all questions & answers for the 200-901 exam

Exam 200-901 topic 1 question 85 discussion

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


Refer to the exhibit. A developer creates a Python script that queries Cisco Webex. When the script is executed, a 401 code is returned. After troubleshooting, the developer discovers that the service is missing privileges. Which change to the header in line 4 of the script results in the code 200?

  • A. header = {ג€Authenticationג€: ג€Bearer YOUR_TOKENג€}
  • B. header = {ג€Authentication Bearerג€ : ג€YOUR_TOKENג€
  • C. header = {ג€Authorization Bearerג€ : ג€YOUR_TOKENג€}
  • D. header = {ג€Authorizationג€ : ג€Bearer YOUR_TOKENג€}
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
throwaway_account
Highly Voted 5 months ago
Pro tip on these questions that have jacked-up formatting with the ג€ special chars. Go to DevTools (Press F12 in Chrome), go to the Console tab, and run this: document.body.innerHTML = document.body.innerHTML.replace(/ג€/g, "'") That will replace all of the junk chars on your current page with the proper single quotes. Sad that we pay hundreds for this site, and they can't render text properly.
upvoted 6 times
...
macxsz
Most Recent 1 year, 4 months ago
Selected Answer: D
D Very easy. Format is authorization:Bearer token
upvoted 4 times
...
Eng_H
1 year, 6 months ago
What is the difference between A and D?
upvoted 1 times
ThePokemonNuzlockingMaster
1 year, 5 months ago
A says "Authentication" D says "Authorization" Authorization is always the correct syntax within the header
upvoted 2 times
...
...
[Removed]
1 year, 7 months ago
header = {"Authorization": "Bearer XYzdfsdfsd234sad4"}
upvoted 1 times
...
designated
1 year, 8 months ago
Selected Answer: D
It is D. Why? - OAuth 2.0 uses Bearer Authentication: Authorization: Bearer <Bearer Token>
upvoted 3 times
...
CTshirt
1 year, 9 months ago
It's D
upvoted 4 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