ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 349 - Professional Data Engineer discussion

Report
Export

You have a BigQuery dataset named 'customers'. All tables will be tagged by using a Data Catalog tag template named 'gdpr'. The template contains one mandatory field, 'has sensitive data~. with a boolean value. All employees must be able to do a simple search and find tables in the dataset that have either true or false in the 'has sensitive data' field. However, only the Human Resources (HR) group should be able to see the data inside the tables for which 'hass-ensitive-data' is true. You give the all employees group the bigquery.metadataViewer and bigquery.connectionUser roles on the dataset. You want to minimize configuration overhead. What should you do next?

A.
Create the 'gdpr' tag template with private visibility. Assign the bigquery -dataViewer role to the HR group on the tables that contain sensitive data.
Answers
A.
Create the 'gdpr' tag template with private visibility. Assign the bigquery -dataViewer role to the HR group on the tables that contain sensitive data.
B.
Create the ~gdpr' tag template with private visibility. Assign the datacatalog. tagTemplateViewer role on this tag to the all employees group, and assign the bigquery.dataViewer role to the HR group on the tables that contain sensitive data.
Answers
B.
Create the ~gdpr' tag template with private visibility. Assign the datacatalog. tagTemplateViewer role on this tag to the all employees group, and assign the bigquery.dataViewer role to the HR group on the tables that contain sensitive data.
C.
Create the 'gdpr' tag template with public visibility. Assign the bigquery. dataViewer role to the HR group on the tables that contain sensitive data.
Answers
C.
Create the 'gdpr' tag template with public visibility. Assign the bigquery. dataViewer role to the HR group on the tables that contain sensitive data.
D.
Create the 'gdpr' tag template with public visibility. Assign the datacatalog. tagTemplateViewer role on this tag to the all employees. group, and assign the bijquery.dataViewer role to the HR group on the tables that contain sensitive data.
Answers
D.
Create the 'gdpr' tag template with public visibility. Assign the datacatalog. tagTemplateViewer role on this tag to the all employees. group, and assign the bijquery.dataViewer role to the HR group on the tables that contain sensitive data.
Suggested answer: D

Explanation:

To ensure that all employees can search and find tables with GDPR tags while restricting data access to sensitive tables only to the HR group, follow these steps:

Data Catalog Tag Template:

Use Data Catalog to create a tag template named 'gdpr' with a boolean field 'has sensitive data'. Set the visibility to public so all employees can see the tags.

Roles and Permissions:

Assign the datacatalog.tagTemplateViewer role to the all employees group. This role allows users to view the tags and search for tables based on the 'has sensitive data' field.

Assign the bigquery.dataViewer role to the HR group specifically on tables that contain sensitive data. This ensures only HR can access the actual data in these tables.

Steps to Implement:

Create the GDPR Tag Template:

Define the tag template in Data Catalog with the necessary fields and set visibility to public.

Assign Roles:

Grant the datacatalog.tagTemplateViewer role to the all employees group for visibility into the tags.

Grant the bigquery.dataViewer role to the HR group on tables marked as having sensitive data.

Data Catalog Documentation

Managing Access Control in BigQuery

IAM Roles in Data Catalog

asked 18/09/2024
Catarina Machado
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first