CompTIA Security+ SY0-701 · Security Architecture · easy
A hospital replaces the first 12 digits of patient credit card numbers on printed receipts with asterisks (---4829) while the payment gateway replaces stored PANs in the merchant database with randomly generated non-mathematical reference values mapped in a secure vault. Which two techniques are being used, respectively?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: D. Data masking on printed receipts and tokenization in the database
Redacting characters with asterisks (* or X) while leaving the last 4 digits visible for display is Data Masking. Replacing a sensitive PAN with a randomly generated surrogate value linked only via a protected lookup vault (with no mathematical relationship to the original PAN) is Tokenization.
Why the other options are wrong
- A. Asymmetric encryption on receipts and salted hashing in the database — Hashing is one-way and cannot be detokenized via a lookup vault for recurring payment processing.
- B. Steganography on receipts and homomorphic encryption in the database — Steganography hides data inside media files, not on printed payment receipts.
- C. Tokenization on receipts and symmetric AES encryption in the database — Replacing visible digits with asterisks for display is Data Masking, whereas vault surrogates are Tokenization.
More Security Architecture questions
- A financial transaction cluster requires disk fault tolerance that can survive the simultaneous failure of any 2…
- An enterprise wants to gain visibility into shadow IT SaaS applications, enforce granular data-upload policies on…
- In a water treatment plant using legacy Programmable Logic Controllers (PLCs) on an Operational Technology (OT / ICS)…
- A disaster recovery SLA states that after a catastrophic outage, the payment service must be restored to operation…
- Under the Cloud Shared Responsibility Model, when an enterprise migrates from an on-premises data center to an…
All Security Architecture questions and the topic overview →
CompTIA and Security+ are trademarks of the Computing Technology Industry Association. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by CompTIA.