AZ-800 · Question #256
You have a server that runs Windows Server. You need to prevent the creation of SMB Direct connections. Which cmdlet should you run?
The correct answer is A. Disable-WindowsOptionalFeature. SMB Direct (SMB over RDMA) is implemented as a Windows optional feature named 'SMBDirect'. The 'Disable-WindowsOptionalFeature' cmdlet can disable this feature at the OS level (e.g., 'Disable-WindowsOptionalFeature -Online -FeatureName SMBDirect'), which prevents SMB Direct…
Question
You have a server that runs Windows Server. You need to prevent the creation of SMB Direct connections. Which cmdlet should you run?
Options
- ADisable-WindowsOptionalFeature
- BRemove-WindowsFeature
- CSet-NetAdapterAdvancedProperty
- DDisable-NetAdapterBinding
How the community answered
(51 responses)- A75% (38)
- B12% (6)
- C10% (5)
- D4% (2)
Explanation
SMB Direct (SMB over RDMA) is implemented as a Windows optional feature named 'SMBDirect'. The 'Disable-WindowsOptionalFeature' cmdlet can disable this feature at the OS level (e.g., 'Disable-WindowsOptionalFeature -Online -FeatureName SMBDirect'), which prevents SMB Direct connections from being established. 'Remove-WindowsFeature' is used for server roles and features installed via Server Manager, not optional features. 'Set-NetAdapterAdvancedProperty' adjusts adapter-level hardware settings but does not globally disable the SMB Direct protocol. 'Disable-NetAdapterBinding' disables protocol bindings on a specific adapter, which is an indirect and per-adapter approach rather than a system-wide prevention.
Topics
Community Discussion
No community discussion yet for this question.