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?
Suggested Answer: B
Get Premium Professional Cloud Developer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
13 comments · newest first
KA
Karan
1 year ago
Really? Is it safe to give access to views like that?
MA
Marleen
1 year ago
I think D could lead to a lot of tables to manage.
HE
Herminia
1 year ago
Wait, why not just use views for everything?
ME
Merilyn
1 year ago
I disagree, A is more secure with separate datasets.
RO
Ronny
1 year ago
Option C seems the simplest to manage.
LA
Lavera
1 year ago
I'm leaning towards option C too, but I remember there was a debate about whether views or separate datasets were better for security. I hope I pick the right one!
AL
Allene
1 year ago
I feel like using views is a simpler approach, but I wonder if option D could also work if we just created tables instead. It might be more straightforward?
PE
Pete
1 year ago
I think creating separate datasets for each department, like in option A or B, might complicate things. We practiced something similar, but I can't recall the exact pros and cons.
JE
Jesusa
1 year ago
I remember we discussed using views to restrict access based on departments, so option C seems like a good choice. But I'm not entirely sure if it's the most efficient method.
LA
Larue
1 year ago
SQL injection, for sure. The example URL provided clearly shows the application is not properly sanitizing the user input, allowing an attacker to execute arbitrary SQL queries. This is a textbook SQL injection attack.
RO
Rosalyn
1 year ago
I'm pretty confident that option D is the right answer here. Setting the Order By picklist field to the value of SBQQ_Group_c and then clicking the Create Order button should meet the requirement to split orders by delivery location.
RE
Rebbeca
1 year ago
Okay, let's see. The key here is that even with the Trusted Subsystem pattern, the service is still accessing the database, so the credentials used could be compromised. I think option C is the best answer.
CH
Christene
1 year ago
The concurrent login issue is the key challenge here. I'll need to consider how each solution addresses that constraint.