exam questions

Exam MD-102 All Questions

View all questions & answers for the MD-102 exam

Exam MD-102 topic 1 question 202 discussion

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

You have a workgroup computer named Client1 that runs Windows 11 and connects to a public network.

You need to enable PowerShell remoting on Client1. The solution must ensure that PowerShell remoting connections are accepted from the local subnet only.

Which PowerShell command should you run?

  • A. Set-PSSessionConfiguration –AccessMode Local
  • B. Enable-PSRemoting –SkipNetworkProfileCheck
  • C. Enable-PSRemoting –Force
  • D. Set-NetFirewallRule –Name “WINRM-HTTP-In-TCP-PUBLIC” –RemoteAddress Any
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
VirtualJP
Highly Voted 1 year, 7 months ago
Selected Answer: B
Agreed. The -SkipNetworkProfileCheck parameter allows you to enable PowerShell remoting even if the computer is connected to a public network. However, by default, PowerShell remoting connections will only be accepted from the local subnet.
upvoted 15 times
...
Merrybob
Highly Voted 1 year, 3 months ago
Selected Answer: B
B. Enable-PSRemoting –SkipNetworkProfileCheck Set-PSSessionConfiguration –AccessMode Local Users of the local computer can use the session configuration to create a local loopback session on the same computer, but remote users are denied access. Enable-PSRemoting –Force - This command configures the computer to receive remote commands. The Force parameter suppresses the user prompts. The Set-NetFirewallRule cmdlet in the NetSecurity module adds a firewall rule that allows remote access from public networks from any remote location. This includes locations in different subnets.
upvoted 5 times
...
theptr
Most Recent 1 month ago
Selected Answer: B
Agreed its B
upvoted 1 times
...
oopspruu
10 months ago
Selected Answer: B
-SkipNetworkProfileCheck Indicates that this cmdlet enables remoting on client versions of the Windows operating system when the computer is on a public network. This parameter enables a firewall rule for public networks that allows remote access only from computers in the same local subnet.
upvoted 2 times
...
Amir1909
1 year, 4 months ago
Correct
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 ...