Well, now I see that this article does not fully cover the topic.
https://docs.microsoft.com/en-us/learn/modules/row-level-security-power-bi/3-dynamic-method
The Power BI DAX USERNAME() function helps to return the user domain login with the form of (Domain\User) in the locality or your local system.
The Power BI DAX USERPRINCIPALNAME() function helps to return the user principal name with the form of (User’s login credential or Preeti@<tenant>.onmicrosoft.com) in the Power BI Online Service. Assuming username in the table contains Domain\User data, answer is A.
No, you setup RLS first as desktop (whether its static or dynamic) then you go to PBI service to grant permissions using the RLS group that you created in desktop.
USERNAME Returns the domain and login of the user in the domain\login
format.
USERPRINCIPALNAME Depending on how the Active Directory was
set up, this function usually returns the email address of a user.
The correct answer is A. The suggested answer B is incorrect. Since data type of sales_manager_id is integer while UserPrincipalName() will return the user login email address which is a varchar data type. The where clause in answer B will never works. For the where clause in answer A, Username() will return the login credential in Power BI service, that is the email used to login. This can match with the username in the Sales_Manager table. Similar reason for answer C and D, the where clause will not work too. The only answer that will work is A. Thus, the answer is definitely A.
B is indeed correct, for this reason: "Litware uses Azure Active Directory (Azure AD) to authenticate users."
When Azure AD is set up, USERPRINCIPALNAME() will return the domain e-mail address
Your answer would have been correct if option B is using email = userprincipalname(). So in this case, the closest correct answer from the provided option is D.
You both are wrong!
With you approaches you try to match an ID = Integer with the string/varchar outcome that the function USERNAME() / USERPRINCIPALNAME() produces.
The only right answer is A, becaus you match the username as varchar/string with the varchar/string outcome from USERNAME()
This section is not available anymore. Please use the main Exam Page.DA-100 Exam Questions
Log in to ExamTopics
Sign in:
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.
brieucboonen1
Highly Voted 4 years, 3 months agobrieucboonen1
4 years, 3 months agoAnetaK
4 years, 3 months agoAnetaK
4 years, 3 months agoJajabink
4 years, 1 month agoWillyMac
Highly Voted 4 years, 1 month agoD24G
4 years, 1 month agoLina90
Most Recent 2 years, 10 months agoismailqtr
2 years, 9 months agoAshishrao666
2 years, 10 months agoAshishrao666
2 years, 10 months agoedriska1
2 years, 11 months agobackuptrap
3 years, 1 month agoTechDiva
3 years, 3 months agoTechDiva
3 years, 3 months agoLollipop14527
3 years, 3 months ago[Removed]
2 years, 11 months agoHazemnz
3 years, 3 months agoAshley090521
3 years, 3 months agoPatrickStr
3 years, 6 months agoaguilartu1
3 years, 7 months agokcwood94
3 years, 8 months agoCharley92
3 years, 12 months agoPortlandFighters
4 years agowellingtonluis
4 years agorick8213
4 years, 1 month agoMayurD
4 years, 1 month agoFRITTEN2PIET
4 years ago