
CISA exam practice question: daily practice for the Certified Information Systems Auditor (CISA) exam — domain: Protection of Information Assets.
Question
An IT auditor finds that a database is encrypted, but the encryption keys are stored on the same application server in plaintext within a configuration file. Which control most effectively mitigates the risk that an attacker who compromises the server can obtain the keys and decrypt the database?
Show the answer and explanation
Correct answer: A. Place keys in a tamper-resistant Hardware Security Module (HSM) or dedicated key management appliance with strict access controls and non-exportable keys.
Storing keys in an HSM or dedicated key management appliance provides physical and logical separation of keys from data, enforces non-exportability, strong access controls, and tamper resistance — the most effective way to prevent a server compromise from yielding usable keys. Tightening administrator controls (option B) reduces risk but still leaves keys co-located with the application and vulnerable if the server is breached. Key rotation (option C) reduces exposure duration but does not prevent immediate compromise when keys are stored on the server. Encrypting keys with a KEK on an offsite backup server (option D) can help, but if the KEK is software-stored or accessible, it may still be compromised; proper KEK management can be complex and is generally less robust than an HSM that enforces key protections in hardware.
Want more practice?
Prepare for the Certified Information Systems Auditor (CISA) exam with IT Department Audit: Risk, IT Control and Governance Evaluation.
