exam questions

Exam MS-203 All Questions

View all questions & answers for the MS-203 exam

Exam MS-203 topic 4 question 29 discussion

Actual exam question from Microsoft's MS-203
Question #: 29
Topic #: 4
[All MS-203 Questions]

You have a Microsoft 365 environment that contains 1,000 mailboxes.
You need to ensure that only an administrator named Admin1 can use the Exchange Management Shell to manage Exchange Online settings.
What should you do?

  • A. For Admin1, run the Set-User cmdlet and specify the -RemotePowerShellEnabled parameter.
  • B. Create a conditional access policy and apply the policy to all users.
  • C. Create a conditional access policy and apply the policy to Admin1.
  • D. For all users, run the Set-User cmdlet and specify the -RemotePowerShellEnabled parameter.
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
Tumbrik
Highly Voted 3 years, 7 months ago
Found only this one: https://docs.microsoft.com/en-us/powershell/exchange/control-remote-powershell-access-to-exchange-servers?view=exchange-ps And according to that the answer is D.
upvoted 21 times
slimeycat
3 years, 7 months ago
Agreed based on above link. "By default, all user accounts have access to remote PowerShell. However, to actually use remote PowerShell to connect to an Exchange server, the user needs to be a member of a management role group, or be directly assigned a management role that enables the user to run Exchange cmdlets. For more information about role groups and management roles," So you would disable this for other users I think .
upvoted 6 times
...
ARYMBS
2 years, 2 months ago
I'd agree. You select ALL users except you want to leave access and disable Remote PowerShell.
upvoted 3 times
...
...
waseemsmr
Highly Voted 3 years, 6 months ago
I agree with Tumbrik. The answer is D https://docs.microsoft.com/en-us/powershell/exchange/control-remote-powershell-access-to-exchange-servers?view=exchange-ps
upvoted 9 times
...
Amir1909
Most Recent 6 months, 2 weeks ago
D is correct answer
upvoted 1 times
...
yaboo1617
9 months ago
Selected Answer: B
Only a conditional access policy will surely prevent existing users but also future new users.
upvoted 1 times
...
Meenous
1 year ago
Selected Answer: D
The answer is D as per : https://learn.microsoft.com/en-us/powershell/module/exchange/set-user?view=exchange-ps The article says : $true: The user has access to remote PowerShell. $false: The user doesn't have access to remote PowerShell. The default value depends on the management roles that are assigned to the user. And by default any user is created has this value =true and i confirmed that from my lab, so the default action to to change it to false on all users
upvoted 1 times
...
Paulie69
1 year, 6 months ago
on exam 12/9/22
upvoted 1 times
...
JoeGuan
1 year, 7 months ago
I like B, it's easy to create the policy. A is not correct, and D does not specify the correct True/False Parameters, nor the exclusion/inclusion of 'other' or 'not' user1 users. There is a script in the link. The general statement to create a conditional access policy is way better than a sort of correct answer with incomplete powershell parameters. It's a good question to think about!
upvoted 1 times
...
SreeSree
2 years ago
Answer is A
upvoted 1 times
alex_p
1 year, 12 months ago
Can you prove it?
upvoted 1 times
...
...
SkyGurl
2 years, 2 months ago
3/24/2022 - on the exam
upvoted 1 times
...
wainse
2 years, 10 months ago
Following link gives the answer, but it is not one of the option https://docs.microsoft.com/en-us/powershell/module/exchange/set-clientaccessrule?view=exchange-ps
upvoted 1 times
...
Bobalo
2 years, 10 months ago
This question doesn't make sense. Remote powershell is enabled for everyone by default, but only accounts that are assigned a role group can actually run powershell cmdlets. No role group, no cmdlets. There is no answer that reflects that.
upvoted 4 times
...
Sara_Mo
3 years, 4 months ago
RemotePowerShellEnabled needs to have $true or $false afterward and in this case for all users needs $false but in the answers, we could not find it $false then B should be the correct answer. https://docs.microsoft.com/en-us/powershell/exchange/control-remote-powershell-access-to-exchange-servers?view=exchange-ps
upvoted 2 times
jeffangel28
3 years, 3 months ago
A: Incorrect because by default, all user accounts have access to remote PowerShell "https://docs.microsoft.com/en-us/powershell/exchange/control-remote-powershell-access-to-exchange-servers?view=exchange-ps#what-do-you-need-to-know-before-you-begin" B: the most probable, search "Exchange Online PowerShell" inside "https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/concept-conditional-access-conditions#client-apps" C: no restrictions apply D: Incorrect because by default, all user accounts have access to remote PowerShell AND not mention an exception
upvoted 5 times
gisbern
3 years, 2 months ago
Agree. And setting Remote PowerShell will clear the setting for existing users , not for those who will be added in the future. Conditional Access policy will ensure they wont have access as well.
upvoted 1 times
...
...
...
Stev_M
3 years, 5 months ago
All M365 users have Remote PowerShell enabled by default. You would have to disable it for all users, then enable it for the Administrator. Answer should be "D"
upvoted 5 times
...
Jfran
3 years, 5 months ago
A https://docs.microsoft.com/en-us/powershell/module/exchange/set-user?view=exchange-ps#:~:text=The%20Set-User%20cmdlet%20contains%20no%20mail-related%20properties%20for,assigned%20permissions%20before%20you%20can%20run%20this%20cmdlet. -RemotePowerShellEnabled The RemotePowerShellEnabled parameter specifies whether the user has access to remote PowerShell. Remote PowerShell access is required to open the Exchange Management Shell or the Exchange admin center (EAC), even if you're trying to open the Exchange Management Shell or the EAC on the local Mailbox server. Valid values are: $true: The user has access to remote PowerShell. $false: The user doesn't have access to remote PowerShell.
upvoted 1 times
...
Raulchamy
3 years, 6 months ago
Based on the link provided by Tumbrik I think that the answer is clearly A You just need to enable Remote Powershell for that user. And in any case the C. The others says "All users" and does not mention any "Exception" therefore does not meet the goal.
upvoted 1 times
...
adavydov
3 years, 6 months ago
Looks as a correct answer: https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/concept-conditional-access-conditions
upvoted 3 times
...
Hammertime
3 years, 7 months ago
where do i find the related link to support the answer?
upvoted 2 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 ...