Security Architecture

A developer needs a copy of the production customer database for testing. Names and card numbers must look realistic and keep their format, but the real values must never be recoverable. Which method fits?

Show the answer

Correct answerA. Masking

AWhy this is right: Masking substitutes realistic, format-preserving values that cannot be reversed to the originals.

BWhy not this: Hashes are irreversible but are fixed-length digests that break the expected name and card formats.

CWhy not this: Encrypted values can be decrypted with the key, and ciphertext doesn't keep a realistic format.

DWhy not this: A token vault maps tokens back to real values, so the originals remain recoverable.

Masking replaces real values with realistic, format-preserving substitutes that cannot be reversed, which suits test data. Tokenization is tempting, but its vault maps tokens back to the originals, so the real values stay recoverable.