DHCP Flashcards

(54 cards)

1
Q

What does DHCP stand for?

A

Dynamic Host Configuration Protocol

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

What year was DHCP created?

A

1997

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

What is the main purpose of DHCP?

A

Automatically assign IP addresses and network settings to devices

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

What does DORA stand for in DHCP?

A

Discover, Offer, Request, Acknowledge

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

What port does a DHCP client use?

A

UDP 68

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

What port does a DHCP server use?

A

UDP 67

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

What IP address does a DHCP client use to send a DHCPDISCOVER message?

A

0.0.0.0

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

What is the destination IP address for a DHCPDISCOVER message?

A

255.255.255.255 (broadcast)

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

What is a DHCP scope?

A

A predefined list of IP addresses and configuration settings for a subnet

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

What is a DHCP reservation?

A

Assigning a specific IP address to a device based on its MAC address

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

What is a DHCP exclusion?

A

IP addresses within a scope that are not assigned to clients

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

What is the purpose of a DHCP lease?

A

To temporarily assign an IP address to a device for a set period

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

What is the default DHCP configuration on most operating systems?

A

Automatically obtain an IP address (DHCP client)

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

What type of message is sent during the DHCP Discover phase?

A

DHCPDISCOVER (broadcast)

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

What type of message is sent during the DHCP Offer phase?

A

DHCPOFFER (broadcast)

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

What type of message is sent during the DHCP Request phase?

A

DHCPREQUEST (broadcast)

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

What type of message is sent during the DHCP Acknowledge phase?

A

DHCPACK (broadcast)

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

What is the purpose of the DHCPREQUEST message?

A

To accept an offered IP address from a DHCP server

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

What is the purpose of the DHCPACK message?

A

To confirm and finalize the IP address assignment

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

What is a static DHCP assignment?

A

A DHCP reservation for a specific device

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

What information can be included in a DHCP scope besides IP addresses?

A

Subnet mask, default gateway, DNS servers, lease duration, VoIP servers

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

Why would an administrator use DHCP reservations?

A

To ensure specific devices always receive the same IP address

23
Q

What happens if a DHCP server is unavailable?

A

Clients cannot obtain an IP address (unless using a static IP)

24
Q

Why do enterprises use multiple DHCP servers?

A

For redundancy and load balancing

25
DHCP was created to manually configure IP addresses.
False (DHCP automates IP configuration)
26
DORA is the process used by DHCP to assign IP addresses.
True
27
A DHCP client uses UDP port 67.
False (DHCP client uses UDP 68; server uses UDP 67)
28
A DHCPDISCOVER message is sent as a unicast.
False (It is sent as a broadcast)
29
A DHCP reservation assigns the same IP address to a device every time.
True
30
DHCP exclusions are used to prevent certain IP addresses from being assigned.
True
31
A DHCP lease lasts forever.
False (Leases have a set duration and must be renewed)
32
DHCP is only used in home networks.
False (DHCP is used in both home and enterprise networks)
33
A DHCP server can assign configuration settings other than IP addresses.
True (e.g., DNS servers, default gateway)
34
A static IP address is the same as a DHCP reservation.
False (Static IP is manually configured; DHCP reservation is assigned by DHCP server)
35
DHCP reservations are based on device hostnames.
False (Reservations are based on MAC addresses)
36
Multiple DHCP servers can cause IP address conflicts.
True (Unless properly configured for failover or load balancing)
37
DHCP is a layer 3 protocol.
True (It operates at the Network layer)
38
A DHCPACK message is sent as a unicast.
False (It is sent as a broadcast)
39
DHCP can assign IPv6 addresses.
True (Using DHCPv6)
40
A user turns on their laptop in a coffee shop and can access the internet immediately. What protocol made this possible?
DHCP
41
A network administrator wants to ensure a file server always has the same IP address. What should they configure?
DHCP reservation
42
A new device connects to the network and sends a DHCPDISCOVER message. What is the source IP address of this message?
0.0.0.0
43
A DHCP server receives a DHCPDISCOVER message. What message does it send in response?
DHCPOFFER
44
A device sends a DHCPREQUEST message. What is the purpose of this message?
To accept an offered IP address
45
A DHCP server sends a DHCPACK message. What does this message confirm?
The IP address is assigned to the client
46
A company wants to prevent certain IP addresses from being assigned to clients. What should they configure?
DHCP exclusions
47
A network has two DHCP servers for redundancy. What could happen if both servers assign the same IP address?
IP address conflict
48
A user reports they cannot access the network after a power outage. What could be the issue?
DHCP server is down or unreachable
49
A network administrator wants to change the default gateway for all DHCP clients. Where should they make this change?
In the DHCP scope options
50
A printer needs to always use the same IP address. What is the best way to ensure this?
DHCP reservation
51
A DHCP client receives multiple DHCPOFFER messages. What does the client do next?
Sends a DHCPREQUEST for one of the offers
52
A company wants to ensure DHCP is highly available. What should they do?
Deploy multiple DHCP servers with failover
53
A user’s device is not receiving an IP address. What could be the cause?
DHCP server is down, network connectivity issue, or DHCP scope is exhausted
54
A network administrator wants to assign IP addresses from multiple subnets. What should they configure?
Multiple DHCP scopes, one for each subnet