nerdexam
CompTIA

LX0-104 · Question #317

Which of the following ports are used by smbd? (Choose THREE correct answers)

The correct answer is A. 135/TCP D. 139/TCP E. 445/TCP. The smbd daemon primarily uses TCP ports 135, 139, and 445 for its various SMB/CIFS services and associated RPC communications.

Networking Fundamentals

Question

Which of the following ports are used by smbd? (Choose THREE correct answers)

Options

  • A135/TCP
  • B137/UDP
  • C138/UDP
  • D139/TCP
  • E445/TCP

How the community answered

(21 responses)
  • A
    86% (18)
  • B
    10% (2)
  • C
    5% (1)

Why each option

The `smbd` daemon primarily uses TCP ports 135, 139, and 445 for its various SMB/CIFS services and associated RPC communications.

A135/TCPCorrect

Port 135/TCP is used for Remote Procedure Call (RPC) services over NetBIOS, which `smbd` utilizes for certain administrative and communication functions.

B137/UDP

Port 137/UDP is used by `nmbd` for NetBIOS Name Service (name registration and resolution), not directly by `smbd` for session services.

C138/UDP

Port 138/UDP is used by `nmbd` for NetBIOS Datagram Service (for browsing and other broadcast functions), not directly by `smbd` for file transfer or session establishment.

D139/TCPCorrect

Port 139/TCP is used for NetBIOS Session Service, enabling legacy SMB/CIFS communication over NetBIOS over TCP/IP.

E445/TCPCorrect

Port 445/TCP is the primary port for modern SMB direct host communication, which `smbd` uses for file and printer sharing, bypassing NetBIOS.

Concept tested: Samba smbd daemon port usage

Source: https://wiki.samba.org/index.php/Samba_Server_Ports

Topics

#Samba ports#NetBIOS over TCP/IP#SMB/CIFS#networking

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice