Professional Documents
Culture Documents
In a client-server architecture, what type of host is the server typically found in?
a) Intermittently connected
b) Always-on
c) Dynamic IP address
d) None of the above
Answer: b) Always-on
Which protocol is commonly associated with client-server communication for fetching web
pages?
a) HTTP
b) SMTP
c) FTP
d) DNS
Answer: a) HTTP
Which architecture may involve complex management due to intermittently connected peers?
a) Client-server
b) Peer-to-peer
c) Hybrid
d) None of the above
Answer: b) Peer-to-peer
How many sockets are involved in a message exchange between two processes?
a) One
b) Two
c) Three
d) None
Answer: b) Two
What transport service do some applications require for 100% reliable data transfer?
a) Data integrity
b) Timing
c) Throughput
d) Security
Answer: a) Data integrity
What service is required for applications like Internet telephony and interactive games?
a) Data integrity
b) Timing
c) Throughput
d) Security
Answer: b) Timing
Which transport protocol requires connection setup between client and server processes?
a) TCP
b) UDP
c) SMTP
d) HTTP
Answer: a) TCP
What is the primary difference between open protocols and proprietary protocols?
a) Open protocols are defined in RFCs, while proprietary protocols are not
b) Open protocols are less secure than proprietary protocols
c) Open protocols are free to use, while proprietary protocols are not
d) Open protocols are always more efficient than proprietary protocols
Answer: a) Open protocols are defined in RFCs, while proprietary protocols are not
In the client/server model of the web, what role does the browser play?
a) Server
b) Client
c) Router
d) Firewall
Answer: b) Client
What term describes the characteristic of HTTP where the server maintains no information
about past client requests?
a) Stateless
b) Stateful
c) Persistent
d) Dynamic
Answer: a) Stateless
Which type of HTTP connection allows for multiple objects to be sent over a single TCP
connection?
a) Non-persistent
b) Persistent
c) Static
d) Dynamic
Answer: b) Persistent
What is the primary issue with non-persistent HTTP connections?
a) High bandwidth usage
b) High server load
c) High latency
d) High security risk
Answer: c) High latency
Which HTTP method is used for uploading a new file to the server?
a) POST
b) GET
c) HEAD
d) PUT
Answer: d) PUT
What does the GET method typically include in its request message?
a) User input in the entity body
b) Headers only
c) Data in the URL field
d) Cookies
Answer: c) Data in the URL field
What method requests only the headers that would be returned if the specified URL were
requested with a GET method?
a) POST
b) GET
c) HEAD
d) PUT
Answer: c) HEAD
What does the POST method typically include in its request message?
a) Headers only
b) Cookies
c) User input in the entity body
d) Data in the URL field
Answer: c) User input in the entity body
Which version of HTTP introduced persistent connections?
a) HTTP/1.0
b) HTTP/1.1
c) HTTP/2.0
d) HTTP/3.0
Answer: b) HTTP/1.1
Which method is used to completely replace a file that exists at a specified URL?
a) POST
b) GET
c) HEAD
d) PUT
Answer: d) PUT
When the HTTP status code "404 Not Found" is encountered, what does it mean?
a) Request succeeded
b) Request not understood by the server
c) Document not found on the server
d) HTTP version not supported
Answer: c) Document not found on the server
Which HTTP method is used for uploading a new file to the server?
a) POST
b) GET
c) HEAD
d) PUT
Answer: d) PUT
Which HTTP status code indicates that the requested object has been moved permanently?
a) 200 OK
b) 301 Moved Permanently
c) 400 Bad Request
d) 505 HTTP Version Not Supported
Answer: b) 301 Moved Permanently
Which HTTP method is used for requesting only the headers of a specified URL?
a) POST
b) GET
c) HEAD
d) PUT
Answer: c) HEAD
What does the HTTP status code "505 HTTP Version Not Supported" indicate?
a) Request succeeded
b) Request not understood by the server
c) Document not found on the server
d) HTTP version not supported
Answer: d) HTTP version not supported
Which HTTP status code indicates that the requested object has not been modified since the
cached version?
a) 200 OK
b) 301 Moved Permanently
c) 304 Not Modified
d) 404 Not Found
Answer: c) 304 Not Modified
Which protocol is responsible for retrieval, deletion, and folder management of email messages
stored on the server?
a) SMTP
b) POP
c) IMAP
d) HTTP
Answer: c) IMAP
Which component of DNS is responsible for resolving top-level domains like .com and .org?
a) Root name servers
b) Top-Level Domain servers
c) Authoritative servers
d) Local DNS servers
Answer: b) Top-Level Domain servers
What protocol does DNS use for communication between hosts and DNS servers?
a) TCP
b) UDP
c) HTTP
d) FTP
Answer: b) UDP
One-word Questions:
What is a socket?
Answer: Door
Two-word Questions:
What type of connection allows for multiple objects to be sent over a single TCP connection?
Answer: Persistent HTTP
What does the HTTP status code "404 Not Found" indicate?
Answer: Document not found