Courseiva

DA0-002 Data Concepts and Environments Practice Question

A company requires real-time masking of credit card numbers for customer support agents while allowing full access for accountants. Which technique should be implemented?

⚠ Common exam trap

CompTIA often tests the misconception that encryption or tokenization can provide real-time, role-based masking, but these technologies either require decryption (exposing the full value) or introduce latency and storage overhead, making dynamic data masking the only correct choice for this use case.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Dynamic data masking

Dynamic data masking (DDM) applies masking rules at query runtime based on user privileges, allowing accountants full access while customer support agents see only masked credit card numbers. Unlike static masking, DDM does not alter the underlying stored data, making it ideal for real-time, role-based obfuscation without duplicating or transforming the database.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Dynamic data masking

    Why this is correct

    Dynamic data masking obscures credit card numbers in query results at runtime based on the requesting user's role, so support agents see masked values while accountants retain full access. Static masking would alter stored data permanently, failing the real-time requirement.

  • ✗

    Tokenization

    Why it's wrong here

    Tokenization replaces a card number with a surrogate value mapped in a separate vault, but reversing it requires a lookup service, so it does not deliver display masking in real time. It is tempting because it reduces PCI DSS scope, which is the correct choice when stored card data must be removed from systems entirely.

  • ✗

    Static data masking

    Why it's wrong here

    Static masking rewrites stored values permanently, so support agents would see masked data but accountants could not retrieve the original card numbers at all. Dynamic masking applies masking at query time based on the caller's role, which is what this scenario requires.

  • ✗

    Data encryption

    Why it's wrong here

    Encryption renders stored data unreadable without a key, but anyone holding the decryption key sees the full credit card number, so agents would not receive masked values. It is tempting because encryption is the default protection for data at rest, and it is correct when the threat is unauthorised access to stored files.

About these practice questions

One of 1,004 original DA0-002 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This DA0-002 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DA0-002 exam.