exam questions

Exam MD-102 All Questions

View all questions & answers for the MD-102 exam

Exam MD-102 topic 1 question 167 discussion

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

Your network contains an on-premises Active Directory domain. The domain contains two computers named Computer1 and Computer2 that run Windows 10.

You install Windows Admin Center on Computer1.

You need to manage Computer2 from Computer1 by using Windows Admin Center.

What should you do on Computer2?

  • A. Update the TrustedHosts list.
  • B. Run the Enable-PSRemoting cmdlet.
  • C. Allow Windows Remote Management (WinRM) through the Microsoft Defender firewall.
  • D. Add an inbound Microsoft Defender Firewall rule.
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
Merrybob
Highly Voted 1 year, 4 months ago
Going against the grain and selecting "B. Run the Enable-PSRemoting cmdlet" as my answer. According to the MS site, you need to allow WinRM port 5589 only for Workgroup machines that are on the same subnet. The question here states these machines are domain-joined. Ref: https://learn.microsoft.com/en-us/windows-server/manage/windows-admin-center/support/troubleshooting#are-you-connecting-to-a-workgroup-machine-on-a-different-subnet Also, the Enable-PSRemoting cmdlet performs a series of functions including; starting the WinRM service, creating a listener to accept requests on any IP address, enabling a firewall exception, and restarting the WinRM service after all changes are made. Ref: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-7.4#:~:text=The%20Enable%2DPSRemoting%20cmdlet%20performs,make%20the%20preceding%20changes%20effective. Good luck to all!
upvoted 17 times
Alex_UC
6 months, 4 weeks ago
I think is right, winrm is then enabled by deafult
upvoted 2 times
Alex_UC
6 months, 4 weeks ago
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-7.4#description
upvoted 1 times
...
...
DiligentSam
7 months, 1 week ago
i will go for B
upvoted 3 times
...
665d390
9 months, 1 week ago
correcto
upvoted 1 times
...
...
VirtualJP
Highly Voted 1 year, 7 months ago
Selected Answer: C
Windows Admin Center uses WinRM for remote management, so allowing WinRM through the firewall is a crucial step in enabling this functionality
upvoted 7 times
...
theptr
Most Recent 1 month, 2 weeks ago
Selected Answer: B
I think it`s B
upvoted 2 times
...
passy951
2 months, 2 weeks ago
Selected Answer: B
B is correct
upvoted 2 times
...
justITtopics
2 months, 2 weeks ago
Selected Answer: B
By default, WinRM is set to Manual, so option C is not enough because the service should be enabled first, which we can do with option B. The Enable-PSRemoting cmdlet performs the following operations: Runs the Set-WSManQuickConfig cmdlet, which performs the following tasks: Starts the WinRM service. Sets the startup type on the WinRM service to Automatic. Creates a listener to accept requests on any IP address. Enables a firewall exception for WS-Management communications. Creates the simple and long name session endpoint configurations if needed. Enables all session configurations. Changes the security descriptor of all session configurations to allow remote access. Restarts the WinRM service to make the preceding changes effective
upvoted 1 times
...
Grey654Gandalf
4 months, 2 weeks ago
Selected Answer: B
Chat wilk be B
upvoted 2 times
...
Tr619899
6 months, 1 week ago
Selected Answer: C
To manage a remote computer using Windows Admin Center, you need to ensure that Windows Remote Management (WinRM) is enabled and accessible on the remote system. WinRM is the underlying protocol that Windows Admin Center uses to communicate with remote devices. On Computer2, you must: - Enable the Windows Remote Management service (if not already enabled). - Configure the Microsoft Defender Firewall to allow inbound traffic for WinRM (port 5985 for HTTP or port 5986 for HTTPS).
upvoted 2 times
...
RomanV
8 months, 2 weeks ago
Selected Answer: B
The Enable-PSRemoting cmdlet performs the following operations: Runs the Set-WSManQuickConfig cmdlet, which performs the following tasks: Starts the WinRM service. <--- Sets the startup type on the WinRM service to Automatic. <--- Creates a listener to accept requests on any IP address. Enables a firewall exception for WS-Management communications. <---- Creates the simple and long name session endpoint configurations if needed. Enables all session configurations. Changes the security descriptor of all session configurations to allow remote access. Restarts the WinRM service to make the preceding changes effective. <--- https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-7.4
upvoted 1 times
...
Frank_2022
10 months, 1 week ago
Selected Answer: C
To manage Computer2 from Computer1 using Windows Admin Center, you need to enable remote management on Computer2. This is achieved by allowing Windows Remote Management (WinRM) through the firewall. WinRM is the protocol used by Windows Admin Center to communicate with remote computers.
upvoted 1 times
...
Faceless_Void
10 months, 1 week ago
this is confusing, to manage remote computer using admin center it needs to be installed in Server.
upvoted 1 times
...
oopspruu
10 months, 2 weeks ago
Selected Answer: B
The first step is to enable WinRM service which can be done via Enable-PsRemoting. Enabling WinRM through firewall is not enough.
upvoted 3 times
...
Prasis
11 months ago
Chatgpt: To manage Computer2 from Computer1 using Windows Admin Center, you need to ensure that Windows Remote Management (WinRM) is enabled and allowed through the firewall on Computer2. This is necessary for Windows Admin Center to connect and manage the remote machine. Therefore, the correct steps to take on Computer2 are: **B. Run the Enable-PSRemoting cmdlet.** This cmdlet configures the computer to receive PowerShell remote commands that are sent using the WS-Management technology. **C. Allow Windows Remote Management (WinRM) through the Microsoft Defender firewall.** This step ensures that the necessary firewall ports are open to allow WinRM communication. You should perform both actions to fully configure Computer2 for remote management via Windows Admin Center.
upvoted 1 times
...
nap61
1 year ago
Selected Answer: B
Enable-PSRemoting enables WinRM services and rule in firewall.
upvoted 3 times
...
ejonesy80
1 year, 1 month ago
To manage Computer2 from Computer1 using Windows Admin Center, you need to ensure that the necessary prerequisites are met. The correct answer is: C. Allow Windows Remote Management (WinRM) through the Microsoft Defender firewall. Explanation: Windows Admin Center relies on WinRM (Windows Remote Management) for communication with remote computers. By default, WinRM is not enabled on Windows 10 computers, and the firewall may block WinRM traffic. Therefore, you need to allow WinRM through the firewall on Computer2 to enable remote management via Windows Admin Center from Computer1.
upvoted 2 times
ejonesy80
1 year, 1 month ago
My apologies, After further investigation, i change my anser to: B. Run the Enable-PSRemoting cmdlet. This cmdlet does it all. While WinRM through firewall only, if it's Enabled on device, which isn't the case by Default. Hope one day Microsoft/Pearson VUE will add the function to see which answers were wrong, so we can learn from it.
upvoted 3 times
...
...
OyYaGotta
1 year, 2 months ago
Selected Answer: B
PSRRemote will open a firewall port and run WinRM. If you do just any other the others it won't connect and enable powershell scripts to be pushed to the machine.
upvoted 3 times
...
mail2bala3011
1 year, 2 months ago
Selected Answer: B
Option B does all required setting
upvoted 2 times
...
Darkfire
1 year, 2 months ago
Selected Answer: B
While C and D are also correct, there just a single setting. I'll go for B based on the command sets multiple settings: https://learn.microsoft.com/en-us/windows-server/manage/windows-admin-center/support/known-issues#:~:text=Windows%2010%20doesn%27t,enable%20PSRemoting. https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/enable-psremoting?view=powershell-7.4 But the real question is..... Which is the official answer @ the exam?! =D
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 ...