ISC2 Certified Secure Software Lifecycle Professional (CSSLP) Practice Question
During threat modeling of a new SaaS product, you discover that each microservice maintains its own user table and locally hashed passwords. To shrink the attack surface and support centralized user de-provisioning when employees leave, which redesign should you propose to the development team?
Shard the existing user tables across multiple databases to improve isolation.
Store user credentials as environment variables that are injected into each container at build time.
Integrate all services with a centralized identity provider and accept OAuth 2.0/OpenID Connect tokens for authentication.
Replace password logins with unique API keys generated and stored by each microservice.
Delegating authentication to a centralized identity provider that issues short-lived OAuth 2.0 or OpenID Connect tokens lets every microservice accept a signed token instead of storing credentials. A single IAM system applies uniform access policies, and once an account is disabled the user can no longer obtain new tokens; any existing short-lived tokens will soon expire, so access is revoked without touching every service. Sharding the user tables merely spreads the same credential risk, per-service API keys still require separate key stores and manual revocation, and injecting credentials as build-time environment variables is insecure and offers no lifecycle management.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is OAuth 2.0/OpenID Connect and how do they enhance authentication?
Open an interactive chat with Bash
How does a centralized identity provider improve security?
Open an interactive chat with Bash
Why is storing credentials as environment variables or using API keys considered insecure?
Open an interactive chat with Bash
ISC2 Certified Secure Software Lifecycle Professional (CSSLP)
Secure Software Concepts
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .