Networking Flashcards

1
Q

The fundamental operation of a client-server application is the __________which consists of a client
____________ followed by a server _____________.

A

Transaction
Request
Response

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

An Ethernet segment consists of

A

A set of hosts connected through a hub

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

Globally unique 48-bit address stored in NVRAM on network adapter:

A

MAC address

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

A LAN consists of multiple segments connected by

A

Bridges

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

How do bridges differ from hubs?

A

Bridges implement a distributed algorithm that allows each to “learn” over time which ports connect to which hosts, thereby reducing communication traffic. Hubs simply copy all received data from one host to all other connected hosts.

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

LANs are connected using ________________ to form an internet.

A

routers

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

Two capabilities provided by protocol software are ________ and _____.

A

Host naming scheme

Delivery mechanism

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

A general packet consists of a _______ and a ______

A

Header

Payload

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

A packet header usually contains:

A

source and destination addresses and size of payload

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

In layered communication networks, the method of information hiding that treats the entire packet (header plus payload) from level k, as only the payload to which it adds a header at level k-1, is called

A

Encapsulation

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

TCP/IP stands for

A

Transmission Control Protocol/Internet Protocol

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

A TCP/IP packet is called a

A

Datagram

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

Network byte order is

A

Big-endian

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

The mapping between domain names and Internet hosts is maintained by

A

DNS

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

Linux utility program that can be used to display IP addresses associated with a domain name

A

nslookup

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

Each Internet host has a locally defined domain name called ______ that maps to ________

A

Localhost

127.0.0.1

17
Q

Linux command that displays domain name of local host:

A

hostname

18
Q

An Internet connection is characterized by three things

A

Point to point
Full duplex
Reliable

19
Q

A socket is the

A

end-point of a connection

20
Q

A socket address consists of

A

Internet address and port number

21
Q

The port that is assigned automatically by the kernel to a client making a connection request is called a(n)

A

Ephemeral port

22
Q

The port used by a server’s socket address (when it provides a common service) is called a(n)

A

well-known port

23
Q

Linux maintains a file with mappings between these kinds of services and ports. It is:

A

/etc/services

24
Q

A connection is uniquely defined by the socket addresses of its endpoints. This is called a

A

socket pair

25
Q

Sequence of functions called to allow a client to begin sending requests to a server

A

socket

connect

26
Q

Sequence of functions called to allow a server to begin receiving data from a client

A

socket
bind
listen
accept

27
Q

Name of the function used to return socket address information given a string representation of a host and/or service

A

getaddrinfo

28
Q

Name of the function used to return host name given socket address information:

A

getnameinfo