Chapter 2 final exam Flashcards

1
Q

Name 3 Characteristics associated with client-server approach to structuring network applications

A

1.
There is a server with a well known server IP address
2.HTTP uses this application structure.
3.There is a server that is always on.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Name 2 Characteristics associated with P2P approach to structuring network applications:

A
  1. There is not a server that is always on
  2. A process requests service from those it contacts and will provide service to processes that contact it.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which of the following pieces of information will appear in a server’s application-level HTTP reply message?

A

A response code
A response phrase associated with a response code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When an application uses a TCP socket, what transport services are provided to the application by TCP?

A

Flow Control, Congestion Control and reliable data transfer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is meant by HTTP being Stateless?

A

Server maintains no information about clients

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is an HTTP cookie used for?

A

A cookie is a code used by a SERVER, carried on a client’s HTTP request, to access information the server had earlier stored about an earlier interaction with this Web browser. [Think about the distinction between a browser and a person.]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the purpose of the HTTP GET message?

A

The HTTP GET request message is used by a web client to request a web server to send the requested object from the server to the client.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the purpose of the conditional HTTP GET request message?

A

To allow a server to only send the requested object to the client if this object has changed since the server last sent this object to the client.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are some advantages of using a web cache?

A

FASTER PAGE LOAD TIME.Caching generally provides for a faster page load time at the client, if the web cache is in the client’s institutional network, because the page is loaded from the nearby cache rather than from the distant server.
2.Caching uses LESS BANDWIDTH coming into an institutional network where the client is located, if the cache is also located in that institutional network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are some differences between HTTP1.1 and 2?

A

1) HTTP/2 allows a LARGE OBJECT to be broken down into SMALLER PIECES, and the transmission of those pieces to be interleaved with transmission other smaller objects, thus preventing a large object from forcing many smaller objects to wait their turn for transmission.

2)
HTTP/2 allows objects in a PERSISTENT CONNECTION to be sent in a client-specified PRIORITY ORDER.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the purpose of the If-Modified-Since field in a HTTP GET request message

A

To indicate to the SERVER that the CLIENT has cached this object from a previous GET, and the time it was cached.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the purpose of a cookie value in the HTTP GET request?

A

The cookie value itself doesn’t mean anything. It is just a value that was returned by a web server to this client during an earlier interaction.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

name three characteristics that apply to HTTP only

A

Operates mostly as a “client pull” protocol.
Uses server port 80.
Uses a blank line (CRLF) to indicate end of request header.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

name three characteristics that apply to SMTP only

A

Uses server port 25.
Uses CRLF.CRLF to indicate end of message.
Operates mostly as a “client push” protocol.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Name 2 characteristics that apply to BOTH HTTP and SMTP

A

Is able to use a persistent TCP connection to transfer multiple objects.
Has ASCII command/response interaction, status codes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Provides authoritative hostname to IP mappings for organization’s named hosts.

A

Authoritative DNS server

17
Q

Replies to DNS query by local host, by contacting other DNS servers to answer the query.

A

Local DNS server

18
Q

Responsible for a domain (e.g., *.com, *.edu); knows how to contact authoritative name servers

A

Top Level Domain (TLD) servers

19
Q

Highest level of the DNS hierarchy, knows how to reach servers responsible for a given domain (e.g., *.com, *.edu).

A

DNS root servers

20
Q

What is the value of caching in the local DNS name server?

A

DNS caching results in LESS LOAD elsewhere in DNS, when the reply to a query is found in the local cache.
DNS caching provides for FASTER REPLIES, if the reply to the query is found in the cache.

21
Q

What information does the type “A” resource record hold in the DNS database?

A

A hostname and an IP address

22
Q

In which of the forms of caching does a user benefit from its not only from its own recent requests (and cached replies) but also from recent requests made from other users?

A

HTTP local web caching
Local DNS server caching

23
Q

Check all of the phrases below that state a true property of a local DNS server.

A

The local DNS server record for a remote host is sometimes different from that of the authoritative server for that host.

The local DNS server can decrease the name-to-IP-address resolution time experienced by a querying local host over the case when a DNS is resolved via querying into the DNS hierarchy.

24
Q

What is the role of an authoritative name server in the DNS?

A

It provides the DEFINITIVE ANSWER to the query with respect to a name in the authoritative name server’s domain.