Question 1 of 30
In a microservices architecture, you are tasked with implementing a service that handles user authentication. The service must ensure that user credentials are securely stored and that the authentication process is efficient. You decide to use JWT (JSON Web Tokens) for stateless authentication. Which of the following strategies would best enhance the security of your authentication service while maintaining performance?
Implementing short-lived access tokens with refresh tokens to minimize the risk of token theft.
Storing user passwords in plain text for faster access during authentication.
Using a single long-lived token for all user sessions to reduce the complexity of token management.
Disabling token expiration to ensure users remain logged in indefinitely.

Preparing for VMWare 2V0-72.22 Professional Develop VMware Spring? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free