nerdexam
Microsoft

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…

Manage storage and file services

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)
  • A
    75% (38)
  • B
    12% (6)
  • C
    10% (5)
  • D
    4% (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

#SMB Direct#RDMA#PowerShell#Windows Server Features

Community Discussion

No community discussion yet for this question.

Full AZ-800 Practice