Courseiva
Cloud Application SecurityeasyMultiple ChoiceObjective-mapped

CCSP Cloud Application Security Practice Question

A company is moving a legacy application to the cloud. The application uses hard-coded passwords for database connections. Which secure development practice should be implemented to address this issue?

⚠ Common exam trap

ISC2 often tests the distinction between 'encryption at rest' (protecting stored data) and 'secrets management' (protecting credentials used to access that data), leading candidates to confuse data protection with credential protection.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Secrets management

Hard-coded passwords in application code violate the principle of least privilege and create a persistent security risk if the code is exposed. Secrets management (D) addresses this by storing database credentials in a secure, centralized vault (e.g., HashiCorp Vault, AWS Secrets Manager) and retrieving them at runtime via API calls, eliminating the need to embed passwords in source code or configuration files.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Multi-factor authentication

    Why it's wrong here

    Multi-factor authentication is an access control mechanism, not a practice for managing hard-coded secrets.

  • Input validation

    Why it's wrong here

    Input validation protects against injection attacks, not against hard-coded passwords.

  • Encryption at rest

    Why it's wrong here

    Encryption at rest protects stored data but does not address the issue of hard-coded credentials.

  • Secrets management

    Why this is correct

    Secrets management securely stores and retrieves credentials, removing the need for hard-coded passwords.

About these practice questions

This CCSP question is part of Courseiva's 964-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CCSP practice question is part of Courseiva's free ISC2 certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CCSP exam.