Original study notes for cloud certification exams — Google Cloud first, more clouds in build.
Home › Associate Cloud Engineer › Section 5: Configuring Access and Security › Sensitive Data Protection (Cloud DLP)

Sensitive Data Protection (Cloud DLP) Study Notes

Sensitive Data Protection, formerly Cloud Data Loss Prevention (Cloud DLP), discovers, classifies, and protects sensitive data such as names, emails, and payment identifiers. It inspects content in Cloud Storage, BigQuery, Datastore, files, and streams, and can redact or de-identify what it finds.

Exam tip: Keywords like discover, classify, redact, mask, or de-identify PII in BigQuery or Storage always point to Sensitive Data Protection.

Key facts

What the exam expects you to know

Sensitive Data Protection (Cloud DLP) vs Cloud KMS: when to use which

Use Sensitive Data Protection when you need to discover what sensitive data you hold and transform the values themselves through redaction, masking, or tokenization. Use Cloud KMS when you need to manage encryption keys that protect data at rest or encrypt payloads, without inspecting content for meaning. DLP works at the data-content layer and understands patterns like passport numbers; KMS works at the cryptographic layer and treats input as bytes. A scenario saying 'find and mask credit card numbers in this table' is DLP; 'encrypt this table with a customer-managed key' is KMS. See also the Cloud KMS notes.

Useful gcloud commands

gcloud dlp inspect-templates list --project=PROJECT_ID
gcloud dlp jobs list --project=PROJECT_ID
gcloud dlp text inspect --project=PROJECT_ID --info-types=EMAIL_ADDRESS,PHONE_NUMBER --content="Contact alice@example.com"

Common exam traps

Frequently asked questions

What is an infoType in Sensitive Data Protection?

An infoType is a detector definition for one kind of sensitive data, such as a US passport number or an email address. Inspection jobs combine selected infoTypes with likelihood thresholds to scan content. Google provides many built-in infoTypes, and you can add custom ones using patterns or word lists for internal identifiers.

What is the difference between redaction and masking?

Redaction removes the sensitive value entirely or replaces the whole match with a fixed marker, so nothing of the original remains. Masking hides only part of the value, typically replacing characters with symbols while leaving some characters visible for recognition. Masking suits support screens; redaction suits exports and logs.

Can DLP scan data automatically across a whole organization?

Yes, data profiling and discovery scans can be configured at organization or folder level to profile BigQuery, Cloud Storage, and Datastore resources continuously. Results classify tables and files by sensitivity and risk, helping teams prioritize remediation. This is the fastest way to answer where sensitive data exists at scale.

Study aid disclaimer: Cloud Cert Notes is an independent educational study aid. It is not affiliated with, endorsed by, or sponsored by Google, Microsoft, Amazon, Oracle, or Alibaba. Google Cloud, Associate Cloud Engineer, and Cloud Digital Leader are trademarks of Google LLC; all other certification names and product names are trademarks of their respective owners. Always confirm service details against the official provider documentation before sitting an exam.