Prepare and test your skills

Prepare and test your skills

Free sample question, answered and explained below. The Professional Data Engineer practice bank has 1,353 more like it. Try 10 free: instant score, no account.
A financial SaaS enterprise is designing a multi-tenant data access architecture in BigQuery to serve both internal analytics teams and external client organizations. The data architecture must satisfy the following technical and compliance requirements:
Which architecture should the data engineering team implement to satisfy these requirements?
This approach uses a single base fact table and creates individual authorized views that filter rows using a WHERE tenant_id = '...' clause. It attempts to manage access and security purely through dataset authorization and basic IAM roles.
The organization had fewer than 2,500 tenants located entirely in a single geographic region, all querying using identical access patterns without requiring column-level dynamic data masking.
Authorized views are ideal for small-to-medium multi-tenant architectures or internal departmental sharing within the same region, but they do not scale to massive multi-region SaaS deployments.
A dedicated dataset per tenant design segregates tenant data into discrete BigQuery datasets (or subset tables) written by an upstream orchestration or ETL/ELT service like Cloud Dataflow. This is combined with Dataplex policy tags and dynamic data masking to enforce granular, role-based column access control natively within BigQuery.
roles/datacatalog.categoryFineGrainedReader) role.Using Dataflow to write dedicated per-tenant datasets eliminates the 2,500 resource ceiling and single-region constraint inherent to authorized views, while native dynamic data masking provides robust column-level security without maintaining duplicate, obfuscated views.
This architecture relies on BigQuery Row-Level Security (RLS) via CREATE ROW ACCESS POLICY statements on a single consolidated table to filter row data per tenant, while attempting to use Cloud KMS Customer-Managed Encryption Keys (CMEK) to enforce column-level data masking.
The goal was strictly row isolation within a single unified dataset where all tenants shared identical performance patterns and column masking was handled by external client-side AEAD libraries rather than native BigQuery masking.
Dynamic data masking in BigQuery is implemented through Data Catalog / Dataplex policy tags, not through CMEK key rotation or assignment.
This pattern provisions authorized materialized views across tenant projects to cache analytical query results, while attempting to manage column privacy and data security using Cloud Storage Bucket Lock retention controls on export buckets.
You needed immutable audit archive storage in Cloud Storage to satisfy SEC 17a-4 or FINRA compliance rules where data cannot be overwritten or deleted for a set duration.
Materialized views are precomputed caches designed for computational query optimization, not primary multi-tenant isolation boundaries across thousands of tenants.
Answer them yourself and get your score the moment you finish. No account needed.
Full access includes
Keep the momentum going with these hand-picked practice scenarios
Last updated Validated