Chapter 2 Flashcards

(64 cards)

1
Q

Wht is contained in a DHCP scope?

A

The IP address pool

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

What are the four kinds of DHCP packets transmitted when assigning a client an IP address?

A

DHCPDISCOVER: Broadcasted by client initially
DHCPOFFER: Suggested IP configuration sent by server
DHCPREQUEST: Sent by client to accept offer
DHCPACK: Sent by server to client to confirm

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

What information in the DHCPREQUEST packet allows multiple DHCP servers to determine which one is handling a client request?

A

The server identifier

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

When does a client try to renew its DHCP lease so it does not lose connectivity?

A

50% through the lease time, it contacts its DHCP server
If it receives no response, it sends a broadcast 87.5% through the lease time
If it still cannot renew after its lease expires, it goes into DHCP discovery mode

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

What DHCP packets are sent during a lease renewal?

A

Only DHCPREQUEST and DHCPACK, broadcast is not needed since it knows which server to communicate with

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

How does a client try to renew its DHCP lease during startup?

A

If it cannot contact its DHCP server, it contacts its configured default gateway
If that cannot be reached, it assumes it has swithced subnets and goes into DHCP discovery mode

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

What kind of Windows Server cannot use the DHCP role?

A

Nano Server

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

How do you install DHCP server using PowerShell?

A

Add-WindowsFeature DHCP -IncludeManagementTools

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

What tasks does the DHCP Post-Install Configuration Wizard perform?

A

Creates the DHCP Administrators and DHCP Users security groups in AD to enable delegation of DHCP server administration
Authorizes the DHCP server role if the computer is domain-joined

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

How can you authorize a DHCP server without using the Post-Install Configuration Wizard?

A

Right-click the DHCP server in the DHCP console and select “Authorize,” or run the Add-DhcpServerInDC cmdlet

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

What DHCP scope settings can be changed after it is created?

A

The IP address range and DHCP exclusions

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

From where does DHCP automatically pull the Parent Domain Value when creating a scope?

A

The DHCP server’s domain membership or primary DNS suffix

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

Which PowerShell cmdlet is used to create a DHCP scope?

A

Add-DhcpServerV4Scope

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

What are DHCP superscopes used for?

A

Supporting multinets: multiple logical networks or subnets on a single physical network
Useful for mitigating address pool depletion, migrating clients to new scopes, or running multiple DHCP servers for different subnets

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

What is a MADCAP scope?

A

Multicast Address Dynamic Client Allocation Protocol, used to support apps that communicate with multicast

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

What is the IP address range for multicast communication?

A

Class D, 224.0.0.0 - 239.255.255.255 or 224.0.0.0/3

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

How do you add a scope to a superscope?

A

From the DHCP console, right-click the scope and select “Add To Superscope”

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

What are two ways to view a client’s MAC address?

A

Use ipconfig /all, or use arp -a to see all IP addresses and their MACs

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

Without options, what is the only information provided by DHCP to a client?

A

IP address and subnet mask

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

What are the four different DHCP configuration levels where you can customize DHCP options?

A

Server, scope, class, and reserved client

Each one of these overrides the preceeding one

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

Which PowerShell cmdlet is used to configure DHCP server options?

A

Set-DhcpServer4OptionValue

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

Where can DHCP classes be defined?

A

For an IPv4 node, not for servers and scopes, and not for IPv6

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

How is class membership determined?

A

The client sends a class ID in its DHCPREQUEST message

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

How can a class ID be manually set on a client?

A

ipconfig /setclassid “network adapter here” IDNAMEHERE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
By default, how are DNS records automatically updated?
The DHCP client updates the record itself, and the DHCP server deletes the A and PTR records when the lease expires
26
What feature helps protect a DNS zone from incorrect or insecure updates?
Name Protection
27
What must be configured on a DNS zone for Name Protection to work?
Secure Dynamic Updates
28
Which PowerShell cmdlet creates DHCP policies?
Add-DhcpServerV4Policy
29
What are the three ways IPv6 nodes obtain their configuration?
Stateless: Obtains only a router prefix from the router advertisements Stateful: Obtains addresses and other options from a DHCPv6 server Both
30
What is the difference between IPv4 and IPv6 in how they communicate to receive DHCP settings?
IPv4 sends to broadcast addresses, while IPv6 sends to multicast addresses
31
How do IPv6 clients choolse from multiple DHCPv6 servers?
They select the one with the highest preference value | If multiple offers have the same preference value, it will pick the one with the most options
32
What is the default DHCPv6 lease duration?
8 days
33
What DHCP function allows for passing DHCP broadcasts across subnet boundaries?
DHCP Relay Agent
34
How is the DHCP Relay Agent installed on Windows Server?
As part of the LAN Routing Role Service in the Remote Access Server role, NOT in the DHCP Server role
35
What changes must be made to run both DHCP and Windows Deployment Services on the same server?
You must change DHCP options 60, 66, and 67 so the UDP ports are not conflicting Option 60 must be changed through netsh
36
Which PowerShell cmdlets are used to export and import configuration for DHCP server?
Export-DhcpServer and Import-DhcpServer
37
What are the three high-availability options for DHCP server?
Clustered servers with shared storage Split scopes Replication to a failover server
38
How can you configure DHCP split scopes?
Use the DHCP Split-Scope Configuration Wizard
39
How many servers can be configured for DHCP failover?
Only 2
40
What functionality is not supported with DHCP failover?
IPv6 scopes
41
What are the two modes for DHCP failover?
Load sharing: Both servers lease configurations determined by a load distribution ratio Hot standby: A primary server serves requests unless it fails over to a secondary
42
What type of DHCP failover is recommended for multi-site installations?
Hot standby, although TCP port 647 must be opened to transmit failover messages through firewalls
43
In a DHCP failover configuration, what setting determines how long a secondary server must wait before taking over a scope, and what is its default value?
Maximum Client Lead Time, 1 hour
44
By default, what percentage of addresses are reserved by the secondary DHCP server while it waits for the MCLT to expire?
5%
45
In a DHCP failover configuration, what setting determines when a server automatically marks its partner as down, and what is its default value?
State Switchover Interval
46
In a DHCP failover configuration, what settings can be enabled to secure communications between servers?
Enable Message Authentication and Shared Secret
47
Which PowerShell cmdlet is used to configure DHCP failover?
Add-DhcpServer4Failover
48
Which PowerShell cmdlet is used to trigger DHCP scope replication?
Invoke-DhcpServer4FailoverReplication
49
Where are DHCP database files stored?
%systemroot%\System32\dhcp
50
What kinds of files make of up the DHCP database?
dhcp. mdb - The main file tmp. edb - Temp working file j50. log - Log file, increments number j50. chk - Checkpoint file, determines when logs are committed to database j50res00001. jrs - Reserved file to use if running out of disk space, also
51
What information is stored in a DHCP database backup?
Scopes, reservations, active leases, server options, anything stored in the registry
52
How often is the DHCP database automatically backed up?
Every hour
53
How can you change the backup interval for DHCP?
Change BackupInterval in HKLM\SYSTEM\CurrentControlSet\Services\DHCPServer\Parameters
54
Where are DHCP backups saved by default?
%systemroot%\System32\dhcp\backup
55
How can you manually initiate a DHCP backup?
Right-click a DHCP server and select "Backup..." or run the Backup-DhcpServer cmdlet
56
How do you restore a DHCP backup?
Right-click a DHCP server and select "Restore..." or run the Restore-DhcpServer cmdlet
57
What is the most likely cause and resolution when a DHCP server fails to start?
Database is corrupted, try restoring from backup
58
What is the most likely cause and resolution when a DHCP server fails to issue leases?
DHCP service failure, or insufficient IP addresses in the pool Verify service is running, sufficient IP addresses available, and that DHCP relay is running for clients in other subnets
59
What is the most likely cause and resolution for client address conflicts?
Another service is providing DHCP, overlapping scopes in the same subnet, static address Locate interfering network devices, check address pools for overlaps, replace static addresses with reservations
60
What is the most likely cause and resolution for client cannot get a lease and is using APIPA?
DHCP service failure, insufficient IP addresses in pool, client in subnet without DHCP server, physical network issues Verify service is running, sufficient addresses in pool, subnet has DHCP relay, and physical connection
61
Where are DHCP audit logs stored by default?
%systemroot%\System32\dhcp in a file called "DhcpSrvLog - [day here].log"
62
What is the naming convention for the DHCPv6 log file?
DhcpV6SrvLog - [day here].log
63
Where are DHCP event logs located in Event Viewer?
Applications and Services Logs > Microsoft > Windows > DHCP-Server > Microsoft-Windows-DHCP Server Events > Operational
64
What tools can be used together to troubleshoot DHCP issues?
ipconfig and the Microsoft Message Analyzer