CompTIA Security+ (SY0-701) — Question 607
Which of the following is used to conceal credit card information in a database log file?
Answer options
- A. Tokenization
- B. Masking
- C. Hashing
- D. Obfuscation
Correct answer: B
Explanation
Masking is the correct answer because it specifically alters the data to hide sensitive information while allowing the format to remain intact. Tokenization replaces the sensitive data with non-sensitive equivalents, while hashing transforms data into a fixed-size string, making it irreversible. Obfuscation, while it can hide information, does not specifically focus on credit card details.