CCNA Training » DHCP Questions - Tài liệu tham khảo | Đại học Hoa Sen

CCNA Training » DHCP Questions - Tài liệu tham khảo | Đại học Hoa Sen và thông tin bổ ích giúp sinh viên tham khảo, ôn luyện và phục vụ nhu cầu học tập của mình cụ thể là có định hướng, ôn tập, nắm vững kiến thức môn học và làm bài tốt trong những bài kiểm tra, bài tiểu luận, bài tập kết thúc học phần, từ đó học tập tốt và có kết qủa

11:09, 16/06/2022
CCNA Training » DHCP Questions
https://www.9tut.com/dhcp-questions-3
1/9
Type text to search here...
Home > DHCP Questions
DHCP Questions
January 7th, 2021 Go to comments
Premium Member: You can test your knowledge with these questions first via this (via HTML).link
Note: If you are not sure about DHCP, please read our .DHCP tutorial
Question 1
Which Cisco IOS command will indicate that interface GigabitEthernet 0/0 is configured via DHCP?
A. show ip interface GigabitEthernet 0/0 dhcp
B. show interface GigabitEthernet 0/0
C. show ip interface dhcp
D. show ip interface GigabitEthernet 0/0
E. show ip interface GigabitEthernet 0/0 brief
Answer: D
Question 2
Which command enables a router to become a DHCP client?
A. ip address dhcp
B. ip helper-address
C. ip dhcp pool
D. ip dhcp client
Answer: A
Explanation
If we want to get an IP address from the DHCP server on a Cisco device, we can use the command “ip address
dhcp”.
Note: The command “ip helper-address” enables a router to become a DHCP Relay Agent.
Question 3
What are two roles of the Dynamic Host Configuration Protocol (DHCP)? (Choose two)
11:09, 16/06/2022
CCNA Training » DHCP Questions
https://www.9tut.com/dhcp-questions-3
2/9
A. The DHCP server offers the ability to exclude specific IP addresses from a pool of IP addresses
B. The DHCP client can request up to four DNS server addresses
C. The DHCP server assigns IP addresses without requiring the client to renew them
D. The DHCP server leases client IP addresses dynamically
E. The DHCP client maintains a pool of IP addresses it can assign
Answer: A D
Question 4
Refer to the exhibit. An engineer deploys a topology in which R1 obtains its IP configuration from DHCP. If the
switch and DHCP server configurations are complete and correct. Which two sets of commands must be
configured on R1 and R2 to complete the task? (Choose two)
A. R1 (config)# interface fa0/0
R1 (config-if)# ip helper-address 198.51.100.100
B. R2(config)# interface gi0/0
R2(config-if)# ip helper-address 198.51.100.100
C. R1 (config)# interface fa0/0
R1 (config-if)# ip address dhcp
R1 (config-if)# no shutdown
D. R2(config)# interface gi0/0
R2(config-if)# ip address dhcp
E. R1 (config)# interface fa0/0
R1 (config-if)# ip helper-address 192.0.2.2
Answer: B C
Question 5
Refer to the exhibit. If the network environment is operating normally, which type of device must be connected
to interface FastEthernet 0/1?
ip arp inspection vlan 2-10
interface fastethernet 0/1
ip arp inspection trust
A. DHCP client
B. access point
C. router
D. PC
11:09, 16/06/2022
CCNA Training » DHCP Questions
https://www.9tut.com/dhcp-questions-3
3/9
Answer: C
Explanation
To configure DHCP snooping feature, at least three steps must be done:
Sequence and Description Command
1. Configure global DHCP snooping Switch(config)# ip dhcp snooping
2. Configure trusted ports (as least on 1 port).
By default, all ports are untrusted
Switch(config-if)# ip dhcp snooping trust
3. Configure DHCP snooping for the selected
VLANs
Switch(config)# ip dhcp snooping vlan {VLAN-ID | VLAN
range}
Note: To configure DHCP snooping with Dynamic ARP Inspection we need to add the command “ip arp
inspection vlan ” in global configuration mode and “ip arp inspection trust” in interface mode.vlan-id
In a normal network environment, we should trust interfaces that are connected to routers, not end points.
Question 6
Which type of information resides on a DHCP server?
A. a list of the available IP addresses in a pool
B. a list of public IP addresses and their corresponding names
C. usernames and passwords for the end users in a domain
D. a list of statically assigned MAC addresses
Answer: A
Question 7
What is a DHCP client?
A. a host that is configured to request an IP address automatically
B. a router that statically assigns IP addresses to hosts
C. a server that dynamically assigns IP addresses to hosts
D. a workstation that requests a domain name associated with its IP address
Answer: A
Question 8
Where does the configuration reside when a helper address is configured to support DHCP?
A. on the switch trunk interface.
B. on the router closest to the client.
C. on the router closest to the server.
D. on every router along the path.
11:09, 16/06/2022
CCNA Training » DHCP Questions
https://www.9tut.com/dhcp-questions-3
4/9
Answer: B
Question 9
When implementing a router as a DHCP server, which two features must be configured? (Choose two)
A. relay agent information
B. database agent
C. address pool
D. smart-relay
E. manual bindings
Answer: C E
Explanation
The following example shows how to configure a DHCP Server on a Cisco router:
Configuration Description
Router(config)#ip dhcp
pool CLIENTS
Create a DHCP Pool named CLIENTS
Router(dhcp-
config)#network
10.1.1.0 /24
Specifies the subnet and mask of the DHCP address pool
Router(dhcp-
config)#default-router
10.1.1.1
Set the default gateway of the DHCP Clients
Router(dhcp-
config)#dns-server
10.1.1.1
Configure a Domain Name Server (DNS)
Router(dhcp-
config)#domain-name
9tut.com
Configure a domain-name
Router(dhcp-
config)#lease 0 12
Duration of the lease (the time during which a client computer can use an assigned IP
address). The syntax is “ {days[hours] [minutes] | infinite}”. In this case thelease
lease is 12 hours. The default is a one-day lease.
Before the lease expires, the client typically needs to renew its address lease
assignment with the server
Router(dhcp-
config)#exit
Router(config)# ip
dhcp excluded-address
10.1.1.1 10.1.1.10
The IP range that a DHCP Server should not assign to DHCP Clients. Notice this
command is configured under global configuration mode
Manual bindings are IP addresses that have been manually mapped to the MAC addresses of hosts that are
found in the DHCP database.
11:09, 16/06/2022
CCNA Training » DHCP Questions
https://www.9tut.com/dhcp-questions-3
5/9
All DHCP clients send a client identifier (DHCP option 61) in the DHCP packet. To configure manual bindings,
you must enter the DHCP pool configuration command with the appropriate hexadecimalclient-identifier
values identifying the DHCP client. For example:
ip dhcp pool SERVER
host 172.16.200.100 255.255.255.0
client-identifier 01aa.bbcc.0003.00
default-router 172.16.200.1
!
Therefore two requirements for DHCP binding is the IP address and the hardware address (MAC address) of the
client. Notice that in the above example “aabb.cc00.0300” is the MAC address of the client while prefix “01”
represents the Ethernet media type.
Note: In fact, this question should ask “When implementing a router as a DHCP server, which one of these
features must be configured?”. Because we only need to configure either an “address pool” or “manual
binding”.
Question 10
Which command must you enter to configure a DHCP relay?
A. ip helper-address
B. ip address dhcp
C. ip dhcp relay
D. ip dhcp pool
Answer: A
Explanation
If the DHCP Server is not on the same subnet with the DHCP Client, we need to configure the router on the
DHCP client side to act as a DHCP Relay Agent so that it can forward DHCP messages between the DHCP
Client & DHCP Server. To make a router a DHCP Relay Agent, simply put the “ip helper-address <IP-address-
of-DHCP-Server>” command under the interface that receives the DHCP messages from the DHCP Client.
As we know, router does not forward broadcast packets (it drops them instead) so DHCP messages like
DHCPDISCOVER message will be dropped. But with the “ip helper-address …” command, the router will
accept that broadcast message and cover it into a unicast packet and forward it to the DHCP Server. The
destination IP address of the unicast packet is taken from the “ip helper-address …” command.
Question 11
11:09, 16/06/2022
CCNA Training » DHCP Questions
https://www.9tut.com/dhcp-questions-3
6/9
Where does a switch maintain DHCP snooping information?
A. in the CAM table
B. in the VLAN database
C. in the DHCP binding database
D. in the MAC address table
Answer: C
Comments (4) Comments
1. yucare
January 17th, 2021
Q4 answers in DHCP section is right BnC where in quiz it comes out wrong? Can someone explain this
plz.
2. MoG
January 28th, 2021
@yucare: The commands in Answere B do configure the interface on R2 to forward DHCP requests on
the behalf of the actual dhcp Server. Hence working as Man-in-the-Middle for DHCP operation.
The Commands in Answere C do 1st configures R1’s interface faceing towards R2 to make use of DHCP
for configuration, aswell as negating the shutdown command applied to all router-ports by default
3. Otabek
April 17th, 2021
If you have any questions from Cisco, please leave them to me telegram link Otabek3633
4. Nena
July 9th, 2021
hi, is there same the questions and answer in premium membership?
Add a Comment
Name
reCAPTCHA
Tôi không ph i là ng i ườ
máy
B iảo mật - Đ ều kho n
Submit Comment
Subscribe to comments feed
VPN Questions Automation Questions
11:09, 16/06/2022
CCNA Training » DHCP Questions
https://www.9tut.com/dhcp-questions-3
7/9
Premium Member Zone
Welcome !Hai Minh
Welcome Premium Member
CCNA – New Questions Part 5
CCNA – New Questions Part 6
CCNA – New Questions Part 7
CCNA – New Questions Part 8
CCNA – New Questions Part 9
CCNA – New Questions Part 10
Composite Quizzes
IP Services Sim
Static Routing Configuration Sim
Static Routing Configuration Sim 2
OSPF Configuration Sim
Logout
CCNA 200-301
Basic Questions
Topology Architecture Questions
Cloud & Virtualization Questions
CDP & LLDP Questions
Switch Questions
VLAN & Trunking Questions
VLAN & Trunking Questions 2
STP & VTP Questions
EtherChannel Questions
TCP & UDP Questions
IP Address & Subnetting Questions
IP Routing Questions
IP Routing Questions 2
OSPF Questions
OSPF Questions 2
EIGRP Questions
NAT Questions
NTP Questions
Syslog Questions
HSRP Questions
Access-list Questions
AAA Questions
Security Questions
Security Questions 2
DAI Questions
IPv6 Questions
DNS Questions
QoS Questions
Port Security Questions
Wireless Questions
Wireless Questions 2
11:09, 16/06/2022
CCNA Training » DHCP Questions
https://www.9tut.com/dhcp-questions-3
8/9
SDN Questions
DNA Center Questions
Drag Drop Questions
Drag Drop Questions 2
Drag Drop Questions 3
VPN Questions
DHCP Questions
Automation Questions
Miscellaneous Questions
CCNA FAQs & Tips
Share your new CCNA Experience
CCNA Self-Study
Practice CCNA GNS3 Labs
CCNA Knowledge
CCNA Lab Challenges
Puppet Tutorial
Chef Tutorial
Ansible Tutorial
JSON Tutorial
Layer 2 Threats and Security Features
AAA TACACS+ and RADIUS Tutorial
STP Root Port Election Tutorial
GRE Tunnel Tutorial
Basic MPLS Tutorial
TCP and UDP Tutorial
Border Gateway Protocol BGP Tutorial
Point to Point Protocol (PPP) Tutorial
WAN Tutorial
DHCP Tutorial
Simple Network Management Protocol SNMP Tutorial
Syslog Tutorial
Gateway Load Balancing Protocol GLBP Tutorial
EtherChannel Tutorial
Hot Standby Router Protocol HSRP Tutorial
InterVLAN Routing Tutorial
Cisco Command Line Interface CLI
Cisco Router Boot Sequence Tutorial
OSI Model Tutorial
Subnetting Tutorial – Subnetting Made Easy
Frame Relay Tutorial
Wireless Tutorial
Virtual Local Area Network VLAN Tutorial
VLAN Trunking Protocol VTP Tutorial
IPv6 Tutorial
Rapid Spanning Tree Protocol RSTP Tutorial
Spanning Tree Protocol STP Tutorial
Network Address Translation NAT Tutorial
Access List Tutorial
RIP Tutorial
EIGRP Tutorial
OSPF Tutorial
11:09, 16/06/2022
CCNA Training » DHCP Questions
https://www.9tut.com/dhcp-questions-3
9/9
Network Resources
Free Router Simulators
CCNA Website
ENCOR Website
ENSDWI Website
ENARSI Website
DevNet Website
CCIE R&S Website
Security Website
Wireless Website
Design Website
Data Center Website
Service Provider Website
Collaboration Website
Top
Copyright © 2021 CCNA Training
Site Privacy Policy. Valid XHTML 1.1 and CSS 3.H
| 1/9

Preview text:

11:09, 16/06/2022
CCNA Training » DHCP Questions Type text to search here... Home > DHCP Questions DHCP Questions
January 7th, 2021 Go to comments
Premium Member: You can test your knowledge with these questions first via this link (via HTML).
Note: If you are not sure about DHCP, please read our . DHCP tutorial Question 1
Which Cisco IOS command will indicate that interface GigabitEthernet 0/0 is configured via DHCP?
A. show ip interface GigabitEthernet 0/0 dhcp
B. show interface GigabitEthernet 0/0 C. show ip interface dhcp
D. show ip interface GigabitEthernet 0/0
E. show ip interface GigabitEthernet 0/0 brief Answer: D Question 2
Which command enables a router to become a DHCP client? A. ip address dhcp B. ip helper-address C. ip dhcp pool D. ip dhcp client Answer: A Explanation
If we want to get an IP address from the DHCP server on a Cisco device, we can use the command “ip address dhcp”.
Note: The command “ip helper-address” enables a router to become a DHCP Relay Agent. Question 3
What are two roles of the Dynamic Host Configuration Protocol (DHCP)? (Choose two)
https://www.9tut.com/dhcp-questions-3 1/9 11:09, 16/06/2022
CCNA Training » DHCP Questions
A. The DHCP server offers the ability to exclude specific IP addresses from a pool of IP addresses
B. The DHCP client can request up to four DNS server addresses
C. The DHCP server assigns IP addresses without requiring the client to renew them
D. The DHCP server leases client IP addresses dynamically
E. The DHCP client maintains a pool of IP addresses it can assign Answer: A D Question 4
Refer to the exhibit. An engineer deploys a topology in which R1 obtains its IP configuration from DHCP. If the
switch and DHCP server configurations are complete and correct. Which two sets of commands must be
configured on R1 and R2 to complete the task? (Choose two)
A. R1 (config)# interface fa0/0
R1 (config-if)# ip helper-address 198.51.100.100
B. R2(config)# interface gi0/0
R2(config-if)# ip helper-address 198.51.100.100
C. R1 (config)# interface fa0/0
R1 (config-if)# ip address dhcp R1 (config-if)# no shutdown
D. R2(config)# interface gi0/0 R2(config-if)# ip address dhcp
E. R1 (config)# interface fa0/0
R1 (config-if)# ip helper-address 192.0.2.2 Answer: B C Question 5
Refer to the exhibit. If the network environment is operating normally, which type of device must be connected to interface FastEthernet 0/1? ip arp inspection vlan 2-10 interface fastethernet 0/1 ip arp inspection trust A. DHCP client B. access point C. router D. PC
https://www.9tut.com/dhcp-questions-3 2/9 11:09, 16/06/2022
CCNA Training » DHCP Questions Answer: C Explanation
To configure DHCP snooping feature, at least three steps must be done: Sequence and Description Command
1. Configure global DHCP snooping
Switch(config)# ip dhcp snooping
2. Configure trusted ports (as least on 1 port).
Switch(config-if)# ip dhcp snooping trust
By default, all ports are untrusted
3. Configure DHCP snooping for the selected
Switch(config)# ip dhcp snooping vlan {VLAN-ID | VLAN VLANs range}
Note: To configure DHCP snooping with Dynamic ARP Inspection we need to add the command “ip arp
inspection vlan vlan-id” in global configuration mode and “ip arp inspection trust” in interface mode.
In a normal network environment, we should trust interfaces that are connected to routers, not end points. Question 6
Which type of information resides on a DHCP server?
A. a list of the available IP addresses in a pool
B. a list of public IP addresses and their corresponding names
C. usernames and passwords for the end users in a domain
D. a list of statically assigned MAC addresses Answer: A Question 7 What is a DHCP client?
A. a host that is configured to request an IP address automatically
B. a router that statically assigns IP addresses to hosts
C. a server that dynamically assigns IP addresses to hosts
D. a workstation that requests a domain name associated with its IP address Answer: A Question 8
Where does the configuration reside when a helper address is configured to support DHCP?
A. on the switch trunk interface.
B. on the router closest to the client.
C. on the router closest to the server.
D. on every router along the path.
https://www.9tut.com/dhcp-questions-3 3/9 11:09, 16/06/2022
CCNA Training » DHCP Questions Answer: B Question 9
When implementing a router as a DHCP server, which two features must be configured? (Choose two) A. relay agent information B. database agent C. address pool D. smart-relay E. manual bindings Answer: C E Explanation
The following example shows how to configure a DHCP Server on a Cisco router: Configuration Description
Router(config)#ip dhcp Create a DHCP Pool named CLIENTS pool CLIENTS Router(dhcp- config)#network
Specifies the subnet and mask of the DHCP address pool 10.1.1.0 /24 Router(dhcp- config)#default-router
Set the default gateway of the DHCP Clients 10.1.1.1 Router(dhcp- config)#dns-server
Configure a Domain Name Server (DNS) 10.1.1.1 Router(dhcp- config)#domain-name Configure a domain-name 9tut.com
Duration of the lease (the time during which a client computer can use an assigned IP address). The syntax is “
{days[hours] [minutes] | infinite}”. In this case the lease Router(dhcp-
lease is 12 hours. The default is a one-day lease. config)#lease 0 12
Before the lease expires, the client typically needs to renew its address lease assignment with the server Router(dhcp- config)#exit Router(config)# ip
The IP range that a DHCP Server should not assign to DHCP Clients. Notice this
dhcp excluded-address command is configured under global configuration mode 10.1.1.1 10.1.1.10
Manual bindings are IP addresses that have been manually mapped to the MAC addresses of hosts that are found in the DHCP database.
https://www.9tut.com/dhcp-questions-3 4/9 11:09, 16/06/2022
CCNA Training » DHCP Questions
All DHCP clients send a client identifier (DHCP option 61) in the DHCP packet. To configure manual bindings,
you must enter the client-identifier DHCP pool configuration command with the appropriate hexadecimal
values identifying the DHCP client. For example: ip dhcp pool SERVER
host 172.16.200.100 255.255.255.0
client-identifier 01aa.bbcc.0003.00 default-router 172.16.200.1 !
Therefore two requirements for DHCP binding is the IP address and the hardware address (MAC address) of the
client. Notice that in the above example “aabb.cc00.0300” is the MAC address of the client while prefix “01”
represents the Ethernet media type.
Note: In fact, this question should ask “When implementing a router as a DHCP server, which one of these
features must be configured?”. Because we only need to configure either an “address pool” or “manual binding”. Question 10
Which command must you enter to configure a DHCP relay? A. ip helper-address B. ip address dhcp C. ip dhcp relay D. ip dhcp pool Answer: A Explanation
If the DHCP Server is not on the same subnet with the DHCP Client, we need to configure the router on the
DHCP client side to act as a DHCP Relay Agent so that it can forward DHCP messages between the DHCP
Client & DHCP Server. To make a router a DHCP Relay Agent, simply put the “ip helper-address of-DHCP-Server>” command under the interface that receives the DHCP messages from the DHCP Client.
As we know, router does not forward broadcast packets (it drops them instead) so DHCP messages like
DHCPDISCOVER message will be dropped. But with the “ip helper-address …” command, the router will
accept that broadcast message and cover it into a unicast packet and forward it to the DHCP Server. The
destination IP address of the unicast packet is taken from the “ip helper-address …” command. Question 11
https://www.9tut.com/dhcp-questions-3 5/9 11:09, 16/06/2022
CCNA Training » DHCP Questions
Where does a switch maintain DHCP snooping information? A. in the CAM table B. in the VLAN database
C. in the DHCP binding database D. in the MAC address table Answer: C Comments (4) Comments 1. yucare January 17th, 2021
Q4 answers in DHCP section is right BnC where in quiz it comes out wrong? Can someone explain this plz. 2. MoG January 28th, 2021
@yucare: The commands in Answere B do configure the interface on R2 to forward DHCP requests on
the behalf of the actual dhcp Server. Hence working as Man-in-the-Middle for DHCP operation.
The Commands in Answere C do 1st configures R1’s interface faceing towards R2 to make use of DHCP
for configuration, aswell as negating the shutdown command applied to all router-ports by default 3. Otabek April 17th, 2021
If you have any questions from Cisco, please leave them to me telegram link Otabek3633 4. Nena July 9th, 2021
hi, is there same the questions and answer in premium membership? Add a Comment Name
Tôi không phải là người máy reCAPTCHA Bảo mật - Điều khoản Submit Comment Subscribe to comments feed
VPN Questions Automation Questions
https://www.9tut.com/dhcp-questions-3 6/9 11:09, 16/06/2022
CCNA Training » DHCP Questions Premium Member Zone Welcome Hai Minh! Welcome Premium Member CCNA – New Questions Part 5 CCNA – New Questions Part 6 CCNA – New Questions Part 7 CCNA – New Questions Part 8 CCNA – New Questions Part 9 CCNA – New Questions Part 10 Composite Quizzes IP Services Sim
Static Routing Configuration Sim
Static Routing Configuration Sim 2 OSPF Configuration Sim Logout CCNA 200-301 Basic Questions
Topology Architecture Questions
Cloud & Virtualization Questions CDP & LLDP Questions Switch Questions VLAN & Trunking Questions
VLAN & Trunking Questions 2 STP & VTP Questions EtherChannel Questions TCP & UDP Questions
IP Address & Subnetting Questions IP Routing Questions IP Routing Questions 2 OSPF Questions OSPF Questions 2 EIGRP Questions NAT Questions NTP Questions Syslog Questions HSRP Questions Access-list Questions AAA Questions Security Questions Security Questions 2 DAI Questions IPv6 Questions DNS Questions QoS Questions Port Security Questions Wireless Questions Wireless Questions 2
https://www.9tut.com/dhcp-questions-3 7/9 11:09, 16/06/2022
CCNA Training » DHCP Questions SDN Questions DNA Center Questions Drag Drop Questions Drag Drop Questions 2 Drag Drop Questions 3 VPN Questions DHCP Questions Automation Questions Miscellaneous Questions CCNA FAQs & Tips Share your new CCNA Experience CCNA Self-Study Practice CCNA GNS3 Labs CCNA Knowledge CCNA Lab Challenges Puppet Tutorial Chef Tutorial Ansible Tutorial JSON Tutorial
Layer 2 Threats and Security Features
AAA TACACS+ and RADIUS Tutorial
STP Root Port Election Tutorial GRE Tunnel Tutorial Basic MPLS Tutorial TCP and UDP Tutorial
Border Gateway Protocol BGP Tutorial
Point to Point Protocol (PPP) Tutorial WAN Tutorial DHCP Tutorial
Simple Network Management Protocol SNMP Tutorial Syslog Tutorial
Gateway Load Balancing Protocol GLBP Tutorial EtherChannel Tutorial
Hot Standby Router Protocol HSRP Tutorial InterVLAN Routing Tutorial
Cisco Command Line Interface CLI
Cisco Router Boot Sequence Tutorial OSI Model Tutorial
Subnetting Tutorial – Subnetting Made Easy Frame Relay Tutorial Wireless Tutorial
Virtual Local Area Network VLAN Tutorial
VLAN Trunking Protocol VTP Tutorial IPv6 Tutorial
Rapid Spanning Tree Protocol RSTP Tutorial
Spanning Tree Protocol STP Tutorial
Network Address Translation NAT Tutorial Access List Tutorial RIP Tutorial EIGRP Tutorial OSPF Tutorial
https://www.9tut.com/dhcp-questions-3 8/9 11:09, 16/06/2022
CCNA Training » DHCP Questions Network Resources Free Router Simulators CCNA Website ENCOR Website ENSDWI Website ENARSI Website DevNet Website CCIE R&S Website Security Website Wireless Website Design Website Data Center Website Service Provider Website Collaboration Website Top
Copyright © 2021 CCNA Training
Site Privacy Policy. Valid XHTML 1.1 and CSS 3.H
https://www.9tut.com/dhcp-questions-3 9/9