Recall & Review
beginner
What is centralized authentication in microservices?
Centralized authentication means all user login and identity checks happen in one place, like a single service or server, which issues tokens or session info for other services to trust.
Click to reveal answer
beginner
What is distributed authentication in microservices?
Distributed authentication means each microservice handles its own user identity checks independently, often by validating tokens or credentials without relying on a single central service.
Click to reveal answer
intermediate
Name one advantage of centralized authentication.
It simplifies user management because all login logic and user data are in one place, making it easier to update and secure.
Click to reveal answer
intermediate
Name one challenge of distributed authentication.
It can be complex to keep user data consistent and secure across many services, and each service must implement authentication logic correctly.
Click to reveal answer
intermediate
How does token-based authentication support distributed auth?
Tokens like JWTs carry user identity and permissions, so services can verify them locally without calling a central server every time.
Click to reveal answer
Which is a key feature of centralized authentication?
✗ Incorrect
Centralized authentication means one service manages login and issues tokens for others to trust.
What is a common token format used in distributed authentication?
✗ Incorrect
JWTs are widely used tokens that carry user info and can be verified by each service independently.
Which is a disadvantage of centralized authentication?
✗ Incorrect
Centralized auth can fail if the central service goes down, affecting all services.
In distributed authentication, how do services verify user identity?
✗ Incorrect
Services verify tokens locally to avoid dependency on a central server.
Which scenario favors centralized authentication?
✗ Incorrect
Centralized auth simplifies managing users in one place.
Explain the main differences between centralized and distributed authentication in microservices.
Think about where login happens and how services trust user identity.
You got /5 concepts.
Describe advantages and challenges of using token-based authentication in distributed systems.
Focus on how tokens help services trust users independently.
You got /5 concepts.