Google Cloud Professional Cloud Developer — Question 6

Your company has a BigQuery dataset named "Master" that keeps information about employee travel and expenses. This information is organized by employee department. That means employees should only be able to view information for their department. You want to apply a security framework to enforce this requirement with the minimum number of steps.
What should you do?

Answer options

Correct answer: C

Explanation

The correct answer is C because creating separate views for each department within the Master dataset allows for secure access control with minimal effort. Options A and B unnecessarily complicate the setup by creating multiple datasets or requiring data duplication, which is not efficient. Option D also complicates data management by creating multiple tables instead of utilizing views.