Session length

1 / 20

If you need to enable selective column visibility in BigQuery based on user roles, which approach should you use?

Create a new dataset with the column's data.

Create a new table with the column's data.

Use policy tags.

The correct approach to enable selective column visibility in BigQuery based on user roles is to use policy tags. Policy tags in BigQuery allow you to define and manage column-level access controls. By assigning policy tags to specific columns in a table, you can restrict visibility based on the roles assigned to users.

For instance, if certain users should not have access to sensitive information contained in specific columns, you can use policy tags to ensure that only specific user roles can see those columns. This feature is particularly useful in environments that require compliance with data privacy regulations or internal data governance policies, as it provides a granular mechanism for controlling access.

Creating a new dataset or a new table with the column's data could be considered workarounds to manage access control, but they do not offer the same flexibility and maintainability as policy tags. Moreover, these approaches can lead to data duplication and increased management overhead. Utilizing IAM permissions could control access at a higher level, such as to entire datasets or tables, but it does not provide the detailed granularity needed for specific column visibility based on user roles. Therefore, policy tags are the most effective and suitable approach for this requirement.

Get further explanation with Examzify DeepDiveBeta

Use Identity and Access Management (IAM) permissions.

Next question

Find the option that is right for you!

All options are one-time payments.

$12.50

30 day premium pass

All the basics to get you started

  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 30 day premium pass access
$30.00 $87.50 usd

6 month DELUXE pass (most popular)

Everything with the 30 day premium pass FOR 6 MONTHS! & the ultimate digital PDF study guide (BONUS)

  • Everything included in the premium pass
  • $87.50 usd value for $30.00! You save $57.50!
  • + Access to the ultimate digital PDF study guide
  • + 6 months of premium pass access
  • + Priority support
$12.50 $18.99

Ultimate digital PDF study guide

For those that prefer a more traditional form of learning

  • Available for instant download
  • Available offline
  • Hundreds of practice multiple choice questions
  • Comprehensive content
  • Detailed explanations
Image Description
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy