exam questions

Exam PL-300 All Questions

View all questions & answers for the PL-300 exam

Exam PL-300 topic 2 question 8 discussion

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

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

A manager can represent only a single country.
You need to use row-level security (RLS) to meet the following requirements:
✑ The managers must only see the data of their respective country.
✑ The number of RLS roles must be minimized.
Which two actions should you perform? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  • A. Create a single role that filters Country[Manager_Email] by using the USERNAME DAX function.
  • B. Create a single role that filters Country[Manager_Email] by using the USEROBJECTID DAX function.
  • C. For the relationship between Purchase Detail and Purchase, select Apply security filter in both directions.
  • D. Create one role for each country.
  • E. For the relationship between Purchase and Purchase Detail, change the Cross filter direction to Single.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
Nurgul
Highly Voted 2 years, 2 months ago
Selected Answer: AC
The given answer is correct. A. Create a single role that filters Country[Manager_Email] by using the USERNAME DAX function. C.For the relationship between Purchase Detail and Purchase, select Apply security filter in both directions.
upvoted 37 times
...
Churato
Highly Voted 2 years, 1 month ago
Ok, I agree with A and C but, "Each correct answer presents a complete solution" ? I believe that A and C are each one a part of solution not a complete solution... Am I worng?
upvoted 33 times
Paulkuzzio
8 months, 3 weeks ago
You are very right; C option is not a complete solution.
upvoted 3 times
...
...
Rio98
Most Recent 5 days, 15 hours ago
Selected Answer: AB
The correct answers are A and B, as both allow you to create a single role to filter data based on the manager’s identifier (email or object ID), minimizing the number of roles required.
upvoted 2 times
...
hsetin
1 month, 3 weeks ago
A and E should be correct answer. A is obvious, and E because there is no reuirement to filter from details.
upvoted 2 times
...
YuanQingTan
3 months ago
When RLS is applied, If the security filter in both direction is not applied, that users may or may not see information that is not related to him or her (depending on how the visuals are designed) Enable the security filter in both direction will ensure that only the required information is shown.
upvoted 1 times
...
zvm
3 months, 1 week ago
Selected Answer: AD
A is obvious. C does not represent a complete solution. What would happen if you ONLY apply security filter? What filter?? Security filter does not exist if this needs to be a complete solution. D - the only drawback is that you need a lot of roles.
upvoted 1 times
...
as198184
3 months, 1 week ago
the diagram shows the relationship already set as bi directional. Why we need to set this again ?
upvoted 2 times
...
rcaliandro
3 months, 2 weeks ago
Selected Answer: AC
The given answer is correct
upvoted 1 times
rcaliandro
3 months, 2 weeks ago
Tested, it is
upvoted 1 times
...
...
pbi_da
4 months, 2 weeks ago
A&C. To people talking about "complete solutions," consider this: each Correct Selection is worth a point, but each Correct Answer is a complete solution. An Answer is composed of multiple selections, but the Answer itself will be a complete solution (of two parts). Hope this helps.
upvoted 1 times
...
Kiran37
4 months, 2 weeks ago
AC is correct
upvoted 1 times
...
ykb_proudly_Indian
4 months, 3 weeks ago
I will go with D, E
upvoted 1 times
i.eniolaabolade
2 months ago
D is wrong. Question says number of roles created must be minimized.
upvoted 3 times
...
...
Chellz
5 months, 4 weeks ago
On June 8, 2024 exam
upvoted 2 times
...
SIH007
7 months, 1 week ago
A can't be correct, Create a single role that filters Country[Manager_Email] by using the USERNAME DAX function - USERNAME returns the Username, to get the User-E-Mail you have to use USERPRINCIPALNAME
upvoted 8 times
TMOTM
2 months, 3 weeks ago
That was my thinking. Using username or UPN creates, effectively, a role per country and needs maintenance. My thinking was using a role per country (which you need anyway) and then you can maintain that way.
upvoted 1 times
...
...
HBerg_002
9 months, 1 week ago
I believe the given answer is not correct. Furthermore, I believe the most selected answer is incorrect as each option selected should be a complete solution. As mentioned in some other comments, the questions says that each solution should be a COMPLETE solution. If you in isolation performs option C, it would not lead to any RLS being applied in the model. If the question were asking for two alternatives that together were a complete solution, A and C would be correct. Hence, one should opt you alternative A and D where A is dynamic RLS and D is static RLS (credit to the individual(s) mentioning this prior to this comment).
upvoted 13 times
Mo2011
6 months, 1 week ago
But it does NOT minimize the number of roles
upvoted 1 times
...
JudT
8 months, 2 weeks ago
That's right! So the correct answer is A and D in this case ( each solution should be a COMPLETE solution)
upvoted 1 times
...
...
Chellz
10 months, 1 week ago
Selected Answer: AD
A, D. A is dynamic while D is static RLS. Each presents a complete solution. The explanation in C itself is correct but irrelevant. The RLS filter required doesn't come from the Purchase Detail table.
upvoted 11 times
1CY1
2 months, 3 weeks ago
D is a nonsense answer. In practice you would never do it. I'm going with A, C.
upvoted 1 times
...
...
Aldeus
11 months, 1 week ago
Why in both directions? The RLS filter comes from the Country table and propagates to the Purchase table, the it propagates to the Purchase Detail table. There's no RLS filter coming from the Purchase Detail table, which it'll justify the use of RLS in both directions.
upvoted 4 times
...
Hyla
1 year, 1 month ago
OK, given the options, it seems to me that A and C are correct. But wouldn't it be "more" correct for "Apply security filter in both directions" to be between the tables Country and Purchase? Thanks in advance for any feedback
upvoted 4 times
vikjos4
1 year ago
Shouldn't we use the USERPRINCIPALNAME function DAX as it pertains to the email column?
upvoted 9 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 ...