1. Which three statements describe a DHCP Discover message? (Choose three.)
The source MAC address is 48 ones (FF-FF-FF-FF-FF-FF).
The destination IP address is 255.255.255.255.(correct)
The message comes from a server offering an IP address.
The message comes from a client seeking an IP address.(correct)
All hosts receive the message, but only a DHCP server replies.(correct)
Only the DHCP server receives the message.
When a host configured to use DHCP powers up on a network it sends a DHCPDISCOVER message. FF-FF-FF-FF-FF-FF is the L2 broadcast address. A DHCP server replies with a unicast DHCPOFFER message back to the host.
2. What benefit does DHCP provide to a network?
Hosts always have the same IP address and are therefore always reachable.
DHCP allows users to refer to locations by a name rather than an IP address.
Hosts can connect to the network and get an IP address without manual configuration.(correct)
Duplicate addresses cannot occur on a network that issues dynamic addresses using
DHCP and has static assignments.
Explanation: DHCP provides automatic IP address configuration to hosts on a network. Hosts will be dynamically assigned an address when they connect to the network, although not necessarily the same address each time they connect. If there are static and dynamic addresses used together on the network there could still be the possibility of address conflicts. DNS can be used in conjunction with DHCP to allow users to communicate using names rather than IP addresses.
3. Which two reasons generally make DHCP the preferred method of assigning IP addresses to hosts on large networks? (Choose two.)
It eliminates most address configuration errors.(correct)
It ensures that addresses are only applied to devices that require a permanent address.
It guarantees that every device that needs an address will get one.
It provides an address only to devices that are authorized to be connected to the
network.
It reduces the burden on network support staff.(correct)
DHCP is generally the preferred method of assigning IP addresses to hosts on large networks because it reduces the burden on network support staff and virtually eliminates entry errors. However, DHCP itself does not discriminate between authorized and unauthorized devices and will assign configuration parameters to all requesting devices. DHCP servers are usually configured to assign addresses from a subnet range, so there is no guarantee that every device that needs an address will get one.
4. A DHCP server is used to assign IP addresses dynamically to the hosts on a network. The address pool is configured with 192.168.10.0/24. There are 3 printers on this network that need to use reserved static IP addresses from the pool. How many IP addresses in the pool are left to be assigned to other hosts?
254
251(correct)
252
253
If the block of addresses allocated to the pool is 192.168.10.0/24, there are 254 IP addresses to be assigned to hosts on the network. As there are 3 printers which need to have their addresses assigned statically, then there are 251 IP addresses left for assignment.
5. A PC obtains its IP address from a DHCP server. If the PC is taken off the network for repair, what happens to the IP address configuration?
The configuration is permanent and nothing changes.
The address lease is automatically renewed until the PC is returned.
The address is returned to the pool for reuse when the lease expires.(correct)
The configuration is held by the server to be reissued when the PC is returned.
Explanation: When a DCHP address is issued to a host, it is for a specific lease time. Once the lease expires, the address is returned to the DHCP pool.
6. What is one indication that a Windows computer did not receive an IPv4 address from a DHCP server?
The computer cannot ping 127.0.0.1.
Windows displays a DHCP timeout message.
The computer receives an IP address that starts with 169.254(correct)
The computer cannot ping other devices on the same network with IP addresses in the
169.254.0.0/16 range.
Explanation: When a Windows PC cannot communicate with an IPv4 DHCP server, the computer automatically assigns an IP address in the 169.254.0.0/16 range. Any other device on the same network that receives an address in the same range is reachable.
7. A host PC has just booted and is attempting to lease an address through DHCP. Which two messages will the client typically broadcast on the network? (Choose two.)
DHCPDISCOVER(correct)
DHCPOFFER
DHCPREQUEST(correct)
DHCPACK
DHCPNACK
Explanation: When a host uses DHCP to automatically configure an IP address, the typically sends two messages: the DHCPDISCOVER message and the DHCPREQUEST message. These two messages are usually sent as broadcasts to ensure that all DHCP servers receive them. The servers respond to these messages using DHCPOFFER, DHCPACK, and DHCPNACK messages, depending on the circumstance.
8. A DHCP server is used to IP addresses dynamically to the hosts on a network. The address pool is configured with 10.29.244.0/25. There are 19 printers on this network that need to use reserve static IP addresses from the pool. How many IP address in the pool are left to be assign to other hosts?
210
60
109
107(correct)
146
Version 5:
9. What action does a DHCPv4 client take if it receives more than one DHCPOFFER from multiple DHCP servers?
It sends a DHCPREQUEST that identifies which lease offer the client is accepting.(correct)
It sends a DHCPNAK and begins the DHCP process over again.
It discards both offers and sends a new DHCPDISCOVER.
It accepts both DHCPOFFER messages and sends a DHCPACK.
Explanation: If there are multiple DHCP servers in a network, it is possible for a client to receive more than one DHCPOFFER. In this scenario, the client will only send one DHCPREQUEST, which includes the server from which the client is accepting the offer.
10. Which statement is true about DHCP operation?
When a device that is configured to use DHCP boots, the client broadcasts a(correct)
DHCPDISCOVER message to identify any available DHCP servers on the network.
A client must wait for lease expiration before it sends another DHCPREOUEST message.
The DHCPDISCOVER message contains the IP address and sub net masK to be assigned,
the IP address of the DNS server, and the IP address of the default gateway.
If the client receives several DHCPOFFER messages from different servers, it sends a
unicast DHCPREOUEST message to the server from which it chooses to obtain the IP
information.
Explanation: The client broadcasts a DHCPDISCOVER message to identify any available DHCP servers on the network. A DHCP server replies with a DHCPOFFER message. This message offers to the client a lease that contains such information as the IP address and subnet mask to be assigned, the IP address of the DNS server, and the IP address of the default gateway. After the client receives the lease, the received information must be renewed through another DHCPREQUEST message prior to the lease expiration.
11. A host PC is attempting to lease an address through DHCP. What message is sent by the server to the client know it is able to use the provided IP information?
DHCPDISCOVER
DHCPOFFER
DHCPPREQUEST
DHCPACK(correct)
DHCPNACK
Server confirms the lease with DHCPACK.
12. What information can be verified through the show ip dhcp binding command?
that DHCPv4 discover messages are still being received by the DHCP server
the number of IP addresses remaining in the DHCP pool
the IPv4 addresses that are assigned to hosts by the DHCP server(correct)
the IPv4 addresses that have been excluded from the DHCPv4 pool
This command displays a list of all IPv4 address to MAC address bindings that have been provided by the DHCPv4 service.
13. Which DHCPv4 message will a client send to accept an IPv4 address that is offered by a DHCP server?
unicast DHCPACK
broadcast DHCPACK
unicast DHCPREQUEST
broadcast DHCPREQUEST(correct)
DHCPREQUEST is broadcast so other servers know the offer was declined/accepted.
14. As a DHCPv4 client lease is about to expire, what is the message that the client sends the DHCP server?
DHCPDISCOVER
DHCPOFFER
DHCPREQUEST(correct)
DHCPACK
Client unicasts DHCPREQUEST to renew the lease.
15. Which set of commands will configure a router as a DHCP server that will assign IPv4 addresses to the 192.168.100.0/23 LAN while reserving the first 10 and the last addresses for static assignment?
ip dhcp excluded-address 192.168.100.1 192.168.100.10 ip dhcp excluded-address
192.168.100.254 ip dhcp pool LAN-POOL-100 network 192.168.100.0 255.255.255.0 ip
default-gateway 192.168.100.1
ip dhcp excluded-address 192.168.100.1 192.168.100.10 ip dhcp excluded-address(correct)
192.168.101.254 ip dhcp pool LAN-POOL-100 network 192.168.100.0 255.255.254.0
default-router 192.168.100.1
dhcp pool LAN-POOL-100 ip dhcp excluded-address 192.168.100.1 192.168.100.9 ip dhcp
ip dhcp excluded-address 192.168.100.1 192.168.100.9 ip dhcp excluded-address
192.168.101.254 ip dhcp pool LAN-POOL-100 ip network 192.168.100.0 255.255.254.0 ip
default-gateway 192.168.100.1
Wrapped options; 3-5 excludes .100.1-.10 and .101.254 with /23 network and default-router.
16. An administrator issues the commands: Router(config)# interface g0/1 Router(config-if)# ip address dhcp What is the administrator trying to achieve?
configuring the router to act as a DHCPv4 server
configuring the router to obtain IP parameters from a DHCPv4 server(correct)
configuring the router to act as a relay agent
configuring the router to resolve IP address conflicts
ip address dhcp makes the interface a DHCPv4 client.
17. A host on the 10.10.100.0/24 LAN is not being assigned an IPv4 address by an enterprise DHCP server with the address 10.10.200.10/24. What is the best way for the network engineer to resolve this problem?
Issue the command ip helper-address 10.10.200.10 on the router interface that is the(correct)
10.10.100.0/24 gateway.
Issue the command default-router 10.10.200.10 at the DHCP configuration prompt on the
10.10.100.0/24 LAN gateway router.
Issue the command ip helper-address 10.10.100.0 on the router interface that is the
10.10.200.0/24 gateway.
Issue the command network 10.10.200.0 255.255.255.0 at the DHCP configuration
prompt on the 10.10.100.0/24 LAN gateway router.
Wrapped (0+1): ip helper-address 10.10.200.10 on the client LAN gateway interface.
18. Fill in the blank. Do not abbreviate. Type a command to exclude the first fifteen useable IP addresses from a DHCPv4 address pool of the network 10.0.15.0/24. Router(config)# ip dhcp excluded-address 10.0.15.1 10.0.15.15 48. A company uses DHCP servers to dynamically assign IPv4 addresses to employee workstations. The address lease duration is set as 5 days. An employee returns to the office after an absence of one week. When the employee boots the workstation, it sends a message to obtain an IP address. Which Layer 2 and Layer 3 destination addresses will the message contain?
FF-FF-FF-FF-FF-FF and 255.255.255.255(correct)
both MAC and IPv4 addresses of the DHCP server
MAC address of the DHCP server and 255.255.255.255
FF-FF-FF-FF-FF-FF and IPv4 address of the DHCP server
Expired lease: client broadcasts DHCPDISCOVER to FF-FF-FF-FF-FF-FF / 255.255.255.255.
19. A network engineer is troubleshooting hosts on a LAN that are not being assigned an IPv4 address from a DHCP server after a new Ethernet switch has been installed on the LAN. The configuration of the DHCP server has been confirmed as correct and the clients have network connectivity to other networks if a static IP address is configured on each one. What step should the engineer take next to solve the issue?
Issue the ipconfig/release command on each client.
Issue the show ip dhcp binding command on the switch.
Confirm that ports on the Layer 2 LAN switch are configured as edge ports.(correct)
Issue the show interface command on the router to confirm that the LAN gateway is
operational.
New switch: STP delay blocks DHCP; verify ports are edge (PortFast) ports.
20. In which type of attack does a malicious node request all available IP addresses in the address pool of a DHCP server in order to prevent legitimate hosts from obtaining network access?
CAM table overflow
MAC address flooding
DHCP starvation(correct)
DHCP spoofing
Exhausting DHCP pool = DHCP starvation
21. Which two features on a Cisco Catalyst switch can be used to mitigate DHCP starvation and DHCP spoofing attacks? (Choose two.)
port security(correct)
extended ACL
DHCP snooping(correct)
DHCP server failover
strong password on DHCP servers
Explanation: In DHCP starvation attacks, an attacker floods the DHCP server with DHCP requests to use up all the available IP addresses that the DHCP server can issue. In DHCP spoofing attacks, an attacker configures a fake DHCP server on the network so that it provides clients with false DNS server addresses. The port security feature can limit the number of dynamically learned MAC addresses per port or allow only known valid NICs to be connected via their specific MAC addresses. The DHCP snooping feature can identify the legitimate DHCP servers and block fake DHCP servers from issuing IP address information. These two features can help fight against DHCP attacks.
22. A company uses DHCP servers to dynamically assign IPv4 addresses to employee workstations. The address lease duration is set as 5 days. An employee returns to the office after an absence of one week. When the employee boots the workstation, it sends a message to obtain an IP address. Which Layer 2 and Layer 3 destination addresses will the message contain?
FF-FF-FF-FF-FF-FF and 255.255.255.255(correct)
both MAC and IPv4 addresses of the DHCP server
MAC address of the DHCP server and 255.255.255.255
FF-FF-FF-FF-FF-FF and IPv4 address of the DHCP server
When the lease of a dynamically assigned IPv4 address has expired, a workstation will send a DHCPDISCOVER message to start the process of obtaining a valid IP address. Because the workstation does not know the addresses of DHCP servers, it sends the message via broadcast, with destination addresses of FF-FF-FF-FF-FF-FF and 255.255.255.255.
23. What is an advantage of configuring a Cisco router as a relay agent?
It will allow DHCPDISCOVER messages to pass without alteration.
It can forward both broadcast and multicast messages on behalf of clients.
It can provide relay services for multiple UDP services.(correct)
It reduces the response time from a DHCP server.
By default, the ip helper-address command forwards the following eight UDP services: Port 37: Time Port 49: TACACS Port 53: DNS Port 67: DHCP/BOOTP client Port 68: DHCP/BOOTP server Port 69: TFTP Port 137: NetBIOS name service Port 138: NetBIOS datagram service
24. What is the result of a network technician issuing the command ip dhcp excluded- address 10.0.15.1 10.0.15.15 on a Cisco router?
The Cisco router will exclude only the 10.0.15.1 and 10.0.15.15 IP addresses from being
leased to DHCP clients.
The Cisco router will automatically create a DHCP pool using a /28 mask.
The Cisco router will allow only the specified IP addresses to be leased to clients.
The Cisco router will exclude 15 IP addresses from being leased to DHCP clients.(correct)
The ip dhcp excluded-address command is followed by the first and the last addresses
to be excluded from being leased to DHCP clients.
Range .1-.15 excludes 15 addresses; options 0/1 and 5/6 are wrapped lines.
25. What is the most likely scenario in which the WAN interface of a router would be configured as a DHCP client to be assigned a dynamic IP address from an ISP?
There is a web server for public access on the LAN that is attached to the router.
The router is also the gateway for a LAN.
It is a SOHO or home broadband router.(correct)
The router is configured as a DHCP server.
Explanation: SOHO and home broadband routers are typically set to acquire an IPv4 address automatically from the ISP. The IP address that is assigned is typically a dynamic address to reduce the cost, but a static IP address is possible with more cost. However, if the router is assigned a dynamic IP address, DNS issues will result in the web server behind the router not being easily accessible to the public. Routers are typically also gateways for LANs, but this has no bearing on whether the router is configured as a DHCP client on its WAN link or not. Likewise, a router can be configured to be a DHCP client in order to obtain an IP address from the ISP, but at the same time, it can be configured as a DHCP server to serve the IP addressing for the devices on its LAN.
26. In which type of attack does a malicious node request all available IP addresses in the address pool of a DHCP server in order to prevent legitimate hosts from obtaining network access?
CAM table overflow
DHCP snooping
MAC address flooding
DHCP starvation(correct)
Exhausting the DHCP pool is DHCP starvation.
27. Which command would be best to use on an unused switch port if a company adheres to the best practices as recommended by Cisco?
Explanation: Unlike router Ethernet ports, switch ports are enabled by default. Cisco recommends disabling any port that is not used. The ip dhcp snooping command globally enables DHCP snooping on a switch. Further configuration allows defining ports that can respond to DHCP requests. The switchport port-security command is used to protect the network from unidentified or unauthorized attachment of network devices.
28. What information can be verified through the show ip dhcp binding command?
the number of IP addresses remaining in the DHCP pool
the IPv4 addresses that have been excluded from the DHCPv4 pool
that DHCPv4 discover messages are still being received by the DHCP server
the IPv4 addresses that are assigned to hosts by the DHCP server(correct)
show ip dhcp binding lists client-to-IP lease bindings
29. Which network scenario will require the use of a WAN?
Employees need to connect to the corporate email server through a VPN while traveling.(correct)
Employees in the branch office need to share files with the headquarters office that is
located in a separate building on the same campus network.
Employees need to access web pages that are hosted on the corporate web servers in
the DMZ within their building.
Employee workstations need to obtain dynamically assigned IP addresses.
When traveling employees need to connect to a corporate email server through a WAN connection, the VPN will create a secure tunnel between an employee laptop and the corporate network over the WAN connection. Obtaining dynamic IP addresses through DHCP is a function of LAN communication. Sharing files among separate buildings on a corporate campus is accomplished through the LAN infrastructure. A DMZ is a protected network inside the corporate LAN infrastructure.
30. What network attack seeks to create a DoS for clients by preventing them from being able to obtain a DHCP lease?
DHCP starvation(correct)
CAM table attack
IP address spoofing
DHCP spoofing
DCHP starvation attacks are launched by an attacker with the intent to create a DoS for DHCP clients. To accomplish this goal, the attacker uses a tool that sends many DHCPDISCOVER messages in order to lease the entire pool of available IP addresses, thus denying them to legitimate hosts.
31. How can DHCP spoofing attacks be mitigated?
by disabling DTP negotiations on nontrunking ports
by implementing DHCP snooping on trusted ports(correct)
by implementing port security
by the application of the ip verify source command to untrusted ports
Explanation: One of the procedures to prevent a VLAN hopping attack is to disable DTP (auto trunking) negotiations on nontrunking ports. DHCP spoofing attacks can be mitigated by using DHCP snooping on trusted ports. The ip verify source interface configuration command is used to enable IP Source Guard on untrusted ports to protect against MAC and IP address spoofing.
32. What is the result of a DHCP starvation attack?
Clients receive IP address assignments from a rogue DHCP server.
The attacker provides incorrect DNS and default gateway information to clients.
The IP addresses assigned to legitimate clients are hijacked.
Legitimate clients are unable to lease IP addresses.(correct)
DCHP starvation attacks are launched by an attacker with the intent to create a DoS for DHCP clients. To accomplish this goal, the attacker uses a tool that sends many DHCPDISCOVER messages to lease the entire pool of available IP addresses, thus denying them to legitimate hosts.
33. What is the reason why the DHCPREQUEST message is sent as a broadcast during the DHCPv4 process?
for hosts on other subnets to receive the information
to notify other hosts not to request the same IP address
for routers to fill their routing tables with this new information
to notify other DHCP servers on the subnet that the IP address was leased(correct)
The DHCPREQUEST message is broadcast to inform other DHCP servers that an IP address has been leased.
34. Which set of commands will configure a router as a DHCP server that will assign IPv4 addresses to the 192.168.100.0/23 LAN while reserving the first 10 and the last addresses for static assignment?
ip dhcp excluded-address 192.168.100.1 192.168.100.10 ip dhcp excluded-address
192.168.100.254 ip dhcp pool LAN POOL-100 network 192.168.100.0 255.255.255.0 ip
default gateway 192.168.100.1
ip dhcp excluded-address 192.168.100.1 192.168.100.9 ip dhcp excluded-address
192.168.101.254 ip dhcp pool LAN POOL-100 ip network 192.168.100.0 255.255.254.0 ip
default-gateway 192.168.100.1
ip dhcp excluded-address 192.168.100.1 192.168.100.10 ip dhcp excluded-address(correct)
192.168.101.254 ip dhcp pool LAN POOL-100 network 192.168.100.0 255.255.254.0(correct)
default-router 192.168.100.1(correct)
dhcp pool LAN-POOL 100 ip dhcp excluded-address 192.168.100.1 192.168.100.9 ip dhcp
The /23 prefix is equivalent to a network mask of 255.255.254.0. The network usable IPv4 address range is 192.168.100.1 to 192.168.101.254 inclusive. The commands dhcp pool, ip default-gateway, and ip network are not valid DHCP configuration commands.
35. Which command, when issued in the interface configuration mode of a router, enables the interface to acquire an IPv4 address automatically from an ISP, when that link to the ISP is enabled?
ip dhcp pool
ip address dhcp(correct)
service dhcp
ip helper-address
The ip address dhcp interface configuration command configures an Ethernet interface as a DHCP client. The service dhcp global configuration command enables the DHCPv4 server process on the router. The ip helper-address command is issued to enable DHCP relay on the router. The ip dhcp pool command creates the name of a pool of addresses that the server can assign to hosts.
36. Question 21 of 52 21. Question 1 points Which DHCP IPv4 message contains the following