exam questions

Exam 200-301 All Questions

View all questions & answers for the 200-301 exam

Exam 200-301 topic 1 question 770 discussion

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

Which definition describes JWT in regard to REST API security?

  • A. an encrypted JSON token that is used for authentication
  • B. an encrypted JSON token that is used for authorization
  • C. an encoded JSON token that is used to securely exchange information
  • D. an encoded JSON token that is used for authentication
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
Ciscoman021
Highly Voted 2 years ago
Selected Answer: D
JWT (JSON Web Token) is an encoded JSON token that is commonly used in REST API security for authentication and authorization. Therefore, the correct answer is D - "an encoded JSON token that is used for authentication".
upvoted 5 times
...
Mimon
Most Recent 1 week, 5 days ago
Selected Answer: C
https://jwt.io/introduction#:~:text=Information%20Exchange%3A%20JSON%20Web%20Tokens%20are%20a%20good%20way%20of%20securely%20transmitting%20information%20between%20parties.
upvoted 1 times
...
zbeugene7
6 months, 3 weeks ago
Forgot that some people at the aforementioned company let's say don't have perfect English. If the manual states: " When a user authenticates with a REST API, the server generates a JWT token that contains user information, such as the user ID and access privileges. " that means it's not used for authentication , means token is THE RESULT of authentication and it means it's used for authorization
upvoted 1 times
zbeugene7
6 months, 3 weeks ago
For secure information exchange other tools are used: encryption, message integrity, and of course indirectly the JWT
upvoted 1 times
...
...
Elmir42
9 months, 1 week ago
Option C could also be considered correct because JWTs are indeed used to securely exchange information, but in the specific context of REST API security, D is the most accurate answer.
upvoted 1 times
...
IgorLVG
9 months, 3 weeks ago
Selected Answer: C
C is the best solution
upvoted 1 times
...
[Removed]
1 year ago
Selected Answer: D
it´s D
upvoted 1 times
...
[Removed]
1 year, 3 months ago
Selected Answer: D
https://jwt.io/introduction for C we need also key
upvoted 1 times
...
Starlord2535
1 year, 4 months ago
JWT, or JSON Web Token, is an encoded JSON token that is used to securely exchange information. It is a compact and self-contained way for securely transmitting information between parties as a JSON object. JWTs can be signed using a secret (with the HMAC algorithm) or a public/private key pair using RSA or ECDSA. They are commonly used for authentication and authorization in REST API security 2 3 . Therefore, the correct definition of JWT in regard to REST API security is: C. an encoded JSON token that is used to securely exchange information Option D is not the best choice because while JWTs can be used for authentication, they are not limited to that purpose. JWTs are designed to be a compact, self-contained way of securely transmitting information between parties as a JSON object. This makes them suitable for a wide range of use cases, including authentication, authorization, and information exchange. Therefore, it is more accurate to describe JWTs as an encoded JSON token that is used to securely exchange information, rather than exclusively for authentication.
upvoted 1 times
...
PassRon
1 year, 4 months ago
JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object.
upvoted 2 times
...
dropspablo
1 year, 10 months ago
JWT, which stands for JSON Web Token, is a technique defined in RFC 7519 for remote authentication between two parties. It is one of the most used ways to authenticate users in RESTful APIs. What is JSON Web Token? JWT (JSON Web Token) is an industry standard RCT 7519 method for performing two-party authentication via a signed token that authenticates a web request. This token is a Base64 code that stores JSON objects with the data that allow authentication of the request. https://www.devmedia.com.br/como-o-jwt-funciona/40265
upvoted 1 times
dropspablo
1 year, 10 months ago
I believe answer D, because "This token is a Base64 code that stores JSON objects with the data that allow authentication of the request."
upvoted 1 times
...
...
espandrews
1 year, 11 months ago
C and D are correct. -this ciscodump is a wonderful journey
upvoted 3 times
espandrews
1 year, 11 months ago
this is what my AI friend says on this matter: Both statements are correct. JWTs are used to securely transmit information between parties as a JSON object . This information can include authentication and authorization data, allowing the recipient to verify the identity of the sender and determine what resources they have access to . So while JWTs can be used for securely exchanging information, they are primarily used for authentication and authorization purposes.
upvoted 1 times
...
...
Zortex
2 years, 1 month ago
D. an encoded JSON token that is used for authentication JSON Web Tokens (JWT) is an open standard for securely transmitting information between parties as a JSON object. In the context of REST API security, JWT is typically used for authentication purposes. It is a compact, URL-safe means of representing claims to be transferred between two parties. When a user authenticates with a REST API, the server generates a JWT token that contains user information, such as the user ID and access privileges. The token is then sent to the client, typically in the form of an HTTP header, and is included in subsequent requests to the API. The server then validates the token to ensure that it was issued by a trusted authority and that it has not been tampered with. If the token is valid, the server grants access to the requested resources. If the token is invalid or has expired, the server denies access to the resources. Therefore, the correct definition of JWT in regard to REST API security is that it is an encoded JSON token that is used for authentication.
upvoted 4 times
...
danny43213
2 years, 2 months ago
JSON Web Token (JWT) is an open standard ( RFC 7519 ) that defines a compact and self-contained way for securely transmitting information between parties as a JSON
upvoted 2 times
...
[Removed]
2 years, 6 months ago
Check this: https://www.examtopics.com/discussions/cisco/view/79793-exam-350-401-topic-1-question-427-discussion/#:~:text=Which%20definition%20describes%20JWT%20in,that%20is%20used%20for%20authentication
upvoted 1 times
...
splashy
2 years, 7 months ago
Selected Answer: D
https://www.rfc-editor.org/rfc/rfc7519#ref-JWS https://en.wikipedia.org/wiki/JSON_Web_Token#Use https://medium.com/emblatech/secure-your-spring-restful-apis-with-jwt-a-real-world-example-bfdd2679db5f
upvoted 2 times
splashy
2 years, 6 months ago
And a week later... It's encoded It exchanges more info then just authentication https://jwt.io/introduction/ It's probably C :)
upvoted 3 times
oatmealturkey
2 years, 2 months ago
I still think the answer is D. JWT provides authentication, but technically it does not in itself provide security to the information that is being exchanged, because without HTTPS (TLS), the information can still be intercepted and the JWT can be stolen. But please correct me if I'm wrong!
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago