Study guide
5.1 Data Discovery (Domain 2.4)
Certified Cloud Security Professional CCSP
Track your progress as you read
Finished sections get a check mark.
1 Introduction & Exam Overview
1.1 Current CCSP Exam Facts 1.2 CAT Format, Scoring & Logistics 1.3 Eligibility, Experience & Certification Maintenance
2 Domain 1: Cloud Concepts & Architecture Foundations
2.1 Cloud Computing Concepts (Domain 1.1) 2.2 Cloud Reference Architecture (Domain 1.2) 2.3 Security Concepts Relevant to Cloud (Domain 1.3)
3 Domain 1: Secure Design, CSP Evaluation & AI/ML
3.1 Design Principles of Secure Cloud Computing (Domain 1.4) 3.2 Evaluate Cloud Service Providers (Domain 1.5) 3.3 AI/ML in Cloud Security (Domain 1.6)
4 Domain 2: Data Concepts, Storage & Protection Technologies
4.1 Cloud Data Concepts (Domain 2.1) 4.2 Cloud Data Storage Architectures (Domain 2.2) 4.3 Data Security Technologies & Strategies (Domain 2.3)
5 Domain 2: Discovery, Classification & Information Rights Management
5.1 Data Discovery (Domain 2.4) 5.2 Data Classification (Domain 2.5) 5.3 Information Rights Management (Domain 2.6)
6 Domain 2: Retention, Auditability & AI/ML Data Protection
6.1 Retention, Deletion & Archiving (Domain 2.7) 6.2 Auditability, Traceability & Accountability (Domain 2.8) 6.3 AI/ML Data Protection (Domain 2.9)
7 Domain 3: Infrastructure Components, Data Center & Risks
7.1 Cloud Infrastructure Components (Domain 3.1) 7.2 Secure Data Center Design (Domain 3.2) 7.3 Infrastructure & Platform Risks (Domain 3.3)
8 Domain 3: Security Controls & Business Continuity / Disaster Recovery
8.1 Security Controls Implementation (Domain 3.4) 8.2 Business Continuity & Disaster Recovery (Domain 3.5)
9 Domain 4: Application Security Awareness & Secure SDLC
9.1 Application Security Training & Awareness (Domain 4.1) 9.2 Secure SDLC Process (Domain 4.2) 9.3 Apply Secure SDLC (Domain 4.3)
10 Domain 4: Software Assurance, Architecture & IAM
10.1 Cloud Software Assurance & Validation (Domain 4.4) 10.2 Verified Secure Software (Domain 4.5) 10.3 Cloud Application Architecture (Domain 4.6) 10.4 Identity & Access Management Solutions (Domain 4.7)
11 Domain 5: Build, Operate & Operational Controls
11.1 Build Physical & Logical Infrastructure (Domain 5.1) 11.2 Operate & Maintain Infrastructure (Domain 5.2) 11.3 Operational Controls & Standards (Domain 5.3)
12 Domain 5: Forensics, Stakeholder Communication & Security Operations
12.1 Digital Forensics Support (Domain 5.4) 12.2 Communication with Relevant Parties (Domain 5.5) 12.3 Manage Security Operations (Domain 5.6)
13 Domain 6: Legal Requirements, Privacy & Audit
13.1 Legal Requirements & Cloud Risks (Domain 6.1) 13.2 Privacy Requirements (Domain 6.2) 13.3 Audit Processes for Cloud (Domain 6.3)
14 Domain 6: Enterprise Risk Management & Cloud Contracts
14.1 Cloud Implications for Enterprise Risk (Domain 6.4) 14.2 Outsourcing & Cloud Contract Design (Domain 6.5)
5.1 Data Discovery (Domain 2.4)
Key Takeaways Explain This Topic AI
Data discovery finds where sensitive and business-critical data lives across structured, unstructured, and semi-structured stores so later controls are applied to real inventory, not assumptions.
Structured data uses schemas and fields; unstructured data lacks fixed schema; semi-structured data carries tags or hierarchical markup without a rigid relational model — each needs different discovery techniques.
Data location in the cloud includes region, zone, account/tenant, service type, residency/sovereignty constraints, and shadow copies (snapshots, replicas, logs, exports).
Discovery is continuous: cloud elasticity, SaaS sprawl, and analytics pipelines constantly create new copies and locations.
On CCSP items, match the discovery method to data form and prove location before you prescribe encryption, DLP, or IRM.
Last updated: July 2026
Data Discovery
You cannot protect what you cannot find. Data discovery is the systematic process of locating, inventorying, and characterizing data assets across an organization’s cloud and hybrid environments so that classification, encryption, access control, retention, and rights management have a factual inventory. On the CCSP exam, Domain 2.4 Implement data discovery expects you to distinguish structured , unstructured , and semi-structured data and to reason carefully about data location — including residency, sovereignty, and the many shadow copies cloud platforms create automatically.
Discovery sits early in the cloud secure data lifecycle after data is created or ingested. It is not a one-time project. Elastic self-service, multi-account landing zones, SaaS adoption, and analytics pipelines continuously spawn new stores, exports, and replicas. A mature program treats discovery as continuous assurance , not a spreadsheet refreshed once a year.
Why Discovery Matters in the Cloud
Traditional discovery assumed relatively stable file shares and a few databases. Cloud multiplies complexity:
- Cloud factor Discovery impact
- On-demand self-service Teams create stores without central registration
- Multi-tenancy / multi-account Sensitive data may live in many subscriptions, projects, or tenants
Managed services Data may sit in PaaS databases, object stores, queues, and SaaS apps the security team never provisioned
Replication and durability features Cross-region replicas, snapshots, and backups hold copies outside the “primary” location
- Analytics and AI pipelines Training sets, feature stores, and notebooks copy production data into new lakes
- Ephemeral compute Temporary disks and job scratch space may briefly hold regulated data
Exam framing: When a stem asks what to do first after a merger, a new SaaS rollout, or a residency finding, the correct answer is often discover and inventory before redesigning encryption or DLP rules. Controls without discovery produce false confidence.
Structured Data
Structured data is organized according to a predefined schema — tables, columns, rows, primary keys, and relationships. Classic examples include relational databases (customer tables, transactions), data warehouses with star/snowflake schemas, and many operational stores behind line-of-business applications.
Characteristics
- Attribute Structured data
- Schema Defined in advance; enforced by the engine
- Query model SQL and similar declarative languages
- Sensitivity signals Column names, data types, constraints, catalog tags
Typical cloud homes Managed relational/NoSQL tables with fixed models, warehouse services, application databases on IaaS
Discovery techniques for structured data
Catalog and inventory scans — Enumerate database instances, schemas, and tables via cloud resource inventories, configuration APIs, and data catalogs. Tag ownership and environment (prod/non-prod).
Schema and column analysis — Match column names and types to known patterns (for example, fields named ssn , national_id , card_number , dob , email ). Combine with data profiling on sample values when policy allows.
Pattern and checksum matching — Apply regular expressions and validation algorithms (for example, Luhn checks for payment card numbers) to column samples to reduce false positives from poorly named fields.
Relationship and lineage analysis — Follow foreign keys, ETL jobs, and warehouse pipelines to find where a “golden” customer record is copied into marts and reporting cubes.
Privilege and access reviews as discovery aids — Who can SELECT sensitive tables often reveals which applications and service accounts create derivative extracts.
Cloud-specific note: In PaaS databases, the customer may not control the physical media, but discovery still requires knowing which logical databases and tables hold regulated fields, which identities can export them, and which regions host the service endpoint and replicas.
Structured-data pitfalls
Assuming production is the only copy — staging, QA, and analytics clones frequently contain production-like personal data.
Ignoring application-layer encryption or tokenization columns that still need inventory for key and token vault governance.
Over-trusting column names alone without sampling (a field named notes may contain free-text PII).
Unstructured Data
Unstructured data lacks a predefined tabular schema. Content lives in files, blobs, messages, and media whose meaning is inside the payload rather than in fixed columns. Examples: documents, spreadsheets exported as files, presentations, images, video, email bodies and attachments, chat exports, source code, and many log files treated as opaque objects.
Characteristics
- Attribute Unstructured data
- Schema None or application-defined at write time
- Query model Full-text search, content inspection, ML classifiers, metadata filters
- Sensitivity signals File content, embedded metadata, path names, object tags
Typical cloud homes Object storage, file shares, collaboration SaaS, email/SaaS repositories, content management systems
Discovery techniques for unstructured data
Storage inventory — List buckets, containers, file systems, and sites; capture account, region, public access flags, and encryption status as part of the discovery record (location + exposure).
Content inspection / deep scanning — Use pattern matching, dictionaries, fingerprinting, and machine-learning classifiers to detect PII, PHI, payment data, secrets, and intellectual property inside files.
Metadata and path heuristics — Folder names like hr/payroll/ or object keys with passport are weak signals that still prioritize scanning.
SaaS API discovery — Collaboration and CRM platforms expose APIs or admin reports that inventory files, channels, and shared drives — critical because shadow IT often starts as a free SaaS trial.
Endpoint and CASB-assisted discovery — When data leaves corporate devices into personal cloud accounts, Cloud Access Security Broker (CASB) or similar controls help discover unsanctioned repositories (still vendor-neutral concept on the exam).
Unstructured discovery is computationally heavier and noisier than structured catalog scans. Programs usually prioritize by risk: publicly exposed stores, stores in regulated regions, high-churn collaboration spaces, and repositories owned by high-risk business units.
Unstructured-data pitfalls
Scanning only primary object storage while ignoring email, tickets, and chat attachments.
Treating “encrypted at rest by default” as a substitute for knowing what is in the bucket.
Failing to re-scan after bulk migrations or large project document drops.
Semi-Structured Data
Semi-structured data sits between the two poles: it does not require a rigid relational schema for every record, but it carries markers, tags, or hierarchical structure that enable parsing. Common forms include JSON and XML documents, YAML configs, Avro/Parquet with evolving schemas, log lines with key-value pairs, NoSQL document collections, and message payloads on queues or event buses.
Characteristics
- Attribute Semi-structured data
- Schema Flexible, optional, or schema-on-read
- Query model Path expressions, document queries, search indexes
- Sensitivity signals Keys/tags inside documents ( "ssn": "..." ), nested objects, headers
Typical cloud homes Document databases, object data lakes (JSON/Parquet), API payloads, streaming platforms, config stores
Discovery techniques for semi-structured data
Schema-on-read profiling — Infer keys and nested paths from samples; flag sensitive key names and value patterns across collections.
Document database inventory — Enumerate collections/indexes; sample documents under controlled conditions; map which applications write sensitive keys.
Pipeline and topic inventory — Event streams may carry personal data in JSON payloads even when “the database is clean.” Discover producers, topics, retention, and consumer groups.
Data lake table formats — Columnar files (for example, Parquet) can be semi-structured at the lake layer; use catalog services and column statistics as discovery inputs.
API and webhook audit — Outbound integrations often serialize semi-structured PII to third parties; discovery includes egress destinations, not only storage.
Exam distinction drill: A CSV loaded into a warehouse table is effectively structured once schema is applied. The same customer attributes as nested JSON in a document store are semi-structured . A scanned PDF of a contract is unstructured . Classification policy may treat the sensitivity the same; discovery methods differ.
- Form Example Primary discovery lever
- Structured customers.email column Catalog + column profiling
- Semi-structured {"email": "a@b.com"} in documents Key-path sampling + pattern match
- Unstructured Email body with address in prose Content inspection / NLP
- Data Location
Data location answers where discovered data physically and logically resides — a mandatory concern for privacy law, contractual residency clauses, sector rules, and incident response. In cloud environments, “location” is multi-layered.
Dimensions of location
Dimension Questions to answer
Geographic region / country Which CSP region(s) host the primary service? Which jurisdictions apply?
Availability zone / facility abstraction Is multi-AZ replication within one region acceptable for residency?
- Logical tenancy Account, subscription, project, organization unit, SaaS tenant ID
- Service and resource Object store vs database vs queue vs SaaS app module
Network path / processing location Does processing (ETL, AI inference) move data to another region?
Copy sprawl Snapshots, backups, replicas, logs, support bundles, DR sites, offline exports
Access location Where are administrators and support personnel when they view data?
Residency usually means data is stored (and often processed) in a defined geography. Sovereignty emphasizes legal control by a jurisdiction over data and may constrain who can compel disclosure. Discovery must record both storage location and processing location when pipelines or global support models differ.
Implementing location-aware discovery
Resource graph with region attributes — Pull region/zone from cloud control-plane inventories for every data store; alert on resources created outside approved regions.
Replication and backup maps — Explicitly discover cross-region replication, geo-redundant storage, and backup vault locations — these are real locations, not footnotes.
SaaS data maps — Obtain provider data-processing addenda and admin console region settings; many SaaS products process or cache outside the “home” region.
Log and telemetry location — Security and application logs may contain PII and often land in a central region different from the app.
Support and break-glass paths — Document whether provider support can access customer content and from where (ties to IRM and contractual controls later).
Exit and export artifacts — Bulk export packages downloaded to laptops or partner clouds create new locations outside the CSP.
Worked scenario
A retail firm believes all customer PII is in a single managed database in Region A. Discovery finds: (1) nightly logical backups in a vault in Region B; (2) a data science bucket with JSON extracts in Region A but public-read misconfiguration; (3) a SaaS marketing tool syncing email and purchase history to a third country; (4) application debug logs with full order payloads in a global logging project. Encryption at rest on the primary database was never the whole story — location discovery revealed the true blast radius and compliance scope.
Building a Cloud Data Discovery Program
- Program element Practice
- Scope All accounts/tenants, sanctioned SaaS, and known shadow IT channels
- Methods Match technique to structured / unstructured / semi-structured forms
- Prioritization Public exposure, regulated data types, high-privilege stores first
- Ownership Data owners and custodians assigned per discovered asset
- Cadence Continuous or frequent incremental scans plus event-driven scans on new resources
- Integration Feed classification engines, DLP, IRM, SIEM, and ticketing
- Metrics Percent of stores inventoried, age of last scan, open findings by severity
- Privacy of discovery Limit who sees scan samples; protect discovery tooling credentials
- Shared responsibility reminder
The CSP may offer native inventory, Macie-style or DLP-style classifiers, and region controls, but the customer remains accountable for knowing what business data they store, configuring discovery tools, acting on findings, and meeting legal residency obligations. In SaaS, discovery often means using admin APIs, audit logs, and provider documentation rather than scanning disks.
Exam Approach for Domain 2.4
Identify whether the data in the stem is structured, unstructured, or semi-structured.
Select a discovery method that fits that form (catalog vs content inspection vs document key sampling).
Expand “location” beyond the primary store to replicas, backups, logs, and SaaS.
Prefer answers that inventory first , then classify and control.
Reject answers that assume a single region or single database without evidence.
Common Traps
Equating object storage encryption with completed discovery.
Calling all non-SQL data “unstructured” when JSON/XML are semi-structured.
Ignoring analytics copies and non-production clones.
Treating data location as only the marketing region name on a homepage, without backup and processing maps.
One-time discovery projects that never re-run after cloud sprawl.