Application Layer 1 Flashcards

1
Q

What are some networking apps?

A
  • Social networking
  • Web
  • Text messages
  • Email
  • Streaming videos
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When creating a network app, programs are written to…

A
  • Run on (different) end systems
  • Communicate over network
  • e.g. web server software communicates with browser software
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

When creating a network app, we don’t need to write software for…

A
  • Network-core devices
  • Do not run user applications
  • Applications on end systems, allow for raid app development
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

In the client-server paradigm, what does the server contain?

A
  • Always-on host
  • Permanent IP address
  • Often in data centres, for scaling
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In the client-server paradigm, what does the client contain?

A
  • Contact, communicate with server
  • Intermittently connected
  • Dynamic IP address
  • Don’t directly communicate with eachother
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does peer-peer architecture contain?

A
  • No always-on server
  • Arbitrary end systems directly communicate
  • Peers request service from other peers
  • Peers are intermittently connected
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is process communication?

A
  • Within the same host, two processes communicate using inter-process communication
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are sockets?

A
  • Process sends/receives messages to/from its socket
  • Socket = door
  • 2 sockets on each side (client and server)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

To receive messages, processes must have an?

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

What are identifiers?

A
  • Include both IP addresses & port numbers associated with process on host
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What port number is used for HTTP?

A
  • 80 or 8080
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Host devices have a unique …-bit IP address

A
  • 32-bit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

An application-layer protocol defines:

A
  • Types of messages exchanged
  • Message syntax
  • Message semantics
  • Rules
  • Open protocols
  • Proprietary protocols
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What transport services does an app need?

A
  • Data integrity
  • Timing
  • Throughput
  • Security
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does the TCP service provide?

A
  • Reliable transport
  • Flow control
  • Congestion control
  • Connection-oriented
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What doesn’t TCP service provide?

A
  • Timing
  • Minimum throughput guarantee
  • Security
16
Q

What does the UDP service provide?

A
  • Unreliable data transfer
17
Q

What doesn’t the UDP service provide?

A
  • Reliability
  • Flow control
  • Congestion control
18
Q

What are the 3 major components of an email system?

A
  • User agents
  • Mail servers
  • Simple mail transfer protocol (SMTP)
19
Q

What does a user agent do in an email system?

A
  • “mail reader”
  • Composing, editing, reading mail messages
  • Gmail, Outlook
  • Outgoing, incoming messages stored on server
20
Q

What do mail servers contain?

A
  • Mailbox contains incoming messages for user
  • Message queue of outgoing mail messages
21
Q

Describe the SMPT RFC (5321)?

A
  • Uses TCP to reliably transfer email messages from client to server (port 25)
22
Q

What are the 3 phases of transfer in the SMTP RFC (5321)?

A
  • SMTP handshaking (greeting)
  • SMTP transfer of messages
  • SMTP closure
23
Q

How do clients retrieve emails?

A
  • Mail access protocol
  • Post office protocol (POP)
  • Internet mail access protocol (IMAP)
24
Q

Describe the POP3 protocol?

A
  • Can download and delete
  • Download and keep copies of messages on different clients