Module 3 Flashcards

(50 cards)

1
Q

Why should you study Protocols & Models (Module 3)?

A

Devices interoperate by following protocols; models (OSI/TCP/IP) show where rules live and how data flows end to end.

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

What are the three elements present in any communication?

A

Message source (sender), message destination (receiver), and channel (the medium/path).

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

Define a protocol in networking.

A

An agreed set of rules/format/timing that devices use to exchange messages over a medium.

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

List five common requirements network protocols define.

A

Encoding, formatting/encapsulation, size (MTU), timing (flow/timeout/access), delivery options.

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

What is encoding vs decoding?

A

Encoding converts information into signals/bits for transmission; decoding reverses it at the receiver.

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

What is message encapsulation?

A

Placing data inside protocol headers/trailers (e.g., HTTP→TCP→IP→Ethernet) so each layer can process it.

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

Why limit message size?

A

Receivers process smaller units; networks have MTUs; fragmentation adds overhead and loss impact.

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

Name the three timing concepts in communications.

A

Flow control, response timeout, and access method (who talks when).

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

Give examples of delivery options.

A

Unicast (1→1), multicast (1→many subscribers), broadcast (1→all in a broadcast domain).

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

What do protocols implement on devices (SW/HW)?

A

Specific functions and formats for addressing, reliability, flow control, error detection, routing, and app interfaces.

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

In a web fetch, map four key protocols in order.

A

HTTP (app) → TCP (reliability) → IP (routing) → Ethernet/WLAN (local delivery).

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

What function does TCP provide in that stack?

A

Reliable, ordered delivery with sequencing, acknowledgments, and flow control (windowing).

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

What function does IP provide?

A

Logical addressing and routing across networks; routers forward based on destination IP.

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

What does Ethernet/WLAN provide?

A

Data link framing and local (hop-by-hop) delivery between NICs over the physical medium.

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

What is a protocol suite?

A

A group of interrelated protocols designed to work together (e.g., TCP/IP).

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

Why visualize suites as a stack?

A

Each higher layer depends on services of lower layers; separates content from delivery mechanics.

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

Name two historical suites largely replaced by TCP/IP.

A

AppleTalk and Novell IPX/SPX (supplanted by TCP/IP).

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

List TCP/IP layers top to bottom.

A

Application, Transport, Internet, Network Access.

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

Give two examples of Application-layer protocols.

A

HTTP/HTTPS, DNS (also DHCPv4/v6, SMTP/IMAP/POP3, FTP/SFTP/TFTP, REST).

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

What are the two Transport protocols and their styles?

A

TCP (connection-oriented, reliable) and UDP (connectionless, best-effort).

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

Name three Internet-layer protocols.

A

IPv4/IPv6, ICMPv4/ICMPv6, NAT (plus routing protocols like OSPF/EIGRP/BGP).

22
Q

Give two Network Access layer items.

A

Ethernet/WLAN (data link) and ARP (address resolution).

23
Q

What makes TCP/IP “open” and “standards-based”?

A

Defined in IETF RFCs, publicly available; multi-vendor interoperability.

24
Q

List the seven OSI layers top to bottom.

A

Application, Presentation, Session, Transport, Network, Data Link, Physical.

25
Map OSI to TCP/IP (high level).
OSI 5–7 ≈ TCP/IP Application; OSI 4 ↔ Transport; OSI 3 ↔ Internet; OSI 1–2 ↔ Network Access.
26
One benefit of using layered models.
Modularity—changes in one layer don’t break others; clear interfaces; common language.
27
Who steers internet standards and RFCs?
ISOC/IAB oversee; IETF develops/maintains TCP/IP; IRTF handles long-term research.
28
Who coordinates domains IPs, and ports?
ICANN (policy) and IANA (assignments of IP blocks, DNS roots, TCP/UDP port numbers).
29
Name two electronic/communications standards bodies.
IEEE (802.3 Ethernet, 802.11 WLAN) and TIA/EIA; also ITU-T for telecom/broadband/video.
30
Define segmentation and its two benefits.
Splitting data into smaller pieces; enables multiplexing (many flows share links) and efficient retransmission of only lost parts.
31
What is sequencing and who handles it?
Numbering segments so the receiver reorders data; provided by TCP.
32
Name the PDU at each layer (TCP/IP terms).
Application: Data; Transport: Segment (TCP)/Datagram (UDP); Internet: Packet; Data Link: Frame; Physical: Bits.
33
Describe encapsulation order for a web page sent.
App data + HTTP → TCP segment → IP packet → Ethernet/WLAN frame → bits on the wire.
34
Describe de-encapsulation at the receiver.
Bits → Frame (L2) → Packet (IP) → Segment (TCP) → Data (HTTP) → App.
35
Differentiate L3 vs L2 addresses purpose.
L3 IP: end-to-end delivery across networks; L2 MAC: hop-to-hop delivery between NICs on the same link.
36
Do IP source/destination addresses change hop by hop?
No—IP src/dst remain end-to-end; routers rewrite only L2 headers per hop.
37
Do MAC addresses change hop by hop?
Yes—each hop uses the sender NIC’s MAC as source and next hop’s MAC as destination.
38
Same LAN communication: which MAC is the L2 destination?
The target host’s MAC (direct delivery within the broadcast domain).
39
Different LANs: which MAC is the first-hop L2 destination?
The default gateway’s MAC (router interface on the local network).
40
Why must hosts have a default gateway configured?
So packets to remote networks can be sent to a router for forwarding.
41
What is multicast used for?
Efficient one-to-many delivery to subscribed receivers (e.g., streaming, routing updates) without broadcasting to all.
42
Give one example each: broadcast and unicast on Ethernet.
Broadcast: ARP Request, DHCP Discover; Unicast: SSH to a switch SVI.
43
Which protocol resolves IPv4 L3→L2 on Ethernet?
ARP maps IP addresses to MAC addresses within a LAN.
44
What does ICMP provide?
Messaging for errors and diagnostics (e.g., ping/echo, time exceeded).
45
Name two application setup protocols used before HTTP.
DNS (name resolution) and DHCP (address assignment) or SLAAC/DHCPv6 in IPv6.
46
Why do open standards matter for home gear?
Interoperability—different vendors’ devices (e.g., router + client) work using common protocols like 802.11, IPv4/6, DHCP.
47
Access method example on Wi-Fi and why it exists.
CSMA/CA—stations check channel and back off to reduce collisions on shared wireless media.
48
What is NAT’s high-level purpose?
Translate private/internal addresses to public addresses for internet access; conserves IPv4 and adds a basic boundary.
49
What happens if a frame exceeds MTU on a link?
It must be fragmented (if allowed) or dropped; fragmentation adds overhead and can reduce performance.
50
Summarize the end-to-end flow for a web request.
Client encodes/encapsulates HTTP→TCP→IP→L2; hops rewrite L2 only; server de-encapsulates up the stack; responses follow the reverse path.