Application-Layer-Protocol
Question 1 |
Assume that you have made a request for a web page through your web browser to a web server. Initially the browser cache is empty. Further, the browser is configured to send HTTP requests in non-persistent mode. The web page contains text and five very small images. The minimum number of TCP connections required to display the web page completely in your browser is ______.
6 |
Hence, 1 Text + 5 Image = 6 Objects
Question 2 |
The protocol data unit (PDU) for the application layer in the Internet stack is
Segment | |
Datagram | |
Message | |
Frame |
Question 3 |
Consider the following statements:
I. telnet, ftp and http are application layer protocols.
II.l EJB (Enterprise Java Beans) components can be deployed in a J2EE (Java2 Enterprise Edition) application server.
III. If two languages conform to the Common Language Specification (CLS) of the Microsoft.NET framework, then a class defined in any one of them may be inherited in the other.
Which statements are true?
l and II only | |
II and III only | |
l and III only | |
I, II and III |
Then there are certain compliance rules which may be used for inheritance. So other statement (I) and (II) are True.
Question 4 |
(i) HTTP
(ii) FTP
(iii) TCP
(iv) POP3
(i) and (ii) only | |
(ii) and (iii) only | |
(ii) and (iv) only | |
(iv) only |
A protocol that requires keeping of the internal state on the server is known as a stateful protocol.
Stateless - HTTP, IP
Stateful - FTP, SMTP, POP3, TCP
TCP is stateful as it maintains connection information across multiple transfers, but TCP is a Transport layer protocol.
FTP and POP3 is stateful Application layer protocol.
Question 5 |
Which of the following protocol pairs can be used to send and retrieve e-mails (in that order)?
SMTP, MIME | |
SMTP, POP3 | |
IMAP, POP3 | |
IMAP, SMTP |
POP3: Post Office Protocol (Responsible for retrieve email)
SMTP: Simple Mail Transfer Protocol (Responsible for send Email)
IMAP: Internet Message Access protocol (Responsible for store and view)
MIME: Multi purpose Internet Mail Extensions (For media)
Question 6 |
What is the maximum size of data that the application layer can pass on to the TCP layer below?
Any size | |
216 bytes-size of TCP header | |
216 bytes | |
1500 bytes |
Transport Layer - 65515 byte
Network layer - 65535 byte
Data link layer - 1500 byte
Question 7 |
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: HTTP m2: SMTP m3: POP | |
m1: SMTP m2: FTP m3: HTTP | |
m1: SMTP m2: POP m3: HTTP | |
m1: POP m2: SMTP m3: IMAP |
Question 8 |
FTP | |
SMTP | |
POP | |
TELNET |