Question 1
In Spring Boot 3.0, which dependency is typically required for implementing Spring Security?
spring-boot-starter-data-jpa
spring-boot-starter-security
spring-boot-starter-websocket
spring-security-jwt
Question 2
What is the primary purpose of JWT in authentication?
Encrypt database records
Store user session on the client side
Compress HTTP requests
Generate CSRF tokens
Question 3
In JWT, the payload contains:
Encrypted database schema
User claims and metadata
Password hashes
Only expiration date
Question 4
Where is the JWT typically sent in HTTP authentication requests?
In the URL query string
In the Authorization header as Bearer <token>
In cookies only
Inside HTML forms
Question 5
In Spring Security, Authorization refers to:
Verifying the user's identity
Granting access to resources based on roles/permissions
Encrypting passwords
Sending JWTs to the client
Question 6
When storing JWT-related user data in MySQL, which table is most likely required?
jwt_tokens
users with roles/authorities
http_headers
spring_session
There are 6 questions to complete.