exam questions

Exam MD-100 All Questions

View all questions & answers for the MD-100 exam

Exam MD-100 topic 4 question 1 discussion

Actual exam question from Microsoft's MD-100
Question #: 1
Topic #: 4
[All MD-100 Questions]

You have an Azure Active Directory (Azure AD) tenant that contains a user named [email protected].
You have a computer named Computer1 that runs Windows 10.
You join Computer1 to Azure AD. You enable Remote Desktop on Computer1.
[email protected] attempts to connect to Computer1 by using Remote Desktop and receives the following error message: `The logon attempt failed.`
You need to ensure that the user can connect to Computer1 by using Remote Desktop.
What should you do first?

  • A. In Azure AD, assign [email protected] the Cloud device administrator role.
  • B. From the local Group Policy, modify the Allow log on through Remote Desktop Services user right.
  • C. In Azure AD, assign [email protected] the Security administrator role.
  • D. On Computer1, create a local user and add the new user to the Remote Desktop Users group.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
Reference:
https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/allow-log-on-through-remote-desktop-services

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
michael365
Highly Voted 5 years, 5 months ago
B is correct
upvoted 12 times
natttjam
5 years ago
You can't add Azure AD accounts to local group policy
upvoted 3 times
Henry78
2 years, 9 months ago
you can ! like this: cantoso.com\[email protected]
upvoted 4 times
Hatsapatsa
2 years, 4 months ago
Starting with Windows 10 version 20H2, you can use Azure AD groups to manage administrator privileges on Azure AD joined devices with the Local Users and Groups MDM policy. This policy allows you to assign individual users or Azure AD groups to the local administrators group on an Azure AD joined device, providing you the granularity to configure distinct administrators for different groups of devices. Source: https://learn.microsoft.com/en-us/azure/active-directory/devices/assign-local-admin
upvoted 1 times
Hatsapatsa
2 years, 4 months ago
Here's the proof you can add and azure AD user. net localgroup "Remote Desktop Users" /add "AzureAD\the-UPN-attribute-of-your-user" Source: https://learn.microsoft.com/en-us/windows/client-management/connect-to-remote-aadj-pc
upvoted 1 times
...
...
...
112filip113
1 year, 10 months ago
Yes you can . I actualy done it today in my job. But computer must be also in domain.
upvoted 1 times
...
...
...
forummj
Highly Voted 4 years, 7 months ago
I agree that the answer is D. In the link suggested by the moderator (https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/allow-log-on-through-remote-desktop-services) in the Counter Measure section near the bottom it actually states "For domain controllers, assign the Allow log on through Remote Desktop Services user right only to the Administrators group. For other server roles and devices, add the Remote Desktop Users group." Which is the exact explaination of the differences between B and D
upvoted 8 times
forummj
4 years, 6 months ago
Adding to the above, I've had time to test this on a normal domain, I don't have an AzureAD to use. The only time I can reproduce the error explained is if you enter credentials that aren't recognised, this could only be because the Azure User account isn't recognised on the Computer1 (I'm probably wrong on that but it's the answer I came to) I created two GPOs one to add a Standard User into the RDP group for a domain computer. The other to enable "Allow log on through Remote Desktop Services". The only time I was able to login using RDP was when the first GPO was present, it made no difference if the second GPO was active or not. So, I'm sticking with D. AzureAD may work differently with RDP settings, but I don't know, so I can only work with what I've seen.
upvoted 1 times
...
...
112filip113
Most Recent 1 year, 10 months ago
B. From the local Group Policy, modify the Allow log on through Remote Desktop Services user right. Explanation: By modifying the local Group Policy on Computer1 and adding [email protected] to the "Allow log on through Remote Desktop Services" user right, you grant the user the necessary permission to connect to Computer1 using Remote Desktop. This allows the user to establish a Remote Desktop session to the computer. Option D, creating a local user account and adding it to the Remote Desktop Users group, is not the most appropriate solution in an Azure AD joined scenario. While it could potentially work, modifying the Group Policy is the recommended method to manage Remote Desktop access permissions on Windows 10 computers joined to Azure AD.
upvoted 1 times
...
OTBGNF
1 year, 10 months ago
Selected Answer: D
Deez nuts
upvoted 2 times
...
dlast
2 years ago
B cannot be correct you can not add an AzureAD user to a policy. However you can add an AzureAD account to the Remote Desktop Groups, which should be the preffered method see https://learn.microsoft.com/en-us/windows/client-management/client-tools/connect-to-remote-aadj-pc#add-users-to-remote-desktop-users-group This should be the correct answer for D instead of creating an additional account. If I get this question on my exam against my will I'll go for D...
upvoted 1 times
...
williamlamata
2 years, 2 months ago
CHATGPT group. Explanation: By default, Azure AD users do not have the necessary permissions to log on to a Windows 10 computer using Remote Desktop. To enable remote desktop access for a user in Azure AD, you must first create a local user account on the Windows 10 computer and add that user to the Remote Desktop Users group.
upvoted 1 times
williamlamata
2 years, 2 months ago
D. On Computer1, create a local user and add the new user to the Remote Desktop Users group.
upvoted 1 times
...
...
PChi
3 years, 1 month ago
I would go with D. I can't assume that the user has been added to the remote desktop group because the question does not state this. Therefore the first thing I would do is to add the user to the RD group. My next step would be to then modify the user right to allow remote desktop login through local group policy. I tried so hard to find some type of material to back this up but failed greatly. I simply can't assume the user has already been added.. can someone PLEASE give a solid answer. Article included perhaps? This is killing me.
upvoted 1 times
...
Kifla
3 years, 3 months ago
The answer is correct. Allow log on through Remote Desktop Services user right is assigned to Administrators and Remote Desktop Users group by Default. "To use Remote Desktop Services to successfully log on to a remote device, the user or group must be a member of the Remote Desktop Users or Administrators group and be granted the Allow log on through Remote Desktop Services right." (https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/allow-log-on-through-remote-desktop-services). If you open gpedit.msc and go to Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment, you can add user or group directly in that policy. In this case you would add cantoso.com/[email protected] (domain/username)
upvoted 3 times
...
williamzwwu
3 years, 4 months ago
Selected Answer: B
B is correct, it ok to add an Azure AD account to Allow log on through Remote Desktop Services user right from local group policy as I tested.
upvoted 2 times
...
ameli8222
3 years, 7 months ago
Added a user to "Allow log..." and in the RDP allowed users it does not show up. Added same user to RD users group and in the RDP allowed users it does show up. According to this, the answer is D.
upvoted 1 times
Henry78
2 years, 9 months ago
cantoso.com/[email protected]
upvoted 1 times
...
...
CARIOCA
3 years, 8 months ago
What would be the final answer and justification?
upvoted 2 times
...
Perycles
4 years ago
Answer is D : User1 didn't join the computer1 to Azure AD . 'You' did it. Si User1 is not a member of admin Group (rights given if he joined the computer to Azure AD). SO you have to add his Account to Remote Desktop user manually to allow him to use RDP.
upvoted 5 times
...
b3arb0yb1m
4 years, 1 month ago
Since D is the closest to net localgroup "Remote Desktop Users" /add "AzureAD\the-UPN-attribute-of-your-user", that would be my choice.
upvoted 2 times
...
Cisco
4 years, 1 month ago
None of these answers seem right, the user needs to be a member of the RD users group and it doesnt say if they are or not, adding a local user makes no sense. Modifying the log on through Remote Desktop Services shouldnt be needed either, that could mess things up for ADmins and RD users and I see no need to modify it anyway. Anyone got any more news on how this question is answered?
upvoted 3 times
...
Balena
4 years, 3 months ago
It's written that "You join Computer1 to Azure AD. You enable Remote Desktop on Computer1" meaning that 1. it's not user1 who join the computer but "you" and 2. that Remote Desktop has been enabled. For it to work, the RDP user must have rights. You do that by adding him to the Remote Desktop Users group (D). You MUST NOT "modify the Allow log on through Remote Desktop Services user right" since it contains already administrators and the Remote Desktop User group. You also do not have to create a new user (typo in the answer D) because the user is already created in AzureAD (first sentence). So you only have to add it to the group. Something like : net localgroup "Remote Desktop Users" /add "AzureAD\[email protected]". It worked for me in a test lab. But I could not find any way to do the same using graphical tools like Computer Manager / groups... So the best (not the good) answer is "D" for me.
upvoted 1 times
TestTaker72
4 years, 3 months ago
It says RD has been enabled. It says nothing about which users are on the allowed list. By default, only Admins and RD Users group can do this. So, since we do not know what group User1 is in (sorta implies User1 did not join the computer to AAD, this user would need to be added) so they would need to be added so I think it is B.
upvoted 1 times
...
...
bsldwp_2020
4 years, 4 months ago
B is correct as you can simply modify the Local group policy to add the user and allow RDP on the machine for the user.
upvoted 1 times
...
suketet
4 years, 4 months ago
B is the answer.
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago