Courseiva
mediumMultiple ChoiceObjective-mapped

CAS-004 Practice Question: A data loss prevention (DLP) solution is being…

A data loss prevention (DLP) solution is being implemented to prevent sensitive data from leaving the corporate network. Which of the following is the most effective approach for detecting structured data like credit card numbers in outbound traffic?

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

Regular expression matching

Regular expressions can match patterns like credit card numbers, while other methods are less precise or suited for different data types.

Answer analysis

Option-by-option breakdown

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

  • Keyword matching

    Why it's wrong here

    Keywords are too generic and may miss structured patterns.

  • Regular expression matching

    Why this is correct

    Regular expressions can accurately match patterns like credit card number formats.

  • Machine learning classification

    Why it's wrong here

    Machine learning is better for unstructured data and may have higher false positives.

  • Exact file hash matching

    Why it's wrong here

    Hash matching detects known files, not data patterns.

About these practice questions

One of 968 original CAS-005 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 CAS-005 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 CAS-005 exam.