In a scenario involving microservices architecture, why would JWT be preferred over traditional session-based authentication?
- Compatibility with legacy systems
- Simplicity and ease of implementation
- Stateless nature and scalability
- Tight coupling between services
JWT is preferred in microservices architectures due to its stateless nature, making it scalable and efficient. It eliminates the need for centralized session management.
Loading...
Related Quiz
- In a scenario where an external API is unavailable for testing, what is the most effective alternative?
- How does Perfect Forward Secrecy (PFS) enhance TLS in web services?
- _______ enables automated deployment, scaling, and operations of application containers across clusters of hosts in Kubernetes.
- When integrating a third-party web service, how does WSDL assist in the initial setup process?
- The concept of _______ is crucial in RESTful services to ensure that the client and server are loosely coupled.