Networking Flashcards

1
Q

Where is the HTTP protocol used?

A

Worldwide Web

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

What is the SMTP protocol used for?

A

Sending/receiving emails

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

What is the FTP protocol used for?

A

File transfers over a network

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

What is the SMB protocol used for?

A

Shared folder access over a network

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

What are port numbers used for?

A

Since applications do not have direct access to network hardware, the OS will help service the network requests.

The OS assigns each request from an application with a random (source) port number, so that the response can be passed back to the correct application.

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

What does 127.0.0.1 refer to?

A

loopback network interface/localhost

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

What is packet forwarding?

A

It is the process by which data is sent from computer to computer until it reaches its destination.

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

What is the name of the packet forwarding model used by the TCP and UDP protocols?

A

Unicasting, whereby data is forwarded from server to server, until it reaches its destination.

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

How does unicast packet forwarding work?

A

Each computer on the network is connected to a gateway.
When an application needs to send data to a destination (IP address), the computer checks all other computers connected to it to see if the destination is listed there.
If not, the data is forwarded to the computer’s gateway.
At the gateway, the process is repeated.
If the destination is not in the list of computers in the gateway, the data is forwarded to the next gateway and checked again until the destination is found and the packet is sent to the destination.

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

What are the steps involved in DNS lookup?

A
  1. DNS client checks its DNS cache for DNS entries containing the domain name. If one is found, the corresponding IP address is used. Otherwise …
  2. DNS client sends a DNS lookup request to a (recursive) DNS resolver.
  3. DNS resolver checks its own DNS records for the domain name. If DNS record is found, DNS server returns response with the requested IP address. Otherwise, it sends the request to a DNS root server.
  4. The root server sends the address of the authoritative (TLD) DNS server request to the resolver.
  5. The resolver queries the authoritative DNS server for the IP address.
  6. The resolver sends the IP address back to the client.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the DNS cache?

A

It is a location where the computer stores the IP addresses returned for the domains. This is done so that next time a DNS lookup is requested, the computer checks in the DNS cache first, to minimize requests to the DNS server.

The DNS cache may need to be flushed if it gets outdated.

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

What do top level domains (TLDs) refer to?

A

Suffixes such as .gov, .edu and .com.

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

What is a protocol?

A

It is a set of rules for communication agreed upon by both the sender and receiver.

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

What is a protocol suite?

A

It is a collection of related protocols that are designed to work together.

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

What is the IP protocol? What is its purpose?

A

It forms the Internet layer of the TCP/IP model. Its purpose is to identify computers on the Internet. This allows packet routing to be used for the Internet.

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

What is client-server architecture?

A

A client is a device or program that sends a request to a server.
The server returns a response to the client.

17
Q

What is a request?

A

A request is data sent by a client to a server.

18
Q

What is a response?

A

The server sends a response (containing data) to the client when a client sends a request to the server.

19
Q

What are the 4 layers of the TCP/IP protocol stack?

A
  1. Application Layer
  2. Transport Layer
  3. Internet Layer
  4. Network Layer
20
Q

What is a circuit-switched network?

A

In a circuit-switched network:
1. A dedicated communication path is established between source and destination.
2. Each part of the data transmission stream follows the same route to its destination
3. The returning data stream follows the same route back to the source

21
Q

What is a packet-switched network?

A

In a packet-switched network:
1. There is no dedicated transmission capacity along a path: each packet may go by a different route to its destination
2. The data to be sent is broken up into packets
3. Each packet may go by a different route to its destination