Application Layer Protocols · Computer Networks
21 questions · asked in 15 of 27 years (2000–2026)
MCQ 17 · MSQ 2 · NAT 21-mark 19 · 2-mark 2
2000Questions per year2026
Questions 16–20 of 21
Consider different activities related to email.
m1: Send an email from a mail client to a mail server
m2: Download an email from mailbox server to a mail client
m3: Checking email in a web browser
Which is the application level protocol used in each activity?
m1: Send an email from a mail client to a mail server
m2: Download an email from mailbox server to a mail client
m3: Checking email in a web browser
Which is the application level protocol used in each activity?
Answer: (C)
Let us look at each activity one by one:
- Sending mail from the client to the server: SMTP
- Downloading mail from the mailbox to the client: POP
- Reading mail in a web browser: HTTP
Answer: m1: SMTP, m2: POP, m3: HTTP
- Sending mail from the client to the server: SMTP
- Downloading mail from the mailbox to the client: POP
- Reading mail in a web browser: HTTP
Answer: m1: SMTP, m2: POP, m3: HTTP
Which one of the following is not a client server application?
Answer: (D)
Internet chat, web browsing and e-mail each use a client program and a server program. Ping is different. It only sends ICMP echo messages, and the OS network stack deals with them. No server application is involved.
Answer: Ping
Answer: Ping
HELO and PORT, respectively, are commands from the protocols:
Answer: (D)
- HELO is the greeting command a client sends to start an SMTP session (it gives the client's host name to the mail server).
- PORT is an FTP command. The client uses it to tell the server which IP address and port to use for the data connection (active mode).
So the pair is SMTP and FTP. HELO does not belong to FTP, TELNET or HTTP, and PORT does not belong to HTTP, POP3 or TELNET, so the other options fail.
Answer: (D)
- PORT is an FTP command. The client uses it to tell the server which IP address and port to use for the data connection (active mode).
So the pair is SMTP and FTP. HELO does not belong to FTP, TELNET or HTTP, and PORT does not belong to HTTP, POP3 or TELNET, so the other options fail.
Answer: (D)
Traceroute reports a possible route that is taken by packets moving from some host A to some other host B. Which of the following options represents the technique used by traceroute to identify these hosts:
Answer: (A)
Traceroute sends probe packets with a time-to-live () that grows by one each time:
1. A probe with is dropped by the first router, which sends back an ICMP Time Exceeded message. That reply gives the first router's address.
2. A probe with passes the first router and is dropped by the second one, which replies the same way.
3. This goes on until a probe reaches B, which sends back an ICMP reply (Echo Reply).
So A learns the routers one by one, starting with the first, by using ICMP. This is option A.
Why the others fail:
- (B) Routers do not append their addresses to packets in traceroute.
- (C) is close, but it leaves out how the replies are obtained: A sends a separate probe for each hop, with the one higher each time. Nothing makes every router on the path reply to one packet, and the replies are not guaranteed to arrive in hop order. (A) is the option that states the hop-by-hop probing, so it is the intended answer, though its phrase "querying routers about the next router" is loose.
- (D) Traceroute does not compute a path; it observes the path the packets actually take.
Answer: (A)
1. A probe with is dropped by the first router, which sends back an ICMP Time Exceeded message. That reply gives the first router's address.
2. A probe with passes the first router and is dropped by the second one, which replies the same way.
3. This goes on until a probe reaches B, which sends back an ICMP reply (Echo Reply).
So A learns the routers one by one, starting with the first, by using ICMP. This is option A.
Why the others fail:
- (B) Routers do not append their addresses to packets in traceroute.
- (C) is close, but it leaves out how the replies are obtained: A sends a separate probe for each hop, with the one higher each time. Nothing makes every router on the path reply to one packet, and the replies are not guaranteed to arrive in hop order. (A) is the option that states the hop-by-hop probing, so it is the intended answer, though its phrase "querying routers about the next router" is loose.
- (D) Traceroute does not compute a path; it observes the path the packets actually take.
Answer: (A)
Consider the three commands : PROMPT, HEAD and RCPT. Which of the following options indicate a correct association of these commands with protocols where these are used?
Answer: (B)
Match each command with its protocol:
- PROMPT is an FTP client command. It switches the per-file confirmation on or off when several files are moved with mget or mput.
- HEAD is an HTTP request method. It asks for the same response headers as GET but without the message body.
- RCPT (RCPT TO) is an SMTP command. It names a recipient of the mail.
So the order is FTP, HTTP, SMTP.
Answer: (B)
- PROMPT is an FTP client command. It switches the per-file confirmation on or off when several files are moved with mget or mput.
- HEAD is an HTTP request method. It asks for the same response headers as GET but without the message body.
- RCPT (RCPT TO) is an SMTP command. It names a recipient of the mail.
So the order is FTP, HTTP, SMTP.
Answer: (B)
Keep practising
Topics in Computer Networks
OSI LayerPhysical LayerData Link LayerNetwork Layer ProtocolTransport Layer Protocol
Application Layer ProtocolsYou are here
Network Security