PCSE Ensuring Data Protection Practice Question
A healthcare company stores patient data in BigQuery and needs to mask sensitive columns like SSN and email for analysts who do not need to see the actual values. They want to apply consistent masking across queries without modifying the underlying data. Which feature should they use?
⚠ Common exam trap
Google often tests the distinction between row-level security (which filters rows) and column-level masking (which obfuscates column values), leading candidates to mistakenly choose authorized views when the requirement is to mask sensitive columns, not restrict rows.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
BigQuery Data Policy with data masking rules
BigQuery Data Policy with data masking rules allows you to define column-level masking policies that automatically redact sensitive data (e.g., SSN, email) in query results based on the user's role, without altering the underlying table. This meets the requirement for consistent masking across all queries without modifying the source data.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
IAM conditions on tables
Why it's wrong here
IAM conditions cannot mask column values.
- ✓
BigQuery Data Policy with data masking rules
Why this is correct
Data masking rules in BigQuery Data Policy allow column-level masking without changing the underlying data.
- ✗
Authorized views with row-level security
Why it's wrong here
Row-level security restricts rows, not columns, and requires views.
- ✗
Cloud DLP de-identification transforms on export
Why it's wrong here
DLP is for external scanning and transformation, not real-time query masking.
Go deeper
Related to this question
About these practice questions
One of 960 original PCSE practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PCSE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCSE exam.