Question 829 of 1,000
Trust and security with Google CloudeasyMultiple ChoiceObjective-mapped

Cloud DLP for Scanning Cloud Storage

This GCDL practice question tests your understanding of trust and security with google cloud. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A company is concerned that employees might accidentally or maliciously upload sensitive personal data (such as credit card numbers or Social Security Numbers) to Cloud Storage buckets. Which Google Cloud product can automatically scan uploaded files and identify sensitive data patterns?

Quick Answer

The answer is Cloud DLP (Data Loss Prevention), which is the correct choice because it is purpose-built to scan Cloud Storage for sensitive data patterns like credit card numbers and Social Security Numbers using built-in detectors called infoTypes. When files are uploaded to a bucket, Cloud DLP can automatically inspect the content, apply pattern matching such as the Luhn check for credit cards, and trigger actions like redaction or logging if sensitive data is found. On the Google Cloud Digital Leader exam, this question tests your understanding of how native security services integrate with storage to prevent data leaks, often appearing as a scenario where an organization needs automated scanning without custom code. A common trap is confusing Cloud DLP with Cloud Data Loss Prevention API or Cloud Armor, but remember that DLP focuses on data classification and inspection, not network security. Memory tip: DLP stands for “Data Leak Prevention,” and it’s the detective that reads every file in your bucket for secrets.

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

Cloud DLP (Data Loss Prevention), which scans Cloud Storage objects for sensitive data types like credit card numbers and SSNs using built-in pattern detection

Cloud DLP (Data Loss Prevention) is the correct service because it is specifically designed to inspect and classify sensitive data within Cloud Storage objects. It uses built-in detectors (infoTypes) to identify patterns like credit card numbers (Luhn check) and Social Security Numbers, and can trigger automated actions such as redaction or logging when sensitive data is found.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

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

  • Cloud Armor, which inspects incoming HTTP requests for sensitive data patterns

    Why it's wrong here

    Cloud Armor inspects HTTP request content for web attack patterns (SQL injection, XSS). It is not designed to scan Cloud Storage objects for sensitive data patterns in files.

  • Cloud DLP (Data Loss Prevention), which scans Cloud Storage objects for sensitive data types like credit card numbers and SSNs using built-in pattern detection

    Why this is correct

    Cloud DLP is the correct answer. It has 150+ built-in infoTypes for detecting sensitive data patterns (credit card numbers matching Luhn algorithm, SSN format detection, etc.) and can scan Cloud Storage objects on a scheduled or triggered basis, flagging or de-identifying findings.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Cloud Logging, which records all file upload events to Cloud Storage

    Why it's wrong here

    Cloud Logging records data access events (who uploaded what, when) but does not analyze the content of uploaded files for sensitive data patterns.

  • Security Command Center, which audits Cloud Storage bucket permissions

    Why it's wrong here

    Security Command Center audits security configurations (public bucket access, missing encryption) and detects threats. It doesn't scan file contents within buckets for sensitive data patterns.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is confusing a security monitoring or perimeter defense service (Cloud Armor, Security Command Center) with a content-aware data classification service (Cloud DLP), leading candidates to pick a service that audits permissions or logs events rather than one that inspects file contents for sensitive patterns.

Trap categories for this question

  • Command / output trap

    Security Command Center audits security configurations (public bucket access, missing encryption) and detects threats. It doesn't scan file contents within buckets for sensitive data patterns.

Detailed technical explanation

How to think about this question

Cloud DLP uses over 150 built-in infoType detectors, including regex patterns and checksum validation (e.g., Luhn algorithm for credit cards), and can be extended with custom dictionaries or regex. It supports both inspection jobs (scanning existing objects) and real-time streaming via the DLP API, and can be integrated with Cloud Storage triggers to automatically scan new uploads. A subtle behavior is that DLP can sample files to reduce cost, but this may miss sensitive data in unsampled portions.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related GCDL practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free GCDL practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this GCDL question test?

Trust and security with Google Cloud — This question tests Trust and security with Google Cloud — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Cloud DLP (Data Loss Prevention), which scans Cloud Storage objects for sensitive data types like credit card numbers and SSNs using built-in pattern detection — Cloud DLP (Data Loss Prevention) is the correct service because it is specifically designed to inspect and classify sensitive data within Cloud Storage objects. It uses built-in detectors (infoTypes) to identify patterns like credit card numbers (Luhn check) and Social Security Numbers, and can trigger automated actions such as redaction or logging when sensitive data is found.

What should I do if I get this GCDL question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More GCDL practice questions

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This GCDL practice question is part of Courseiva's free Google Cloud 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 GCDL exam.