- A
Cloud Armor, which inspects incoming HTTP requests for sensitive data patterns
Why wrong: 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.
- B
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 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.
- C
Cloud Logging, which records all file upload events to Cloud Storage
Why wrong: Cloud Logging records data access events (who uploaded what, when) but does not analyze the content of uploaded files for sensitive data patterns.
- D
Security Command Center, which audits Cloud Storage bucket permissions
Why wrong: 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.
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.
- →
Trust and security with Google Cloud — study guide chapter
Learn the concepts, then practise the questions
- →
Trust and security with Google Cloud practice questions
Targeted practice on this topic area only
- →
All GCDL questions
1,000 questions across all exam domains
- →
Google Cloud Digital Leader study guide
Full concept coverage aligned to exam objectives
- →
GCDL practice test guide
How to use practice tests most effectively before exam day
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.
Why Cloud Technology Can Transform Business practice questions
Practise GCDL questions linked to Why Cloud Technology Can Transform Business.
Fundamental Cloud Concepts practice questions
Practise GCDL questions linked to Fundamental Cloud Concepts.
Google Cloud Security practice questions
Practise GCDL questions linked to Google Cloud Security.
How Google Cloud Resources Are Managed practice questions
Practise GCDL questions linked to How Google Cloud Resources Are Managed.
Google Cloud Products and Services practice questions
Practise GCDL questions linked to Google Cloud Products and Services.
Why cloud technology is transforming business practice questions
Practise GCDL questions linked to Why cloud technology is transforming business.
Google Cloud products, services, and solutions practice questions
Practise GCDL questions linked to Google Cloud products, services, and solutions.
Scaling with Google Cloud operations practice questions
Practise GCDL questions linked to Scaling with Google Cloud operations.
Trust and security with Google Cloud practice questions
Practise GCDL questions linked to Trust and security with Google Cloud.
GCDL fundamentals practice questions
Practise GCDL questions linked to GCDL fundamentals.
GCDL scenario practice questions
Practise GCDL questions linked to GCDL scenario.
GCDL troubleshooting practice questions
Practise GCDL questions linked to GCDL troubleshooting.
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 →
Keep practising
More GCDL practice questions
- A DevOps team wants to adopt GitOps practices for managing their Google Cloud infrastructure. Which combination of tools…
- A startup is building an application that sends daily promotional push notifications to millions of mobile users on both…
- An organization's leadership wants to foster a 'fail fast' culture to accelerate innovation. A cloud environment directl…
- A company's on-premises applications occasionally need more compute capacity than their own infrastructure can provide (…
- A digital media company hosts video content globally. They want to reduce origin server load and deliver content faster…
- A security audit finds that a company's application service accounts have been granted broad IAM roles (e.g., Storage Ad…
Last reviewed: Jun 11, 2026
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.
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.
Sign in to join the discussion.