L1 - Application Layer 1 Flashcards

1
Q

What are hosts in the Internet?

A

• End systems running network applications.
• Examples: Smartphones, PCs, Servers, Wireless Laptops.

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

What types of communication links exist in the Internet?

A

• Fiber, copper, radio, satellite.
• Transmission determined by bandwidth.

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

What are packet switches?

A

• Devices like routers and switches that forward data packets across networks.

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

What defines a network protocol?

A

• Format, order of messages, and actions upon sending and receiving messages.

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

What are Internet standards and who defines them?

A

• RFC (Request for Comments) documents and the IETF (Internet Engineering Task Force).

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

What is the Internet Service View?

A

• Infrastructure providing services to apps like Web, VoIP, Email, etc., through an API.

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

Why do we use layers in network architecture?

A

• Each layer provides services independently while relying on lower layers.

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

Name the five layers of the Internet Protocol Stack.

A

• Application, Transport, Network, Link, Physical.

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

What are the ISO/OSI additional layers beyond the Internet Stack?

A

• Presentation (interpret meaning of data)
• Session (synchronization, checkpointing, recovery)

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

What is the Client-Server architecture?

A

• Server is always on, has a permanent IP.
• Clients connect intermittently and usually do not connect directly to each other.

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

What is the Peer-to-Peer (P2P) architecture?

A

• No always-on server; peers communicate and share services directly.

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

What is a socket in networking?

A

• An endpoint for sending or receiving messages at the process level.

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

How is a process uniquely identified in a network?

A

• By a combination of IP address and port number.

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

What does an app-layer protocol define?

A

• Message types, syntax, semantics, and transmission rules.

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

What transport needs must a network application consider?

A

• Data integrity, throughput, timing, and security.

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

What services does TCP provide?

A

• Reliable data transfer, flow control, congestion control, connection setup.

17
Q

What services does UDP lack compared to TCP?

A

• No reliability, no flow control, no congestion control, no guaranteed timing.

18
Q

How is TCP secured?

A

• Using SSL/TLS protocols for encryption, integrity, and endpoint authentication.

19
Q

What networks are connected through ISPs in the diagram?

A
  • Mobile network, Home network, Institutional network.
20
Q

What are global and regional ISPs responsible for?

A
  • Interconnecting smaller networks and ensuring data delivery across regions.
21
Q

What roles do routers play in the network?

A
  • Forwarding packets from source to destination across links.
22
Q

What types of links connect devices in the Internet?

A
  • Wired links (fiber, copper) and Wireless links (radio signals).
23
Q

How do mobile devices connect to the Internet in the diagram?

A
  • Through wireless networks and mobile ISPs.
24
Q

How is network layering compared to airline operations?

A
  • Each service (ticketing, baggage, gates, runways) operates in layers, just like network layers.
25
What does the 'runway' layer correspond to in networking?
* The physical transfer of data, like takeoff/landing of airplanes.
26
What internal-layer actions happen during baggage handling in the analogy?
* Internal processes like loading, unloading, and claiming baggage, similar to data encapsulation.
27
What does encapsulation mean in networking?
* Wrapping data with headers at each protocol layer for transmission.
28
At which layers is data encapsulated in the source device?
* Application, Transport, Network, Link, and Physical layers.
29
What transformation does a message undergo before reaching the physical medium?
* It becomes a frame, including headers for link, network, and transport.
30
Which layers are visible on both the sending and receiving ends in the diagram?
* Application, Transport, Network, Data Link, and Physical layers.
31
How does application-layer communication occur over the Internet?
* Through service layers using encapsulated data.
32
In client-server architecture, where are the arrows directed?
* From clients to servers in centralized fashion.
33
Do clients directly communicate with each other in client-server models?
* No, they only communicate with the server.
34
In P2P architecture, how do communication paths look?
* Multiple arrows between peers and sometimes to servers.
35
What are the advantages of P2P over client-server?
* Scalability, resilience, and resource sharing.
36
What is a socket in the context of two processes communicating?
* It acts like a door through which messages pass from one process to another.
37
Who controls the application layer and the transport layer?
* Application developer controls application layer; OS controls transport layer and below.