Securing Credit Card Data: Masking vs Tokenization

Which of the following methods to secure credit card data is best to use when a requirement is to see only the last four numbers on a credit card?

  1. Encryption
  2. Hashing
  3. Masking Correct Answer
  4. Tokenization
Answer Correct answer: C — Masking is used to hide sensitive credit card digits while allowing authorized users to view the last four numbers of the original data.

Community Votes

C
100%

100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

The core trap is confusing masking (hiding characters in-place) with tokenization (replacing data entirely). The requirement to 'see only the last four numbers' implies the original format is preserved.

This question tests the distinction between data obfuscation techniques for PCI DSS compliance. The correct answer is masking, which hides sensitive digits while allowing partial visibility of the original data.

Many learners select Tokenization because it is a strong security control, but tokenization replaces the card number with a random string, making it impossible to see the original last four digits without a lookup.

Community Discussion (8 comments)

ProudFather 👍 5 Selected: C
Masking involves hiding sensitive information by replacing it with a specific character, such as an asterisk (*). In the case of credit card numbers, masking would typically involve displaying only the last four digits, while the rest of the numbers are replaced with asterisks. This allows for partial visibility of the card number while protecting the sensitive information.
63f8be6 👍 1 Selected: C
i will go for masking.
pindinga1 👍 1 Selected: D
Tokenizacion is Right
famuza77 👍 1
It is Tokenization
rrynzon 👍 2
this is wrong, the correct answer is "tokenization"
jafyyy 👍 4
C. Masking - is used to protect sensitive information while still allowing authorized users to view a portion of the data like a credit card number.
Sol_tyty 👍 2
GPT!!!
qacollin 👍 2 Selected: C
C . GPT

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

Masking is the process of hiding specific parts of sensitive data while leaving the rest visible, typically by replacing characters with asterisks or hashes. In the context of credit card processing and PCI DSS standards, displaying only the last four digits is the standard implementation of masking. This allows support agents or systems to verify the identity of the cardholder without exposing the full Primary Account Number (PAN), satisfying the requirement to "see only the last four numbers."

Why the Other Options Are Wrong

Encryption transforms data into ciphertext that cannot be read without a key; it does not allow for viewing partial plaintext digits like the last four. Hashing is a one-way function that produces a fixed-length string; it is irreversible, so you cannot derive the last four digits from a hash. Tokenization replaces the sensitive data with a non-sensitive equivalent (token) that has no intrinsic value; the token does not resemble the original card number, so you cannot view the actual last four digits of the real card through the token alone.

Community Comment Notes

The community vote heavily favored Masking (C), aligning with the official exam logic. Some users argued for Tokenization, noting its superior security posture in storage/transit, but they missed the specific constraint of retaining visibility of the original digits. As one commenter noted, "this is wrong, the correct answer is 'tokenization'", but this overlooks the functional requirement of the question. Another user simply stated "Tokenizacion is Right", ignoring the definition of masking. The consensus correctly identifies that if you need to see the last four digits, the data must still be the original PAN, just obscured.

Exam Strategy

Always look for keywords regarding 'visibility' or 'partial display'. If the system needs to show part of the original data (like the last 4 digits), it is masking. If the data is replaced entirely for security/storage, it is tokenization.

Frequently Asked Questions

Why isn't tokenization the right answer here?

Tokenization replaces the card number with a random token. You cannot view the original last four digits from the token itself; a lookup is required.

Does masking comply with PCI DSS?

Yes, masking is explicitly recommended by PCI DSS to protect cardholder data when full PAN visibility is not required.

More SY0-701 FAQ →

Related Analysis

Practice All SY0-701 Questions

Access 100 questions with complete answers and detailed explanations.

View Full SY0-701 Practice Test →

← Back to SY0-701 Study Guide