WAPT 2 - JWT

WAPT 2 - JWT

Professional Development

31 Qs

quiz-placeholder

Similar activities

CCSA-4

CCSA-4

Professional Development

35 Qs

DP-300 Full MCQ Set

DP-300 Full MCQ Set

Professional Development

31 Qs

WAPT 2 - SQL

WAPT 2 - SQL

Professional Development

34 Qs

IT Services Quiz

IT Services Quiz

Professional Development

27 Qs

Introduction To Power Projects

Introduction To Power Projects

Professional Development

30 Qs

Securing Devices and Data

Securing Devices and Data

Professional Development

30 Qs

Cybersecurity Core Functions-QUIZ

Cybersecurity Core Functions-QUIZ

Professional Development

27 Qs

Linux - SSH Quiz

Linux - SSH Quiz

Professional Development

30 Qs

WAPT 2 - JWT

WAPT 2 - JWT

Assessment

Quiz

Information Technology (IT)

Professional Development

Medium

Created by

Nafish Alam

Used 2+ times

FREE Resource

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which part of a JWT is used to verify the token's integrity?

Header

Payload

Signature

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of the payload in a JWT?

To encrypt sensitive data

To store claims or data

To verify the integrity of the token

To specify the algorithm used

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which algorithm is commonly used for signing JWTs?

MD5

RSA

HMAC-SHA256

AES-128

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does "exp" claim in a JWT represent?

Issuer of the token

Expiry time of the token

Subject of the token

Not Before time

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which header field in JWT specifies the type of token?

typ

alg

kid

iss

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A JWT token is signed using HS256, and you don't have the secret key. What can you do?

Generate a new JWT with a random secret key

Modify the token without verifying the signature

Use a brute force attack to find the secret key

Modify the payload and it will work without the key

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You encounter a JWT where the `alg` field is set to `none`. What does this imply?

The token is invalid

The token is not signed

The token uses a custom algorithm

The token cannot be decoded

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?