🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Automation Interview Questions: all 10 questions

Quiz: Automation Interview Questions · Question 7 of 10

What is the difference between 401 and 403?

What is the difference between 401 and 403?

  1. A.401 means not authenticated; 403 means authenticated but not allowed
  2. B.401 means not found; 403 means server error
  3. C.They are identical
  4. D.403 means the token is missing
Answer & explanation

Correct answer: 401 means not authenticated; 403 means authenticated but not allowed

A student calling an admin-only endpoint with a valid token gets 403.

Can you get the rest right without peeking?

Take the timed Quiz: Automation Interview Questions quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →