Exam 200-901 Topic 4 Question 451 Discussion
Actual exam question for Cisco's 200-901 exam
Question #: 451
Topic #: 4
Question #: 451
Topic #: 4
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 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?
Suggested Answer: A Vote an answer
The 401 Unauthorized status code indicates that the request lacks valid authentication credentials. When using OAuth2 for authenticating with the Cisco Webex API, the correct approach is to include a Bearer token in the Authorization header.
Option A:
header = {"Authorization": "Bearer YOUR_TOKEN"}
This option correctly formats the Authorization header, which is necessary for the Webex API to authenticate the request. The Bearer token is a type of token used by OAuth2 to access protected resources.
Authorization Header: The header must contain the key "Authorization" with the value formatted as "Bearer YOUR_TOKEN".
Bearer Token: The Bearer keyword followed by a space and the token itself is the correct way to pass the OAuth2 token in the header.
Other Options:
Option B:
Incorrect because it uses "Authentication" instead of "Authorization".
Option C:
Incorrect because it combines Authentication and Bearer incorrectly without a space.
Option D:
Incorrect for the same reason as Option C.
Reference:
Cisco Webex API Authentication
OAuth2 Authorization Header =====================
Option A:
header = {"Authorization": "Bearer YOUR_TOKEN"}
This option correctly formats the Authorization header, which is necessary for the Webex API to authenticate the request. The Bearer token is a type of token used by OAuth2 to access protected resources.
Authorization Header: The header must contain the key "Authorization" with the value formatted as "Bearer YOUR_TOKEN".
Bearer Token: The Bearer keyword followed by a space and the token itself is the correct way to pass the OAuth2 token in the header.
Other Options:
Option B:
Incorrect because it uses "Authentication" instead of "Authorization".
Option C:
Incorrect because it combines Authentication and Bearer incorrectly without a space.
Option D:
Incorrect for the same reason as Option C.
Reference:
Cisco Webex API Authentication
OAuth2 Authorization Header =====================
by narat.learn at Jul 11, 2026, 10:45 PM
0
0
0
10
Comments
narat.learn
2026-07-11 22:45:05Upvoting 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.
Report Comment
Commenting
You can sign-up / login (it's free).