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