2.8 Flashcards

1
Q

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

A

broadcast DHCPREQUEST

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

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

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

A

FF-FF-FF-FF-FF-FF and 255.255.255.255

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

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

manual allocation

pre-allocation

automatic allocation

dynamic allocation

A

dynamic allocation

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

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

client IP address

client hardware address

gateway IP address

broadcast MAC address

A

client hardware address

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

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

DHCPDISCOVER

DHCPOFFER

DHCPREQUEST

DHCPACK

A

DHCPREQUEST

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

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.

It reduces the response time from a DHCP server.

A

It can provide relay services for multiple UDP services.

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

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

configuring the router to act as a relay agent

configuring the router to resolve IP address conflicts

A

configuring the router to obtain IP parameters from a DHCPv4 server

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

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

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

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

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

This is an ISP requirement.

The router has a fixed IP address.

A

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

This is an ISP requirement.

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

A company uses the SLAAC method to configure IPv6 addresses for the employee workstations. Which address will a client use as its default gateway?​

the all-routers multicast address

the link-local address of the router interface that is attached to the network

the unique local address of the router interface that is attached to the network

the global unicast address of the router interface that is attached to the network

A

the link-local address of the router interface that is attached to the network

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

A network administrator configures a router to send RA messages with M flag as 0 and O flag as 1. Which statement describes the effect of this configuration when a PC tries to configure its IPv6 address?

It should contact a DHCPv6 server for all the information that it needs.

It should use the information that is contained in the RA message exclusively.

It should use the information that is contained in the RA message and contact a DHCPv6 server for additional information.

It should contact a DHCPv6 server for the prefix, the prefix-length information, and an interface ID that is both random and unique.

A

It should use the information that is contained in the RA message and contact a DHCPv6 server for additional information.

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

A company implements the stateless DHCPv6 method for configuring IPv6 addresses on employee workstations. After a workstation receives messages from multiple DHCPv6 servers to indicate their availability for DHCPv6 service, which message does it send to a server for configuration information?

DHCPv6 SOLICIT

DHCPv6 REQUEST

DHCPv6 ADVERTISE

DHCPv6 INFORMATION-REQUEST

A

DHCPv6 INFORMATION-REQUEST

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

An administrator wants to configure hosts to automatically assign IPv6 addresses to themselves by the use of Router Advertisement messages, but also to obtain the DNS server address from a DHCPv6 server. Which address assignment method should be configured?

SLAAC

stateless DHCPv6

stateful DHCPv6

RA and EUI-64

A

stateless DHCPv6

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

How does an IPv6 client ensure that it has a unique address after it configures its IPv6 address using the SLAAC allocation method?

It sends an ARP message with the IPv6 address as the destination IPv6 address.

It checks with the IPv6 address database that is hosted by the SLAAC server.

It contacts the DHCPv6 server via a special formed ICMPv6 message.

It sends an ICMPv6 Neighbor Solicitation message with the IPv6 address as the target IPv6 address.

A

It sends an ICMPv6 Neighbor Solicitation message with the IPv6 address as the target IPv6 address.

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

What is used in the EUI-64 process to create an IPv6 interface ID on an IPv6 enabled interface?

the MAC address of the IPv6 enabled interface

a randomly generated 64-bit hexadecimal address

an IPv6 address that is provided by a DHCPv6 server

an IPv4 address that is configured on the interface

A

the MAC address of the IPv6 enabled interface

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

What two methods can be used to generate an interface ID by an IPv6 host that is using SLAAC? (Choose two.)

EUI-64

random generation

stateful DHCPv6

DAD

ARP

A

EUI-64

random generation

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

Refer to the exhibit. Based on the output that is shown, what kind of IPv6 addressing is being configured?

SLAAC

stateful DHCPv6

stateless DHCPv6

static link-local

A

stateless DHCPv6

17
Q

Refer to the exhibit. What should be done to allow PC-A to receive an IPv6 address from the DHCPv6 server?

Add the ipv6 dhcp relay command to interface Fa0/0.

Configure the ipv6 nd managed-config-flag command on interface Fa0/1.

Change the ipv6 nd managed-config-flag command to ipv6 nd other-config-flag.

Add the IPv6 address 2001:DB8:1234:5678::10/64 to the interface configuration of the DHCPv6 server.

A

Add the ipv6 dhcp relay command to interface Fa0/0.

18
Q

Refer to the exhibit. A network administrator is implementing stateful DHCPv6 operation for the company. However, the clients are not using the prefix and prefix-length information that is configured in the DHCP pool. The administrator issues a show ipv6 interface command. What could be the cause of the problem?

No virtual link-local address is configured.

The Duplicate Address Detection feature is disabled.

The router is configured for SLAAC DHCPv6 operation.

The router is configured for stateless DHCPv6 operation

A

The router is configured for stateless DHCPv6 operation

19
Q

Refer to the exhibit. A network administrator is implementing the stateless DHCPv6 operation for the company. Clients are configuring IPv6 addresses as expected. However, the clients are not getting the DNS server address and the domain name information configured in the DHCP pool. What could be the cause of the problem?

The GigabitEthernet interface is not activated.

The router is configured for SLAAC operation.

The DNS server address is not on the same network as the clients are on.

The clients cannot communicate with the DHCPv6 server, evidenced by the number of active clients being 0.

A

The router is configured for SLAAC operation.

20
Q

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 ___________________

A

excluded-address 10.0.15.1 10.0.15.15

21
Q

Order the steps of configuring a router as a DHCPv4 server. (Not all options are used.)

Place the options in the following order:

Options:

Step 1
Step 2
Step 3

Configure a DHCP pool
Exclude IP addresses
Configure the routing protocol
Define the default gateway router.
Configure a secret password.
A
[+] Step 2  -> Configure a DHCP pool.
[+] Step 1  -> Exclude IP addresses.
– not scored – 
[+] Step 3  ->Define the default gateway router
– not scored –
22
Q

Match the descriptions to the corresponding DHCPv6 sever type. (Not all options are used.)

Place the options in the following order:

Stateless or Stateful DHCPv6?

  • clients send only DHCPv6 INFORMATION-REQUEST messages to the server
  • enabled on the client with the ipv6 address dhcp command
  • clients communicate with the DHCPv6 server by the use of RA messages
  • enabled on the client with the ipv6 address autoconfig command
  • the M flag is set to 1 in RA messages
  • enabled in RA messages with the ipv6 nd other-config-flag command
  • uses the address command to create a pool of addresses for clients
A

Stateless DHCPv6
[+] enabled in RA messages with the ipv6 nd other-config-flag command
[+] clients send only DHCPv6 INFORMATION-REQUEST messages to the server
[+] enabled on the client with the ipv6 address autoconfig command

Stateful DHCPv6
[#] the M flag is set to 1 in RA messages
[#] uses the address command to create a pool of addresses for clients
[#] enabled on the client with the ipv6 address dhcp command