exam questions

Exam AZ-140 All Questions

View all questions & answers for the AZ-140 exam

Exam AZ-140 topic 4 question 35 discussion

Actual exam question from Microsoft's AZ-140
Question #: 35
Topic #: 4
[All AZ-140 Questions]

You have an Azure Virtual Desktop deployment that contains a session host named Host1.

You need to configure Windows Defender Firewall to allow inbound network traffic for RDP Shortpath on Host1.

Which program in the C:\Windows\System32 folder should you specify in the inbound firewall rule?

  • A. Rdpshell.exe
  • B. Svchost.exe
  • C. Raserver.exe
  • D. Mstsc.exe
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
Jeoluk
Highly Voted 2 years, 5 months ago
Selected Answer: B
It´B "svchost.exe" New-NetFirewallRule -DisplayName 'Remote Desktop - RDP Shortpath (UDP-In)' -Action Allow -Description 'Inbound rule for the Remote Desktop service to allow RDP Shortpath traffic. [UDP 3390]' -Group '@FirewallAPI.dll,-28752' -Name 'RemoteDesktop-UserMode-In-RDPShortpath-UDP' -PolicyStore PersistentStore -Profile Domain, Private -Service TermService -Protocol UDP -LocalPort 3390 -Program '%SystemRoot%\system32\svchost.exe' -Enabled:True https://learn.microsoft.com/en-us/azure/virtual-desktop/configure-rdp-shortpath?tabs=managed-networks
upvoted 9 times
...
jeff1988
Most Recent 8 months ago
Selected Answer: B
To configure Windows Defender Firewall to allow inbound network traffic for RDP Shortpath on your Azure Virtual Desktop session host, you should specify Svchost.exe in the inbound firewall rule. This is because RDP Shortpath uses the svchost.exe process to handle the UDP traffic required for the connection. The correct answer is B. Svchost.exe.
upvoted 1 times
...
Guglielmino
10 months, 2 weeks ago
Selected Answer: C
C. Specifying Svchost.exe may seem like a simpler and more inclusive solution, as it hosts many Windows services, including those related to Remote Desktop. However, this practice can also increase the attack surface, as it allows a larger number of services to communicate through the firewall. Raserver.exe is specifically related to RDP Shortpath, so configuring a firewall rule for this process reduces the risk of exposing other unnecessary services.
upvoted 1 times
...
bcc970d
11 months, 1 week ago
answer is B
upvoted 1 times
...
tempelier1975
1 year, 10 months ago
Selected Answer: B
ew-NetFirewallRule -DisplayName 'Remote Desktop - RDP Shortpath (UDP-In)' -Action Allow -Description 'Inbound rule for the Remote Desktop service to allow RDP Shortpath traffic. [UDP 3390]' -Group '@FirewallAPI.dll,-28752' -Name 'RemoteDesktop-UserMode-In-RDPShortpath-UDP' -Profile Domain, Private -Service TermService -Protocol UDP -LocalPort 3390 -Program '%SystemRoot%\system32\svchost.exe' -Enabled:True -GPOSession $gpoSession
upvoted 1 times
...
tempelier1975
1 year, 10 months ago
Selected Answer: B
ew-NetFirewallRule -DisplayName 'Remote Desktop - RDP Shortpath (UDP-In)' -Action Allow -Description 'Inbound rule for the Remote Desktop service to allow RDP Shortpath traffic. [UDP 3390]' -Group '@FirewallAPI.dll,-28752' -Name 'RemoteDesktop-UserMode-In-RDPShortpath-UDP' -Profile Domain, Private -Service TermService -Protocol UDP -LocalPort 3390 -Program '%SystemRoot%\system32\svchost.exe' -Enabled:True -GPOSession $gpoSession
upvoted 1 times
...
remcokaas
1 year, 11 months ago
Please check https://learn.microsoft.com/en-us/azure/virtual-desktop/configure-rdp-shortpath?tabs=managed-networks The provided answer here is incorrect.
upvoted 1 times
...
Leocan
2 years, 1 month ago
Selected Answer: B
https://learn.microsoft.com/en-us/azure/virtual-desktop/configure-rdp-shortpath?tabs=managed-networks
upvoted 1 times
...
mohammedali4172
2 years, 1 month ago
Selected Answer: B
Answer is B
upvoted 1 times
...
JOates1993
2 years, 5 months ago
Answer is B
upvoted 1 times
...
ZokiZokic2023
2 years, 5 months ago
Answer is: B https://www.parallels.com/blogs/ras/rdp-shortpath/
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 ...