Microsoft

AZ-800 practice question 180

Administering Windows Server Hybrid Core Infrastructure · free question 180 of 246

Question

You have a server that runs Windows Server. You need to prevent the creation of SMB Direct connections. Which cmdlet should you run?
  • A. Disable-WindowsOptionalFeature Correct
  • B. Remove-WindowsFeature
  • C. Set-NetAdapterAdvancedProperty
  • D. Disable-NetAdapterBinding

Explanation

SMB Direct is an optional Windows feature named SMBDirect, and Microsoft documents disabling it with Disable-WindowsOptionalFeature -Online -FeatureName SMBDirect (and re-enabling it with Enable-WindowsOptionalFeature). Once the feature is disabled, SMB cannot create SMB Direct (RDMA) connections. Remove-WindowsFeature removes server roles and features installed through Server Manager, not the SMBDirect optional component. Set-NetAdapterAdvancedProperty changes driver-level adapter properties, and Disable-NetAdapterBinding unbinds protocols such as IPv6 or File and Printer Sharing from an adapter; neither is the documented way to stop SMB Direct.

Need the theory? Learn it free in the AZ-800 course on Godlike Academy

Practice the whole free set

AZ-800 is a free exam: all 300 questions with instant feedback, plus Learn and Exam modes and PDF export, free.