
Fundamentals of Secure Software - JWT (JSON Web Token)
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of a JSON Web Token?
To store user preferences
To securely transmit information between parties
To encrypt files on a server
To manage database connections
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do JSON Web Tokens differ from traditional session-based authentication?
JWTs are stored on the server
JWTs require a database lookup for each request
JWTs are stateless and do not require server memory
JWTs cannot be used for authorization
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the three main components of a JSON Web Token?
Header, Payload, Signature
Header, Body, Footer
Payload, Signature, Footer
Header, Body, Signature
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of claim in a JWT is predefined but not mandatory?
Public claims
Private claims
Custom claims
Registered claims
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What should you avoid including in the payload of a JWT unless it is encrypted?
User preferences
Registered claims
Sensitive information
Public claims
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is the signature of a JWT used?
To manage session state
To store user roles
To verify the message wasn't altered
To encrypt the payload
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What encoding is used for the JWT header and payload?
Hexadecimal encoding
ASCII encoding
UTF-8 encoding
Base64 URL encoding
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?