🔥 40% Off Crucial Exams Memberships — Deal ends today!

2 hours, 59 minutes remaining!

GCP Professional Data Engineer Practice Question

Your company, a global retailer subject to GDPR, stores transactional data in a BigQuery table called customer_orders that has the columns order_id, item_id, customer_email, credit_card_hash, and amount. Marketing analysts must be able to run ad-hoc SQL on every column except customer_email and credit_card_hash, while the Risk team needs unrestricted access. The solution must scale so that any new columns later classified as PII are automatically protected without rewriting queries or creating additional tables. How should you implement this in BigQuery?

  • Move customer_email and credit_card_hash into a separate BigQuery table, restrict access to that table to the Risk team, and let Marketing query the remaining columns in the original table.

  • Build an authorized view that omits the customer_email and credit_card_hash columns, share the view with Marketing analysts, and share the underlying table directly with the Risk team.

  • Encrypt only the customer_email and credit_card_hash columns with customer-managed encryption keys (CMEK) and provide the decryption key to the Risk team but not to Marketing analysts.

  • Create a Data Catalog taxonomy with a PII policy tag, attach the tag to customer_email and credit_card_hash, grant the Risk group permissions to read that policy tag and the dataset, and give Marketing only dataset-level BigQuery read access without tag permission.

GCP Professional Data Engineer
Designing data processing systems
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot