nerdexam
GIAC

GPEN · Question #95

You are sending a file to an FTP server. The file will be broken into several pieces of information packets (segments) and will be sent to the server. The file will again be reassembled and reconstruc

The correct answer is D. Sequence number. TCP sequence numbers are used to track the order of segments so the receiving end can correctly reassemble the original data stream.

Penetration Testing Foundations & Reconnaissance

Question

You are sending a file to an FTP server. The file will be broken into several pieces of information packets (segments) and will be sent to the server. The file will again be reassembled and reconstructed once the packets reach the FTP server. Which of the following information should be used to maintain the correct order of information packets during the reconstruction of the file?

Options

  • AAcknowledge number
  • BTTL
  • CChecksum
  • DSequence number

How the community answered

(28 responses)
  • A
    4% (1)
  • B
    7% (2)
  • C
    18% (5)
  • D
    71% (20)

Why each option

TCP sequence numbers are used to track the order of segments so the receiving end can correctly reassemble the original data stream.

AAcknowledge number

The acknowledgment number confirms how many bytes have been received and requests the next expected byte, but it does not indicate the position of the current segment for ordering purposes.

BTTL

TTL (Time to Live) limits the number of hops a packet can traverse before being discarded and has no role in segment ordering or reassembly.

CChecksum

The checksum verifies data integrity by detecting transmission errors, but it does not carry any information about segment position or order.

DSequence numberCorrect

Each TCP segment carries a sequence number that indicates where its payload fits within the overall byte stream. The receiving host uses these numbers to reorder out-of-sequence segments and reconstruct the original file in the correct order before passing it to the application layer.

Concept tested: TCP sequence numbers and stream reassembly

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

Topics

#TCP sequence numbers#packet reassembly#TCP/IP protocol#network fundamentals

Community Discussion

No community discussion yet for this question.

Full GPEN Practice