Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Professional Cloud Developer All Questions

View all questions & answers for the Professional Cloud Developer exam

Exam Professional Cloud Developer topic 1 question 30 discussion

Actual exam question from Google's Professional Cloud Developer
Question #: 30
Topic #: 1
[All Professional Cloud Developer Questions]

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?

  • A. Create a separate dataset for each department. Create a view with an appropriate WHERE clause to select records from a particular dataset for the specific department. Authorize this view to access records from your Master dataset. Give employees the permission to this department-specific dataset.
  • B. Create a separate dataset for each department. Create a data pipeline for each department to copy appropriate information from the Master dataset to the specific dataset for the department. Give employees the permission to this department-specific dataset.
  • C. Create a dataset named Master dataset. Create a separate view for each department in the Master dataset. Give employees access to the specific view for their department.
  • D. Create a dataset named Master dataset. Create a separate table for each department in the Master dataset. Give employees access to the specific table for their department.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
cloud_mk
Highly Voted 3 years, 8 months ago
For me option c is correct. create view is easy on one dataset with appropriate where clause. And give permission to department. Create different dataset(option A) for department is create more steps where question denying it.
upvoted 15 times
...
emmet
Highly Voted 4 years, 5 months ago
I think that answer A) is better than B) Authorized views being in the department-specific dataset will be able to read data from the master dataset(https://cloud.google.com/bigquery/docs/share-access-views). And Cloud IAM can set access on dataset level (https://cloud.google.com/bigquery/docs/dataset-access-controls)
upvoted 9 times
Aeglas
12 months ago
But correct answer is C. In the link you proposed about access view is clearly stated that you can prevent access to the underlying dataset and give access only to data that is in the view after applying the query.
upvoted 1 times
...
...
mellibo
Most Recent 3 weeks ago
A is correct. with common view users should have acces to source tables but with authorized view they do not.
upvoted 1 times
...
mennahibi
8 months, 1 week ago
I think that "A" is the best solution, "C" could be too but the dataset Master already exists.
upvoted 1 times
...
santoshchauhan
8 months, 2 weeks ago
Selected Answer: C
C. Create a dataset named Master dataset. Create a separate view for each department in the Master dataset. Give employees access to the specific view for their department. This option is the most straightforward and requires the fewest steps to implement row-level security in BigQuery. By creating a view for each department with an appropriate WHERE clause that filters records based on the department, you can ensure that employees only see data that's relevant to them. The views act as a secure interface to the underlying data. You then grant each employee access to the view of their respective department. This method minimizes the number of datasets and tables you have to manage and leverages BigQuery's built-in access control mechanisms.
upvoted 1 times
...
theseawillclaim
9 months, 2 weeks ago
Selected Answer: C
Handling one, big dataset is surely easier than maintaining many smaller ones.
upvoted 1 times
...
darkblade60
10 months, 2 weeks ago
rly, I don't understand why C says "Create a dataset name Master" wtf, I have the dataset already
upvoted 1 times
...
Aeglas
12 months ago
Selected Answer: C
correct answer is C. In the link you proposed about access view is clearly stated that you can prevent access to the underlying dataset and give access only to data that is in the view after applying the query.
upvoted 1 times
...
Aeglas
12 months ago
correct answer is C. In the link you proposed about access view is clearly stated that you can prevent access to the underlying dataset and give access only to data that is in the view after applying the query. (https://cloud.google.com/bigquery/docs/share-access-views)
upvoted 1 times
...
__rajan__
1 year, 2 months ago
Selected Answer: C
This approach allows you to maintain a single “master” dataset, while using views to control access to data based on department. This minimizes the number of steps required, as you don’t need to create separate datasets or data pipelines for each department.
upvoted 3 times
...
Chuckq
1 year, 7 months ago
Authorized views. So A since is the only one using authorized views. It may be a extra unnecessary step to create a dataset for each department. But it is a way to grant permission to users in this department, and keeps all in order...
upvoted 1 times
...
telp
1 year, 10 months ago
Selected Answer: C
correct answer c. the view answer the need of acess A is elminited because create dataset by department is more steps.
upvoted 1 times
...
omermahgoub
1 year, 10 months ago
The correct answer is C. By creating a separate view for each department in the Master dataset, you can enforce the requirement that employees should only be able to view information for their department. This is the minimum number of steps required to implement this security framework. Option A is incorrect because it involves creating separate datasets for each department, which is unnecessary. Option B is incorrect because it involves creating data pipelines for each department, which is unnecessary. Option D is incorrect because it involves creating separate tables for each department, which is unnecessary.
upvoted 1 times
...
tomato123
2 years, 3 months ago
Selected Answer: C
C is correct
upvoted 2 times
...
akshaychavan7
2 years, 4 months ago
Selected Answer: C
It should be C. Why create a separate dataset when you can get it done simply by creating a view in the same dataset.
upvoted 1 times
...
cloud_enth0325
2 years, 4 months ago
Selected Answer: C
I vote C. Least steps compared to A.
upvoted 1 times
...
ruben82
2 years, 6 months ago
Why not C? Less steps. A unique dataset and n view for each department. I thinks is smarter and faster as approach.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...