GIAC Python Coder (GPYC) — Question 19
What is the output of the ls (TCP) function?
Answer options
- A. It lists all of the TCP port numbers in a TCP stream
- B. It lists all of the packets that have a TCP layer
- C. It lists the contents of the TCP layer
- D. It lists all of the fields associated with the TCP layer
Correct answer: A
Explanation
The correct answer is A because the ls (TCP) function specifically provides a list of all TCP port numbers in a TCP stream. Options B, C, and D are incorrect as they imply different functionalities that do not precisely describe the output of the ls (TCP) function.