BigQuery Column-Level Security for Medical and Financial Data

PDE By islever Editorial Last updated

Designing for security and compliance. Designing automation and repeatability.

Short answer

A Implement column-level security policies in BigQuery tables with IAM permissions.

Question

You are defining the data governance strategy for a new BigQuery table with medical and financial data. You want a scalable solution that ensures the clinical researchers can access patient medical data without financial information, while allowing the accounting team to access only financial data with minimal patient identifiers. What should you do?
  1. Implement column-level security policies in BigQuery tables with IAM permissions. Correct Answer
  2. Create separate tables for personally identifiable information (PII), financial data, and anonymized medical data. Use IAM permissions to control access to each table.
  3. Implement row-level security policies in BigQuery tables with IAM permissions.
  4. Create separate datasets with authorized views exposing only approved data.

Key Takeaways

The main trap is confusing column-level restrictions with row-level filtering or table separation; the question demands granular control over specific columns within a single table.

This page explains how to implement column-level security in BigQuery using policy tags and IAM to restrict access to specific data elements for different user groups.

Common mistake: Choosing Option C (Row-Level Security) is a common error, as it misinterprets the need to hide specific columns as needing to filter rows. Row-level security cannot hide columns from users who have broader table access.

Expert Analysis

The question requires a solution that segregates access to specific data elements within the same dataset, specifically separating clinical researchers from financial data while allowing minimal patient identifiers. The key constraint is "column-level" segregation of sensitive fields (medical vs. financial) rather than row-level or table-level isolation.

Option A is correct because BigQuery supports Column-Level Security via Policy Tags (part of Data Catalog). This allows administrators to tag columns containing sensitive data (like PHI or financial info) and assign IAM roles that grant access only to specific tags. Clinical researchers can be granted access to medical columns but denied financial ones, satisfying the requirement for minimal patient identifiers without exposing full PII.

Option B is incorrect because creating separate tables increases complexity and management overhead significantly. It does not leverage native column-level controls and makes maintaining a unified view of patient data difficult.

Option C is incorrect because Row-Level Security in BigQuery typically filters rows based on user attributes or conditions, not by hiding specific columns from users who have table access. It cannot restrict access to specific columns like financial data while allowing other columns.

Option D is incorrect because while authorized views can expose subsets of data, managing multiple datasets and views for fine-grained column-level separation is less scalable and more cumbersome than using native Policy Tags. Views operate at a coarser granularity compared to the flexibility of policy tags.

Exam Strategy

When analyzing data governance questions, look for keywords like 'column-level', 'specific fields', or 'minimal identifiers'. These point toward Column-Level Security or Policy Tags rather than row-level filtering or separate tables. Always prioritize native features that minimize infrastructure changes.

Frequently Asked Questions

What is the difference between row-level and column-level security in BigQuery?

Row-level security filters which rows a user can see based on conditions. Column-level security hides specific columns from users who have access to the table, preventing them from seeing sensitive data elements even if they can query the rest of the table.

Can I use IAM alone to restrict access to specific columns in BigQuery?

No, standard IAM roles in BigQuery control access at the dataset or table level. To restrict access to specific columns, you must use Column-Level Security with Data Catalog Policy Tags in conjunction with IAM.

More PDE FAQ →

Community Votes

A
100%

100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 2 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 2

  1. jreale64 👍 6 Answered A
    A: It allows you to restrict access to specific columns within a table, even if the user has access to the entire table. You can tag columns containing medical information, those with financial information, and those with patient identifiers. Clinical researchers would be granted access to the policy tags for medical data and minimal necessary identifiers but denied access to financial data. The accounting team would be granted access to the policy tags for financial data and minimal identifiers but denied access to sensitive medical data.
  2. AwesomeGCP 👍 1 Answered A
    The correct answer is A. Implement column-level security policies in BigQuery tables with IAM permissions.

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

← Back to PDE Study Guide