Application Layer Protocols (HTTP, DHCP, Telnet, SSH) Flashcards

1
Q

Q: What is the client-server model?

A

A: A network model where a central server provides services and clients request those services.

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

Q: What is the peer-to-peer (P2P) model?

A

A: A network model where each device (peer) can act as both a client and a server.

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

Q: Give examples of P2P applications.

A

A: BitTorrent, blockchain-based systems.

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

Q: What is HTTP?

A

A: A protocol used to transfer web resources such as HTML documents.

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

Q: What are the main parts of an HTTP request?

A

A: Request line (method, path, version), headers, optional body.

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

Q: Name three common HTTP methods.

A

A: GET (retrieve data), POST (submit data), DELETE (remove data).

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

Q: What does an HTTP response include?

A

A: Status line (version, status code, message), headers, and a body (e.g., HTML page).

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

Q: What are common HTTP response codes?

A

A: 200 OK, 301 Moved Permanently, 404 Not Found.

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

Q: How is HTTP version 2 (HTTP/2) different from HTTP/1.1?

A

A: Supports multiplexing, header compression, and reduced latency.

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

Q: What protocol does HTTP/3 use instead of TCP?

A

A: QUIC – a UDP-based protocol with built-in encryption.

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

Q: What does HTTPS provide that HTTP does not?

A

A: Server authentication and encrypted data transfer.

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

Q: What technology underpins HTTPS?

A

A: TLS (Transport Layer Security).

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

Q: What is DHCP used for?

A

A: Automatically assigns IP addresses and other network settings to devices.

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

Q: What are key benefits of DHCP?

A

A: Centralized, automated IP management; prevents IP conflicts.

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

Q: What information can DHCP provide?

A

A: IP address, subnet mask, default gateway, DNS server.

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

Q: What is Telnet?

A

A: A protocol for remote terminal access that sends data in plaintext — insecure.

17
Q

Q: What is SSH?

A

A: A secure alternative to Telnet that encrypts data and ensures authentication.

18
Q

Q: What is the syntax to connect via SSH?

A

A: ssh [username]@[hostname or IP address]

19
Q

Q: What is DNS?

A

A: The Domain Name System translates human-readable domain names into IP addresses.

20
Q

Q: Why is DNS important?

A

A: It allows users to access websites using domain names instead of remembering IP addresses.

21
Q

Q: What is a URL?

A

A: Uniform Resource Locator – a structured address that specifies the resource location on the Internet.

22
Q

Q: What are the key components of the DNS hierarchy?

A

A: Root servers, Top-Level Domain (TLD) servers, and Authoritative name servers.

23
Q

Q: What is the function of a root DNS server?

A

A: Acts as the first contact when a DNS resolver cannot resolve a name.

24
Q

Q: What is an authoritative DNS server?

A

A: It holds the actual records for a domain and provides final responses to queries.

25
Q: What are TLD servers responsible for?
A: Managing top-level domains like `.com`, `.org`, `.uk`, etc.
26
Q: What does ICANN do in DNS?
A: Manages TLDs and oversees IP address allocation and domain name system management.
27
Q: What are two major DNS design goals?
A: 1) Scalability (hierarchical structure), 2) Security.
28
Q: What is caching in DNS?
A: Temporarily storing previous DNS results to reduce lookup time for repeated queries.
29
Q: What problem does DNSSEC solve?
A: Prevents DNS spoofing, cache poisoning, and man-in-the-middle attacks.
30
Q: How does DNSSEC work?
A: It uses digital signatures and public key cryptography to verify the authenticity of DNS data.
31
Q: What does DNSSEC add to DNS responses?
A: A digital signature that validates the response’s integrity.
32
Q: What is the role of hashing in DNSSEC?
A: It creates a digital fingerprint (hash) of the data to verify it hasn’t been tampered with.