Which protocol establishes a reliable connection before transferring application data?
Show answer & solution
Answer: (C) TCP
TCP uses a three-way handshake.
Electrical Engineering · Computer Networks
27 questions, each with the answer and a worked solution.
Practice interactively and track your score →Which protocol establishes a reliable connection before transferring application data?
Answer: (C) TCP
TCP uses a three-way handshake.
What are the steps of the TCP three-way handshake?
Answer: (A) SYN, SYN-ACK, ACK
It synchronises sequence numbers before data transfer.
What is the main characteristic of UDP?
Answer: (D) It is connectionless and fast but does not guarantee delivery
UDP suits video streaming, VoIP and DNS queries.
Which port number is used by HTTP?
Answer: (C) 80
HTTPS uses port 443.
Which port number is used by HTTPS?
Answer: (D) 443
HTTPS encrypts web traffic with TLS.
Which protocol is used for sending email between mail servers?
Answer: (A) SMTP
SMTP uses port 25 (and 587 for submission).
Which protocol downloads email from a server to a client, typically removing it from the server?
Answer: (B) POP3
IMAP keeps mail synchronised on the server.
Which protocol is used for transferring files between computers over a network?
Answer: (A) FTP
FTP uses ports 20 and 21.
Which protocol provides secure encrypted remote login?
Answer: (C) SSH
SSH uses port 22; Telnet is unencrypted.
Which protocol is used by the ping command?
Answer: (D) ICMP
Ping sends ICMP echo requests.
Which protocol is used to monitor and manage network devices?
Answer: (A) SNMP
SNMP collects device statistics.
Which IEEE standard defines wired Ethernet?
Answer: (B) IEEE 802.3
IEEE 802.11 is Wi-Fi.
Which media access method was used by classic shared Ethernet?
Answer: (C) CSMA/CD
Collisions were detected and retransmitted.
Which media access method is used by Wi-Fi?
Answer: (C) CSMA/CA
Collision avoidance is used because collisions are hard to detect wirelessly.
Which routing protocol uses hop count as its metric with a maximum of 15 hops?
Answer: (A) RIP
RIP is a distance-vector protocol.
Which routing protocol is a link-state protocol widely used inside organisations?
Answer: (D) OSPF
OSPF uses Dijkstra's algorithm.
Which routing protocol exchanges routes between autonomous systems on the Internet?
Answer: (B) BGP
BGP is the Internet's inter-domain routing protocol.
How many bits are used for TCP and UDP port numbers?
Answer: (B) 16
Ports range from 0 to 65,535.
Which protocol synchronises clocks of computers over a network?
Answer: (C) NTP
Accurate time is important for logs and protection systems.
What is the main purpose of TCP's sliding window?
Answer: (A) Flow control, allowing several segments to be sent before acknowledgement
Window size adapts to network conditions.
Which protocol is used by web browsers to request web pages?
Answer: (D) HTTP
HTTP methods include GET and POST.
Which application-layer protocol is commonly used for IoT and industrial messaging because it is lightweight?
Answer: (A) MQTT
MQTT uses a publish–subscribe model.
What does the TTL (time to live) field in an IP packet prevent?
Answer: (C) Packets circulating forever in routing loops
Each router decrements TTL by one.
What is the main difference between TCP and UDP?
Answer: (A) TCP is connection-oriented and reliable, while UDP is connectionless with no delivery guarantee
Applications choose based on reliability versus speed.
Which port number does DNS use?
Answer: (B) 53
DNS uses UDP for most queries and TCP for large transfers.
Which protocol securely transfers files using SSH?
Answer: (D) SFTP
Plain FTP sends passwords unencrypted.
What is the function of DHCP lease time?
Answer: (C) The period for which an assigned IP address is valid before renewal
Leases allow addresses to be reused.