ISC2 Certified Secure Software Lifecycle Professional (CSSLP) Practice Question
During a code review you discover that a microservice checks its production database password into the Git repository inside an application properties file. Which action best follows secure credential management practices for a cloud-native deployment?
Keep the password in code but require developers to change it every month and commit the update.
Commit the password after Base64-encoding it so it is not human-readable in the repository.
Store the password in an enterprise secrets vault and let the microservice retrieve it at runtime using its managed identity.
Move the password to a separate properties file that is listed in .gitignore but included in the container image at build time.
Hardcoding secrets in source code violates least-privilege and creates a high risk of credential exposure through repository access, logs, or backups. The recommended practice is to remove the secret from code entirely and retrieve it at runtime from a dedicated secrets-management service (for example, a vault) that authenticates the workload through a managed identity or similar mechanism. Base64 encoding only obscures the value without securing it. Storing the password in a separate, ignored file still bakes it into container images and does not control access centrally. Forcing regular password changes while keeping it in code simply repeats the same insecure pattern every month.
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 a managed identity in cloud-native deployments?
Open an interactive chat with Bash
What is an enterprise secrets vault, and how does it work?
Open an interactive chat with Bash
Why is Base64 encoding insufficient for securing passwords?
Open an interactive chat with Bash
What is an enterprise secrets vault?
Open an interactive chat with Bash
What is managed identity in cloud-native deployments?
Open an interactive chat with Bash
Why is Base64 encoding not a secure way to protect passwords?
Open an interactive chat with Bash
ISC2 Certified Secure Software Lifecycle Professional (CSSLP)
Secure Software Implementation
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 .