exam questions

Exam 350-201 All Questions

View all questions & answers for the 350-201 exam

Exam 350-201 topic 1 question 82 discussion

Actual exam question from Cisco's 350-201
Question #: 82
Topic #: 1
[All 350-201 Questions]


Refer to the exhibit. How are tokens authenticated when the REST API on a device is accessed from a REST API client?

  • A. The token is obtained by providing a password. The REST client requests access to a resource using the access token. The REST API validates the access token and gives access to the resource.
  • B. The token is obtained by providing a password. The REST API requests access to a resource using the access token, validates the access token, and gives access to the resource.
  • C. The token is obtained before providing a password. The REST API provides resource access, refreshes tokens, and returns them to the REST client. The REST client requests access to a resource using the access token.
  • D. The token is obtained before providing a password. The REST client provides access to a resource using the access token. The REST API encrypts the access token and gives access to the resource.
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
tukan
Highly Voted 3 years, 7 months ago
I think A is corect
upvoted 6 times
...
27ea763
Most Recent 4 months, 4 weeks ago
Selected Answer: A
A is correct. Look at the flow
upvoted 1 times
...
TrainingTeam
8 months ago
Selected Answer: A
In the context of REST API authentication, the process typically involves the REST client first obtaining an access token by providing the necessary credentials, which usually include a password. Once the REST client has the access token, it uses this token to request access to a specific resource on the server. The REST API then validates the provided access token to ensure it is correct and has not expired. If the token is valid, the REST API grants the client access to the requested resource. This method ensures that only authenticated clients can access resources, providing a layer of security for the API.
upvoted 1 times
...
jay_c_an
2 years, 3 months ago
This question is on recent test. I believe answer A is correct. Token is generated by Oauth authorization server after user credential is validated.
upvoted 2 times
...
DrVoIP
2 years, 4 months ago
B. The token is obtained by providing a password. The REST API requests access to a resource using the access token, validates the access token, and gives access to the resource. When a user logs in with their credentials, the REST API generates a token, which is then used to authenticate subsequent requests. The REST client sends the token with each request to the REST API, which validates the token and provides access to the requested resource if the token is valid. The user's password is used only to obtain the initial token, which is then used for subsequent authentication. - ChatGPT
upvoted 1 times
...
ETSec
2 years, 5 months ago
A. The token is obtained by providing a password. The REST client requests access to a resource using the access token. The REST API validates the access token and gives access to the resource. In this method, the REST API client first obtains an access token by providing a password or other form of authentication. The client then sends a request to the REST API, including the access token, to access a specific resource. The REST API verifies the token and if it's valid, it grants access to the requested resource.
upvoted 3 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 ...