professional-cloud-data-engineer
This focus area involves turning an organization's rules for data handling into specific technical controls on Google Cloud. The process starts with data governance, which classifies data based on its sensitivity and the regulations that apply, such as GDPR or HIPAA. These policies then determine the specific security features implemented in services like BigQuery to protect data throughout its lifecycle.
BigQuery provides tools to restrict data access precisely. Column-level security controls which specific columns (like a credit card number column) a user can see within a table. Row-level security filters which rows of data a user can query, often based on their identity (e.g., a salesperson can only see rows for their region). Together, these enforce the principle of least privilege, ensuring users access only the data necessary for their role.
Beyond access controls, data can be protected through obfuscation and encryption management. Data masking hides sensitive values within a dataset by replacing them with tokens or generic placeholders, allowing analysis without exposing the real data. Customer-Managed Encryption Keys (CMEK) give organizations direct control over the encryption keys used to protect their data at rest, which is a requirement for certain regulatory standards, rather than relying solely on Google's default key management.
Legal requirements often mandate where data can be stored geographically. Data residency configurations in Google Cloud allow organizations to pin their data storage and processing to specific regions or multi-regions to comply with these laws. For secure data sharing, authorized views let you share the results of a pre-defined query with users without granting them any permissions on the underlying source tables, adding a controlled layer of data exposure.
The final step is weaving these technical controls into a coherent compliance framework. This involves mapping each regulatory requirement to the specific GCP control that satisfies it, implementing audit logging to track data access, and establishing automated checks. By integrating these elements from the start, a data warehouse can meet both business needs and legal obligations while managing costs through appropriate resource allocation.
This area focuses on designing systems that meet business continuity requirements, defined by Recovery Time Objective (RTO) and Recovery Point Objective (RPO). Architects must choose data storage layouts and recovery tools that balance these targets against cost. For example, a low RTO/RPO might demand a costly active-active setup across regions, while a higher tolerance allows for simpler backup strategies.
The choice of dataset location is foundational for resilience and compliance. Architects select between single-region, dual-region, or multi-region storage configurations based on both disaster recovery needs and data sovereignty laws. BigQuery also provides built-in recovery features: the time travel feature allows querying or restoring data as it existed at any point within the past seven days, while table snapshots create metadata-only backups for longer-term retention without duplicating storage costs.
Data pipelines must be designed for their specific operational requirements. For real-time pipelines using Pub/Sub and Dataflow, high availability is often achieved through the resiliency of the services themselves, making cross-region duplication of processing resources less common. For critical batch pipelines, architects may deploy duplicate, independent processing pipelines in separate failure domains (like different regions) to guarantee that a regional outage doesn't cause a missed business deadline. These dual pipelines require reconciliation logic to ensure data is not processed twice.
When planning for disaster recovery, engineers evaluate several core mechanisms:
Exam tip: BigQuery's time travel feature allows restoration of data within a seven-day window, which is useful for accidental deletions or modifications.
This focus area is about choosing BigQuery pricing models that minimize the total cost of ownership (TCO) based on workload patterns. The key decisions involve selecting a billing model for query processing (compute) and another for data storage, each with distinct trade-offs between predictability and flexibility.
For query processing, you choose between on-demand pricing and capacity-based pricing. On-demand pricing charges per terabyte of data processed by each query, ideal for variable or unpredictable workloads. Capacity-based pricing involves purchasing dedicated units of compute power called slots, typically via long-term commitments or reservations, providing predictable costs and guaranteed performance for steady, high-volume analytics. The choice depends on analyzing historical patterns of query concurrency, complexity, and data volume scanned.
For storage, BigQuery offers two billing models: logical and physical. Logical storage billing, the default, charges for the logical (uncompressed) size of your data and includes the cost of time travel and fail-safe storage within the base rate. Physical storage billing charges for the actual compressed bytes stored on disk, with time travel and fail-safe storage billed separately at active storage rates. Physical billing can be significantly cheaper for largely static, archival data, especially when combined with long-term storage discounts that reduce costs for data unchanged after 90 days.
Effective cost alignment requires ongoing monitoring and adjustment. Use BigQuery's INFORMATION_SCHEMA.TABLE_STORAGE to track storage usage and INFORMATION_SCHEMA.JOBS to analyze query costs. A hybrid approach is often best: using capacity reservations (slots) for predictable core workloads while relying on on-demand pricing for spiky traffic, and selecting physical storage billing for archival datasets while using logical billing for actively modified data. This proactive management ensures the financial model supports the organization's broader objectives.
Prepare and test your skills
Prepare and test your skills
On-demand pricing charges per terabyte of data processed by each query and is ideal for variable or unpredictable workloads, while capacity-based pricing involves purchasing dedicated compute power called slots via long-term commitments, providing predictable costs and guaranteed performance for steady, high-volume analytics.
BigQuery's time travel feature allows users to query or restore data as it existed at any point within the past seven days, which is useful for recovering from accidental deletions or modifications.
Customer-Managed Encryption Keys (CMEK) give organizations direct control over the encryption keys used to protect their data at rest, which is a requirement for certain regulatory standards, rather than relying solely on Google's default key management.
Logical storage billing charges for the logical (uncompressed) size of data and includes the cost of time travel and fail-safe storage, while physical storage billing charges for the actual compressed bytes stored on disk, with time travel and fail-safe billed separately, which can be cheaper for archival data.
A financial enterprise is planning a disaster recovery (DR) and high-availability architecture for its mission-critical BigQuery analytics warehouse to meet stringent business SLAs:
Which storage and operational architecture correctly satisfies these business and recovery requirements?