wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DHCP and Networking Quiz chapter 7

Total questions: 22

Worksheet time: 11mins

Name
Class
Date
1.

A DHCP-enabled client PC has just booted. During which two steps will the client PC use broadcast messages when communicating with a DHCP server? (Choose two.)

a)

DHCPNAK

b)

DHCPREQUEST

c)

DHCPOFFER

d)

DHCPACK

e)

DHCPDISCOVER

2.

An administrator issues the commands: Router(config)# interface g0/1 Router(config-if)# ip address dhcp What is the administrator trying to achieve?

a)

configuring the router to act as a DHCPv4 server

b)

configuring the router to act as a relay agent

c)

configuring the router to resolve IP address conflicts

d)

configuring the router to obtain IP parameters from a DHCPv4 server

3.

When a client is requesting an initial address lease from a DHCP server, why is the DHCPREQUEST message sent as a broadcast?

a)

The client does not yet know the IP address of the DHCP server that sent the offer.

b)

The client may have received offers from multiple servers, and the broadcast serves to implicitly decline those other offers.

c)

The client does not have a MAC address assigned yet, so it cannot send a unicast message at Layer 2.

d)

The DHCP server may be on a different subnet, so the request must be sent as a broadcast.

4.

Which DHCP IPv4 message contains the following information? Destination address: 255.255.255.255 Client IPv4 address: 0.0.0.0 Default gateway address: 0.0.0.0 Subnet mask: 0.0.0.0

a)

DHCPDISCOVER

b)

DHCPOFFER

c)

DHCPACK

d)

DHCPREQUEST

5.

What kind of message is sent by a DHCPv4 client requesting an IP address?

a)

DHCPDISCOVER unicast message

b)

DHCPDISCOVER broadcast message

c)

DHCPOFFER unicast message

d)

DHCPACK unicast message

6.

As a DHCPv4 client lease is about to expire, what is the message that the client sends the DHCP server?

a)

DHCPDISCOVER

b)

DHCPREQUEST

c)

DHCPACK

d)

DHCPOFFER

7.

What is the destination IP address when an IPv4 host sends a DHCPDISCOVER message?

a)

192.168.1.1

b)

255.255.255.255

c)

0.0.0.0

d)

224.0.0.1

8.

If more than one DHCP server is available on the local network, in which order will DHCP messages be sent between a host and a DHCP server?

a)

acknowledgment, request, offer, discover

b)

request, discover, offer, acknowledgment

c)

discover, offer, request, acknowledgment

d)

request, acknowledgment, discover, offer

9.

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?

a)

There is a web server for public access on the LAN that is attached to the router.

b)

The router is configured as a DHCP server.

c)

The router is also the gateway for a LAN.

d)

It is a SOHO or home broadband router.

10.

Which is a DHCPv4 address allocation method that assigns IPv4 addresses for a limited lease period?

a)

manual allocation

b)

dynamic allocation

c)

pre-allocation

d)

automatic allocation

11.

What is the reason why the DHCPREQUEST message is sent as a broadcast during the DHCPv4 process?

a)

for routers to fill their routing tables with this new information

b)

to notify other hosts not to request the same IP address

c)

for hosts on other subnets to receive the information

d)

to notify other DHCP servers on the subnet that the IP address was leased

12.

How is a DHCPDISCOVER transmitted on a network to reach a DHCP server?

a)

A DHCPDISCOVER message is sent with the IP address of the default gateway as the destination address.

b)

A DHCPDISCOVER message is sent with a multicast IP address that all DHCP servers listen to as the destination address.

c)

A DHCPDISCOVER message is sent with the broadcast IP address as the destination address.

d)

A DHCPDISCOVER message is sent with the IP address of the DHCP server as the destination address.

13.

Which destination IPv4 address does a DHCPv4 client use to send the initial DHCP Discover packet when the client is looking for a DHCP server?

a)

224.0.0.1

b)

255.255.255.255

c)

127.0.0.1

d)

the IP address of the default gateway

14.

Under which two circumstances would a router usually be configured as a DHCPv4 client? (Choose two.)

a)

This is an ISP requirement.

b)

The administrator needs the router to act as a relay agent.

c)

The router is meant to provide IP addresses to the hosts.

d)

The router is intended to be used as a SOHO gateway.

e)

The router has a fixed IP address.

15.

Which address does a DHCPv4 server target when sending a DHCPOFFER message to a client that makes an address request?

a)

broadcast MAC address

b)

client hardware address

c)

gateway IP address

d)

client IP address

16.

Which DHCPv4 message will a client send to accept an IPv4 address that is offered by a DHCP server?

a)

Broadcast DHCPACK

b)

Broadcast DHCPREQUEST

c)

Unicast DHCPACK

d)

Unicast DHCPREQUEST

17.

What is an advantage of configuring a Cisco router as a relay agent?

a)

It can forward both broadcast and multicast messages on behalf of clients.

b)

It can provide relay services for multiple UDP services.

c)

It reduces the response time from a DHCP server.

d)

It will allow DHCPDISCOVER messages to pass without alteration

18.

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?

a)

Issue the default-router 10.10.200.10 command at the DHCP configuration prompt on the 10.10.100.0/24 LAN gateway router.

b)

Issue the ip helper-address 10.10.100.0 command on the router interface that is the 10.10.200.0/24 gateway.

c)

Issue the ip helper-address 10.10.200.10 command on the router interface that is the 10.10.100.0/24 gateway.

d)

Issue the network 10.10.200.0 255.255.255.0 command at the DHCP configuration prompt on the 10.10.100.0/24 LAN gateway router.

19.

What is accomplished by the ip dhcp excluded-address 10.10.4.1 10.10.4.5 command?

a)

The DHCP server will ignore all traffic from clients with IPv4 addresses 10.10.4.1 to 10.10.4.5.

b)

The DHCP server will not issue IPv4 addresses ranging from 10.10.4.1 to 10.10.4.5.

c)

Traffic destined for 10.10.4.1 to 10.10.4.5 will be denied.

d)

Traffic from clients with IPv4 addresses 10.10.4.1 to 10.10.4.5 will be denied.

20.

Which Windows command combination would enable a DHCPv4 client to reinstate its IPv4 configuration?

a)

Enter ip config /release and then ip config /autonegotiate

b)

Enter ip config /release and then ip config /renew

c)

Enter ipconfig /release and then ipconfig /autonegotiate

d)

Enter ipconfig /release and then ipconfig /renew

21.

Which command issued on R1 can be used to verify the current IPv4 address and MAC address binding?

a)

R1# show ip dhcp binding

b)

R1# show ip dhcp pool

c)

R1# show ip dhcp server statistics

d)

R1# show running-config | section dhcp

22.

Which DHCP operation statement is true?

a)

A DHCP client must wait for lease expiration before sending a new DHCPREQUEST message.

b)

If a DHCP client receives several DHCPOFFER messages from different servers, it sends a unicast DHCPACK message to the selected server.

c)

The DHCPDISCOVER message contains the IPv4 address and subnet mask to be assigned, the IPv4 address of the DNS server, and the IPv4 address of the default gateway.

d)

When a DHCP client boots, it broadcasts a DHCPDISCOVER message to identify an available DHCP server on the network.