GCP Professional Cloud Security Engineer Practice Question
Your company stores customer transactions in a BigQuery table that includes names, email addresses, and transaction amounts. An external analytics partner should query only a daily summary that contains total sales per country. They must not see any raw rows or PII and need interactive access through BigQuery, with minimal ongoing maintenance. Which solution satisfies these requirements?
Create a view in a separate dataset that aggregates sales by country, authorize the view on the source dataset, and grant the partner the BigQuery Data Viewer role on the dataset that contains the view only.
Grant the partner the BigQuery Data Viewer role on the source dataset and apply column-level security tags to hide PII columns.
Schedule a Dataflow pipeline that writes the daily country-level totals to Cloud Storage and share the objects with the partner using Signed URLs.
Attach a row-level security policy to the transactions table to exclude PII fields and grant the partner the BigQuery JobUser role on the dataset.
An authorized view can expose a curated result set without allowing consumers to read the underlying tables. By creating the view in a separate dataset, granting the view itself access to the source dataset ("authorizing" it), and then granting the partner IAM access only on the dataset that contains the view, the partner can run interactive queries against the aggregated results. They cannot circumvent the view to reach the base table, so PII remains inaccessible. Column-level or row-level security alone would still expose some raw data, while exporting data to Cloud Storage or materializing a separate table adds unnecessary operational overhead.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is an authorized view in BigQuery?
Open an interactive chat with Bash
Why is PII a concern in BigQuery tables?
Open an interactive chat with Bash
How does the BigQuery Data Viewer role impact access control?
Open an interactive chat with Bash
What is an authorized view in BigQuery?
Open an interactive chat with Bash
Why is granting the BigQuery Data Viewer role on the view's dataset better than column-level or row-level security for this use case?
Open an interactive chat with Bash
What are the advantages of using BigQuery views over exporting data to Cloud Storage for sharing aggregated data?
Open an interactive chat with Bash
GCP Professional Cloud Security Engineer
Ensuring data protection
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .