← All topics
Quiz: Security and JWT: questions with answers
10 questions, each with the answer and a short explanation.
Take the timed quiz + get a certificate →- Q1. A logged-in STUDENT tries to delete a course and is refused. Which status is correct?
- Q2. Which statement about a JWT's payload is TRUE?
- Q3. Why is CSRF protection disabled in this API?
- Q4. How should passwords be stored?
- Q5. Where should the enrolling student's identity come from?
- Q6. A token's payload is changed by one character in transit. What happens when the API checks it?
- Q7. Which part of the request carries the JWT to the Course API?
- Q8. Why does a failed login return 401 without saying whether the email exists?
- Q9. Why is bcrypt preferred over MD5 or SHA-1 for passwords?
- Q10. What does SessionCreationPolicy.STATELESS mean in this API?