professional-cloud-data-engineer
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Your organization manages a BigQuery dataset containing a customer transactions table with sensitive Personally Identifiable Information (PII), including columns for tax_id, email_address, and credit_card_number. You are preparing this data for enterprise-wide visualization and reporting.
You have the following security and access requirements:
Which solution should you implement?
Dataplex policy tags (managed via the Dataplex taxonomy and Data Catalog catalog services) provide a centralized way to enforce column-level access control and dynamic data masking across BigQuery tables. By defining hierarchical taxonomies and assigning masking rules (such as SHA-256 hashing, default masking values, email masking, or nullification) directly to policy tags, organizations can manage data protection policies independently of the underlying table schemas.
roles/bigquery.maskedReader (or roles/datacatalog.maskedReader) role allows BI analysts to execute queries against the dataset while BigQuery dynamically transforms sensitive column values into masked representations at query runtime.roles/datacatalog.categoryFineGrainedReader role on the specific policy tags. This permission overrides the masking rules and allows authorized identities to view the raw, cleartext values.roles/bigquery.dataViewer on the table but lacks both the Masked Reader and Fine-Grained Reader roles for the attached policy tags, BigQuery rejects queries referencing those protected columns with an access denied error.This approach directly leverages native Google Cloud governance mechanisms in Dataplex and BigQuery. It satisfies all multi-tiered persona requirements (auditors, analysts, and unauthorized users) with zero compute overhead for ETL duplication, unified IAM management, and native integration with visualization tools like Looker Studio.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.