GCP - Associate Data Practitioner Study Guide

    4: Data Management

    This chapter covers the management plane of an analytics platform on Google Cloud, including identity and access control with IAM, lifecycle policies for Cloud Storage and BigQuery, high availability and disaster recovery for Cloud Storage and Cloud SQL, and the encryption choices spanning Google-managed, customer-managed, and customer-supplied keys. It maps each decision to the concrete signals a foundational practitioner needs at the exam and on the job.

    Learning Objectives

    By the end of this chapter, you will be able to:

    • Establish the principles of least privileged access by using Identity and Access Management (IAM)
    • Differentiate between basic roles, predefined roles, and permissions for data services (e.g., BigQuery, Cloud Storage)
    • Compare methods of access control for Cloud Storage (e.g., public or private access, uniform access)
    • Determine when to share data using Analytics Hub
    • Determine the appropriate Cloud Storage classes based on the frequency of data access and retention requirements
    • Configure rules to delete objects after a specified period to automatically remove unnecessary data and reduce storage expenses (e.g., BigQuery, Cloud Storage)
    • Evaluate Google Cloud services for archiving data given business requirements
    • Compare backup and recovery solutions offered as Google-managed services
    • Determine when to use replication
    • Distinguish between primary and secondary data storage location type (e.g., regions, dual-regions, multi-regions, zones) for data redundancy
    • Identify use cases for customer-managed encryption keys (CMEK), customer-supplied encryption keys (CSEK), and Google-managed encryption keys (GMEK)
    • Understand the role of Cloud Key Management Service (Cloud KMS) to manage encryption keys
    • Identify the difference between encryption in transit and encryption at rest

    Executive Summary

    • Least privilege is implemented by binding predefined or custom roles to the smallest practical principal scope, never basic roles in production, and never primitive roles on individual data services.
    • Cloud Storage access is governed by uniform bucket-level access plus IAM, with public access prevention as the safety net; ACLs remain a legacy escape hatch and should be turned off.
    • Lifecycle management splits between Cloud Storage object lifecycle rules (storage class transitions and deletions) and BigQuery table and partition expirations, with archival landing on Archive class or BigQuery long-term storage.
    • High availability strategies pair primary location choice (zonal, regional, dual-region, multi-region) with managed replication, backups, and point-in-time recovery for Cloud SQL.
    • Encryption at rest is always on by default with Google-managed keys; CMEK adds tenant key control via Cloud KMS, and CSEK is reserved for the narrow case of customer-held key material in Cloud Storage or Compute Engine.

    Assumptions

    • The reader has completed chapters 1 through 3 and is fluent in the storage, analysis, and orchestration vocabulary established there.
    • Examples use the fictional acme-analytics-prod project and the acme-data- bucket prefix to keep naming consistent across snippets.
    • All cited limits and behaviors reflect the latest stable documentation revisions for the listed services; preview features are labeled inline.

    Sections in this chapter

    1. Free
    2. Free with account
    3. Free with account
    4. Free with account
    5. Free with account
    6. Free with account
    7. Free with account
    8. Free with account
    9. Free with account
    10. Free with account
    11. Free with account
    12. Free with account
    13. Free with account
    14. Free with account