CLOUD COMPUTING

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/213

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 10:45 PM on 10/8/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

214 Terms

1
New cards

Protocol (definition)

A set of conventions governing the treatment and especially the formatting of data in an electronic communication system

2
New cards

Why split networking into layers?

Each layer handles one specific part of the problem and possibly the connection with the other layers

3
New cards

The 4 families of networking problems

Physical, topological/organisational, software, reliability

4
New cards

Examples of physical constraints

Attenuation, noise, bandwidth

5
New cards

Reliability problems in networking

Coping with data loss (detection and correction) and security

6
New cards

Number of layers in the OSI model

7

7
New cards

Number of layers in the TCP/IP model

4 (Network Access, Internet, Transport, Application)

8
New cards

Number of layers in the course model

5 (Physical, Data-Link, Network, Transport, Application)

9
New cards

OSI layers from 1 to 7

1 Physical, 2 Data Link, 3 Network, 4 Transport, 5 Session, 6 Presentation, 7 Application

10
New cards

Course model layers from 1 to 5

1 Physical, 2 Data-Link, 3 Network, 4 Transport, 5 Application

11
New cards

How are layers numbered?

From the bottom: layer 1 = Physical

12
New cards

Which OSI layers merge into the course Application layer?

Application, Presentation and Session (OSI 7, 6, 5)

13
New cards

TCP/IP layer that groups Data-Link and Physical

Network Access

14
New cards

TCP/IP name of the Network layer

Internet

15
New cards

Application layer: protocol or program?

The protocol (HTTP), not the program (Firefox)

16
New cards

Protocols at the Application layer

HTTP, DNS, DHCP, FTP, SMTP, POP, IMAP, SSH

17
New cards

Protocols at the Transport layer

TCP and UDP

18
New cards

Protocols at the Network layer

IPv4, IPv6, ICMPv4, ICMPv6

19
New cards

Protocols at the Data-Link layer

Ethernet, WLAN, SONET, SDH

20
New cards

Encapsulation

Moving down the stack, each layer adds its header to the data of the layer above

21
New cards

De-encapsulation

Moving up the stack, each layer removes its header and passes the payload to the right protocol above

22
New cards

Payload

The data a layer carries for the layer above (charge utile)

23
New cards

PDU at the Application layer

Data

24
New cards

PDU at the Transport layer

Segment (called a datagram in UDP)

25
New cards

PDU at the Network layer

Packet

26
New cards

PDU at the Data-Link layer

Frame (medium dependent, has a header and a trailer)

27
New cards

PDU at the Physical layer

Bits

28
New cards

Encapsulation chain for HTTP

HTTP > TCP > IP > Ethernet > bits

29
New cards

Encapsulation chain for DNS

DNS > UDP > IP > Ethernet > bits

30
New cards

1 byte = ? bits

8 bits

31
New cards

Client-server model: the 3 steps

Client sends a request; server processes it and sends an answer or an error; either side can end the connection

32
New cards

Who can end a client-server connection?

Either the client or the server

33
New cards

Common web server software

Apache and NGINX

34
New cards

Mail server equivalent of Apache

Postfix

35
New cards

Wireshark

A network analyser that captures traffic and shows every header

36
New cards

Port of HTTP

80

37
New cards

Port of HTTPS

443

38
New cards

Port of DNS

53

39
New cards

Port of SMTP / SMTPS

25 / 465

40
New cards

Port of POP / POPS

110 / 995

41
New cards

Port of IMAP / IMAPS

143 / 993

42
New cards

Port of SSH

22

43
New cards

FTP stands for

File Transfer Protocol

44
New cards

Secure alternative to telnet

SSH

45
New cards

DNS record A

Maps a name to an IPv4 address

46
New cards

DNS record AAAA

Maps a name to an IPv6 address

47
New cards

Domain name

A name associated with an IP address; it is rented, not really bought

48
New cards

Role of the Transport layer

Defines how data is transported to and from the application layer over the network

49
New cards

UDP stands for

User Datagram Protocol

50
New cards

TCP stands for

Transmission Control Protocol

51
New cards

Who chooses UDP or TCP?

Usually the application developer

52
New cards

What identifies the listening application?

The port number

53
New cards

Destination port

Standard: identifies the service (80, 443, 53…)

54
New cards

Source port

Ephemeral: random, chosen by the client OS at runtime, greater than 1023, different for each connection

55
New cards

Course example: browser to web server ports

Source 1240, destination 80; the answer is source 80, destination 1240

56
New cards

How does the server's answer use the ports?

It swaps source and destination ports

57
New cards

How does one PC run Firefox and Outlook at the same time?

Each connection has a different ephemeral source port (e.g. a' to 80 and a'' to 25)

58
New cards

http://IP_B:8080

Forces destination port 8080 instead of the default 80

59
New cards

UDP main characteristics

No connection, datagrams only sent and received, loss possible, wrong order possible

60
New cards

Size of the UDP header

8 bytes

61
New cards

Fields of the UDP header

Source port, destination port, length, checksum (16 bits each)

62
New cards

Checksum

Detects transmission errors; does not correct them

63
New cards

TCP main characteristics

Connection established; handles lost segments, re-ordering and acknowledgments

64
New cards

Size of the TCP header (no options)

20 bytes

65
New cards

TCP fields that UDP doesn't have

Sequence number, acknowledgement number, control bits, window, urgent

66
New cards

TCP three-way handshake

SYN, then SYN-ACK, then ACK

67
New cards

Closing a TCP connection

FIN and ACK from each side: 4 messages (FIN, ACK, FIN, ACK) or 3 (FIN, FIN+ACK, ACK)

68
New cards

Windowing

Number of segments sent before waiting for an ACK, adjusted dynamically to limit ACKs and boost performance

69
New cards

UDP vs TCP: which is faster?

UDP, because it is lighter

70
New cards

UDP: who handles connected behaviour if needed?

The application layer

71
New cards

Advantage of TCP for developers

Connected behaviour is fully handled by the protocol, so application code is simplified

72
New cards

Is TCP more secure than UDP?

No. TCP is more reliable, not more secure; neither encrypts

73
New cards

When is UDP still preferred?

Some loss is acceptable, the app handles loss/disorder, or the data fits in few datagrams

74
New cards

Transport used by web, mail, FTP, SSH

TCP

75
New cards

Transport used by video conferencing, VoIP, multicast, TFTP

UDP

76
New cards

Transport used by DNS and online gaming

UDP and TCP

77
New cards

Transport used by a VPN

UDP or TCP

78
New cards

Router

Device that interconnects networks; its job is to find a route

79
New cards

The two addresses of a device

A hardware address (MAC, layer 2) and a logical address (IP, layer 3)

80
New cards

MAC stands for

Media Access Control

81
New cards

Who sets the MAC address?

The network card manufacturer

82
New cards

Who sets the IP address?

The network administrator (or DHCP); it depends on the network and on the location

83
New cards

Scope of a MAC address

Unique on a given local (layer 2) network

84
New cards

Size of a MAC address

48 bits, shown as 12 hexadecimal digits

85
New cards

1 hexadecimal digit = ? bits

4 bits

86
New cards

First 6 hex digits of a MAC address

Usually identify the manufacturer

87
New cards

Can a MAC address be changed?

Not physically, but it can be reassigned through software

88
New cards

MAC address of a virtual machine

Set in a configuration file

89
New cards

One network card = ?

One MAC address

90
New cards

Basic security using MAC addresses

MAC address filtering

91
New cards

Broadcast MAC address

FF:FF:FF:FF:FF:FF

92
New cards

Multicast MAC prefixes

01:00:5E and 01:00:0A for IPv4, 33:33 for IPv6

93
New cards

Hex F = ? in decimal and binary

15 = 1111

94
New cards

Unicast

1 to 1 traffic (web browsing, mail)

95
New cards

Broadcast

1 to all traffic (printer service sharing)

96
New cards

Multicast

1 to many: devices interested in the content (IP TV streaming)

97
New cards

Anycast

A single IP shared by several devices in different locations

98
New cards

Routing decision

Is the target in my network or in another network? Decided with the routing table

99
New cards

A to B in the same network: destination MAC?

MAC B; the router is not involved

100
New cards

A to C in another network: destination MAC?

MAC of the router