Cisco CCNA Cisco CCNA IP Services 2 — Questions and Answers
Question 1: Which command configures a Cisco router as a DHCP server and excludes the first 10 addresses of the 192.168.1.0/24 pool?
- ip dhcp excluded-address 192.168.1.1 192.168.1.10 (Correct answer)
- ip dhcp pool exclude 192.168.1.1 192.168.1.10
- no ip dhcp address 192.168.1.1 192.168.1.10
- ip dhcp no-assign 192.168.1.1 192.168.1.10
Correct answer: ip dhcp excluded-address 192.168.1.1 192.168.1.10
The 'ip dhcp excluded-address' command prevents specified IP addresses from being assigned by the DHCP server.
Question 2: What does the 'ip helper-address' command accomplish on a Cisco router interface?
- Forwards UDP broadcasts (including DHCP) to a specified server IP (Correct answer)
- Enables DHCP snooping on the interface
- Creates a DHCP pool on the router
- Assigns a static IP address to a DHCP client
Correct answer: Forwards UDP broadcasts (including DHCP) to a specified server IP
The 'ip helper-address' command relays UDP broadcast packets (including DHCP) from clients to a unicast server address on another subnet.
Question 3: Which NTP command configures a Cisco router to synchronize its clock with an NTP server at 10.0.0.1?
- ntp server 10.0.0.1 (Correct answer)
- ntp client 10.0.0.1
- clock source ntp 10.0.0.1
- ip ntp 10.0.0.1
Correct answer: ntp server 10.0.0.1
The global configuration command 'ntp server <ip>' designates the upstream NTP server for clock synchronization.
Question 4: Which SNMP version introduced authentication and encryption for secure management communications?
- SNMPv3 (Correct answer)
- SNMPv2c
- SNMPv1
- SNMPv2p
Correct answer: SNMPv3
SNMPv3 added user-based security with MD5/SHA authentication and DES/AES encryption, replacing the community-string model.
Question 5: What Syslog facility and level combination does the Cisco IOS command 'logging trap warnings' configure?
- Sends messages of severity 4 (Warning) and above to the syslog server (Correct answer)
- Sends only severity 4 messages to the syslog server
- Enables SNMP traps for warnings
- Sends severity 5 and below to the syslog server
Correct answer: Sends messages of severity 4 (Warning) and above to the syslog server
'logging trap warnings' (level 4) sends severity 0 through 4 messages to the configured syslog server.
Question 6: Which command verifies the current NTP synchronization status and stratum on a Cisco IOS device?
- show ntp status (Correct answer)
- show clock detail
- show ntp associations
- debug ntp events
Correct answer: show ntp status
'show ntp status' displays whether the clock is synchronized, the reference server, stratum level, and clock offset.
Which command configures a Cisco router as a DHCP server and excludes the first 10 addresses of the 192.168.1.0/24 pool?