Security interview questions

18 real Security questions from the Spring bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is Authentication?

Junior
  1. A.the abstraction for one-way hashing and verifying credentials, with BCrypt as the common implementation
  2. B.a compact, self-contained signed token carrying claims, often used for stateless authentication across requests
  3. C.the bean defining the ordered chain of servlet filters that intercept requests to enforce protection rules
  4. D.the process of verifying who a principal is, typically by checking credentials
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.Authentication — the process of verifying who a principal is, typically by checking credentials
  2. B.Authentication — the process of deciding whether an already-identified principal may access a resource or action
  3. C.Authentication — the delegated authorization standard letting an app obtain limited access to a user's resources without their password
  4. D.Authentication — a compact, self-contained signed token carrying claims, often used for stateless authentication across requests
Reveal the answer + AI explanation — free account

4. What is Authorization?

Junior
  1. A.the delegated authorization standard letting an app obtain limited access to a user's resources without their password
  2. B.the process of deciding whether an already-identified principal may access a resource or action
  3. C.a compact, self-contained signed token carrying claims, often used for stateless authentication across requests
  4. D.the process of verifying who a principal is, typically by checking credentials
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.Authorization — a compact, self-contained signed token carrying claims, often used for stateless authentication across requests
  2. B.Authorization — the delegated authorization standard letting an app obtain limited access to a user's resources without their password
  3. C.Authorization — the abstraction for one-way hashing and verifying credentials, with BCrypt as the common implementation
  4. D.Authorization — the process of deciding whether an already-identified principal may access a resource or action
Reveal the answer + AI explanation — free account

7. What is SecurityFilterChain?

Mid
  1. A.the process of deciding whether an already-identified principal may access a resource or action
  2. B.the process of verifying who a principal is, typically by checking credentials
  3. C.the abstraction for one-way hashing and verifying credentials, with BCrypt as the common implementation
  4. D.the bean defining the ordered chain of servlet filters that intercept requests to enforce protection rules
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.SecurityFilterChain — the abstraction for one-way hashing and verifying credentials, with BCrypt as the common implementation
  2. B.SecurityFilterChain — the process of verifying who a principal is, typically by checking credentials
  3. C.SecurityFilterChain — the bean defining the ordered chain of servlet filters that intercept requests to enforce protection rules
  4. D.SecurityFilterChain — the process of deciding whether an already-identified principal may access a resource or action
Reveal the answer + AI explanation — free account

10. What is PasswordEncoder?

Mid
  1. A.the process of deciding whether an already-identified principal may access a resource or action
  2. B.the delegated authorization standard letting an app obtain limited access to a user's resources without their password
  3. C.the abstraction for one-way hashing and verifying credentials, with BCrypt as the common implementation
  4. D.a compact, self-contained signed token carrying claims, often used for stateless authentication across requests
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.PasswordEncoder — a compact, self-contained signed token carrying claims, often used for stateless authentication across requests
  2. B.PasswordEncoder — the abstraction for one-way hashing and verifying credentials, with BCrypt as the common implementation
  3. C.PasswordEncoder — the delegated authorization standard letting an app obtain limited access to a user's resources without their password
  4. D.PasswordEncoder — the bean defining the ordered chain of servlet filters that intercept requests to enforce protection rules
Reveal the answer + AI explanation — free account

13. What is JWT?

Senior
  1. A.the process of deciding whether an already-identified principal may access a resource or action
  2. B.a compact, self-contained signed token carrying claims, often used for stateless authentication across requests
  3. C.the process of verifying who a principal is, typically by checking credentials
  4. D.the bean defining the ordered chain of servlet filters that intercept requests to enforce protection rules
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Senior
  1. A.JWT — the abstraction for one-way hashing and verifying credentials, with BCrypt as the common implementation
  2. B.JWT — the delegated authorization standard letting an app obtain limited access to a user's resources without their password
  3. C.JWT — a compact, self-contained signed token carrying claims, often used for stateless authentication across requests
  4. D.JWT — the process of deciding whether an already-identified principal may access a resource or action
Reveal the answer + AI explanation — free account

16. What is OAuth2?

Senior
  1. A.the abstraction for one-way hashing and verifying credentials, with BCrypt as the common implementation
  2. B.the bean defining the ordered chain of servlet filters that intercept requests to enforce protection rules
  3. C.the process of verifying who a principal is, typically by checking credentials
  4. D.the delegated authorization standard letting an app obtain limited access to a user's resources without their password
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Senior
  1. A.OAuth2 — the bean defining the ordered chain of servlet filters that intercept requests to enforce protection rules
  2. B.OAuth2 — the delegated authorization standard letting an app obtain limited access to a user's resources without their password
  3. C.OAuth2 — a compact, self-contained signed token carrying claims, often used for stateless authentication across requests
  4. D.OAuth2 — the abstraction for one-way hashing and verifying credentials, with BCrypt as the common implementation
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Security free