🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: Passwords and Authentication: questions with answers

10 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. Why is SHA-256 alone a bad choice for storing passwords?
  2. Q2. What is the purpose of a per-user salt?
  3. Q3. Attackers try email/password pairs leaked from another website. This is:
  4. Q4. In the rate-limiter demo, how many of the 7 attempts (at seconds 0–60) were allowed?
  5. Q5. Which MFA method is resistant to phishing?
  6. Q6. Why is encrypting passwords with AES worse than hashing them with a slow, salted hash?
  7. Q7. Which algorithms are suitable for storing passwords?
  8. Q8. An attacker tries the password "Welcome@123" against thousands of different accounts. What is this called?
  9. Q9. Why should the login error be the same for "no such email" and "wrong password"?
  10. Q10. What should happen to the session id right after a successful login?