Application Layer Flashcards

1
Q

What is the client server model

A

^ some form of network, the sever receives requests and responds to them as it offers a service

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

in P2P networks what can end devices function as

A

both a server and a client with the same communication

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

What is DNS

A

Domain Name System

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

What are the main components of a URL

A

Scheme, authority (host/domain name), path, query, and fragment.

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

What is the difference between hostname and an IP address

A

A hostname is a human-readable name (e.g., google.com), while an IP address (e.g., 8.8.8.8) is used by machines.

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

How can multiple hostnames be mapped to one IP address?

A

Through shared hosting, multiple websites can share a single IP address.

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

How can one hostname be mapped to multiple IP addresses?

A

For load balancing and redundancy, a hostname may resolve to different IP addresses.

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

What are the key requirements of DNS

A

Scalability and security

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

What is the DNS hierarchy?

A

It consists of:

Root DNS servers (.)
Top-Level Domain (TLD) servers (e.g., .com, .org, .uk)
Second-Level Domain (SLD) servers (e.g., google.com)
Third-Level Domain servers (e.g., www.google.com)

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

What are Root DNS servers?

A

The top-level DNS servers responsible for directing queries to the appropriate TLD servers.

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

How many root DNS server exist

A

There are 13 logical root servers, each with multiple physical instances.

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

What are Top-Level Domain (TLD) servers?

A

These servers handle domains under categories like organizational (.com, .org, .edu) and geographical (.uk, .us, .fr).

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

What is the role of a DNS resolver?

A

It queries DNS servers to resolve a domain name to an IP address.

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

What is DNS caching?

A

The storage of DNS query results to speed up future lookups.

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

What are some common DNS security threats?

A

Cache poisoning (inserting false data into a resolver’s cache)

Spoofing (forging DNS responses)

Man-in-the-middle attacks (intercepting DNS communication)

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