exam questions

Exam PL-300 All Questions

View all questions & answers for the PL-300 exam

Exam PL-300 topic 2 question 22 discussion

Actual exam question from Microsoft's PL-300
Question #: 22
Topic #: 2
[All PL-300 Questions]

You have the Power BI model shown in the following exhibit.

There are four departments in the Departments table.
You need to ensure that users can see the data of their respective department only.
What should you do?

  • A. Create a slicer that filters Departments based on DepartmentID.
  • B. Create a row-level security (RLS) role for each department, and then define the membership of the role.
  • C. Create a DepartmentID parameter to filter the Departments table.
  • D. To the ConfidentialData table, add a calculated measure that uses the CURRENTGROUP DAX function.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
lukelin08
Highly Voted 2 years, 6 months ago
Selected Answer: B
B is correct
upvoted 34 times
...
fred92
Highly Voted 2 years, 6 months ago
Selected Answer: C
The clue is "There are four departments ..." see https://learn.microsoft.com/en-us/power-bi/guidance/rls-guidance It says there: Avoid using RLS, whenever it makes sense to do so. If you have only a small number of simplistic RLS rules that apply static filters, consider publishing multiple datasets instead [...] to different workspaces [...] and use query parameters to filter source data.
upvoted 5 times
killaboy
2 years, 2 months ago
it's definitely RLS
upvoted 1 times
...
fred92
2 years, 6 months ago
To be honest, I am no longer sure. If only the department table is filtered, all facts would still contain all department data.
upvoted 1 times
...
srikanth923
2 years, 1 month ago
cant be C because the user has to select the option on the filter. that means they can bypass the filter and view the info from other departments
upvoted 3 times
...
prikha16
2 years ago
Agree with fred92, we need to read between the lines, that's why the questions says -there are 4 departments! from documentation "Sometimes it makes sense to avoid using RLS. If you have only a few simplistic RLS rules that apply static filters, consider publishing multiple datasets instead. For example, a company that has just two sales regions decides to publish a dataset for each sales region to different workspaces. The datasets don't enforce RLS. They do, however, use query parameters to filter source data. This way, the same model is published to each workspace—they just have different dataset parameter values. advantages- improved query performance and smaller models. So C is correct.
upvoted 1 times
ApacheKafka
1 year, 8 months ago
Parameter only makes the report viewing dynamic and not secure (A user can just type a department name he doesn't belong to and view the report). RLS secures access to only those with clearance.
upvoted 2 times
...
...
...
jaume
Most Recent 5 months, 1 week ago
Selected Answer: B
I' voting here definitively for B RLS answer. Cannot even imagine how to reach required scenario with other options
upvoted 1 times
...
rcaliandro
8 months, 2 weeks ago
Selected Answer: B
B of course, we need RLS to meet the requirements
upvoted 1 times
...
Dani_eL
1 year, 2 months ago
Selected Answer: B
RLS (row level security) is the way to go WHEN roles are manageable (here we talk about 4 different roles --> 4 departments)
upvoted 2 times
...
7e8101a
1 year, 3 months ago
Selected Answer: B
B is Correct
upvoted 1 times
...
benni_ale
1 year, 3 months ago
Selected Answer: B
B in pbi u do all with RLS
upvoted 1 times
...
MayurV19
1 year, 4 months ago
Correct. RLS (row level security) is the answer any time you need users to see data based on a certain value of any given dimension.
upvoted 1 times
...
Dsbuff
1 year, 4 months ago
Selected Answer: B
B is the correct answer.
upvoted 1 times
...
Igetmyrole
1 year, 7 months ago
B is the correct answer. To ensure that users can see the data of their respective department only, we should implement low-level security (RLS). Here is how it works: - Create a separate RLS role for each department. - Define the membership of each role by specifying which DepartmentID(s) each role can access. - Assign users to the appropriate RLS role based on their department affiliation. This way, each user will only be able to see data related to their respective department, as per the RLS rules you define.
upvoted 4 times
...
tke44
1 year, 11 months ago
B is the correct option
upvoted 2 times
...
RazaTheLegend
2 years ago
Selected Answer: B
B is correct, we must use row level security.
upvoted 3 times
...
srikanth923
2 years, 1 month ago
B is correct, we must use row level security.
upvoted 1 times
...
svg10gh
2 years, 3 months ago
Selected Answer: B
B is correct
upvoted 2 times
...
Dr_Do
2 years, 4 months ago
Selected Answer: B
RLS is the right choice!
upvoted 2 times
...
Hoeishetmogelijk
2 years, 5 months ago
Selected Answer: B
B is correct
upvoted 3 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago