nerdexam
GIAC

GSEC · Question #44

Which layer of the TCP/IP Protocol Stack Is responsible for port numbers?

The correct answer is B. Transport. Port numbers in the TCP/IP stack are a function of the Transport layer, which manages end-to-end communication between applications.

Networking and Core Concepts

Question

Which layer of the TCP/IP Protocol Stack Is responsible for port numbers?

Options

  • ANetwork
  • BTransport
  • CInternet
  • DApplication

How the community answered

(24 responses)
  • A
    4% (1)
  • B
    79% (19)
  • C
    4% (1)
  • D
    13% (3)

Why each option

Port numbers in the TCP/IP stack are a function of the Transport layer, which manages end-to-end communication between applications.

ANetwork

The Network layer is responsible for logical addressing via IP addresses and routing decisions, not port numbers.

BTransportCorrect

The Transport layer is responsible for port numbers, which are used by protocols such as TCP and UDP to direct data to the correct application process on a host. Port numbers enable multiplexing - allowing multiple applications to share a single IP address by distinguishing their individual traffic streams.

CInternet

The Internet layer in the TCP/IP model handles IP addressing and packet forwarding, not port-based multiplexing.

DApplication

The Application layer defines protocols such as HTTP and DNS that use port numbers, but it does not define or manage the port numbering mechanism itself.

Concept tested: TCP/IP Transport layer responsibility for port numbers

Source: https://www.rfc-editor.org/rfc/rfc793

Topics

#TCP/IP#transport layer#port numbers#protocol stack

Community Discussion

No community discussion yet for this question.

Full GSEC Practice