CCNA Domain 4: IP Services
20 free practice questions for IP Services in the Cisco Certified Network Associate (CCNA 200-301) exam. Try each question first, then open "Show answer" for the correct option and explanation.
IP Services practice questions
-
Question 1. Many inside hosts share one public IP address, distinguished by port numbers. Which NAT type is this?
Show answer
Answer: D. PAT (NAT overload)
PAT maps many private addresses to one public address using unique source ports.
-
Question 2. An internal web server must always be reachable from the internet at the same public address. Which NAT type fits?
Show answer
Answer: C. Static NAT
Static NAT creates a permanent one-to-one mapping, which allows inbound connections.
-
Question 3. In Cisco NAT terminology, what is the "inside global" address?
Show answer
Answer: A. The public address that represents an inside host to the outside
Inside local is the host's private address. Inside global is how that host appears to the outside world.
-
Question 4. Which command configures PAT using the address of interface Gi0/1 for hosts matched by ACL 1?
Show answer
Answer: C. ip nat inside source list 1 interface Gi0/1 overload
The overload keyword enables PAT. Interfaces must also be marked ip nat inside and ip nat outside.
-
Question 5. Why is accurate time from NTP important on network devices?
Show answer
Answer: A. So log timestamps can be correlated across devices during troubleshooting
Consistent time is essential for logs, certificates, and authentication protocols.
-
Question 6. What does a lower NTP stratum number indicate?
Show answer
Answer: A. The device is closer to an authoritative time source
Stratum 0 is the reference clock and stratum 1 servers connect to it directly. Each hop adds one.
-
Question 7. Hosts on VLAN 20 must receive addresses from a DHCP server on another subnet. What must be configured on the VLAN 20 gateway?
Show answer
Answer: D. ip helper-address pointing to the DHCP server
DHCP discovers are broadcasts, which routers don't forward. The DHCP relay converts them to unicast toward the server.
-
Question 8. What is the order of messages in a DHCP address assignment?
Show answer
Answer: D. Discover, Offer, Request, Acknowledge
DORA: the client discovers, the server offers, the client requests, and the server acknowledges.
-
Question 9. What is the role of DNS in a network?
Show answer
Answer: B. Resolve host names to IP addresses
DNS maps names such as www.example.com to IP addresses.
-
Question 10. A monitoring server polls routers using the community string "public". Which weakness does this configuration have?
Show answer
Answer: D. The community string is sent in clear text and is widely guessed
SNMPv1 and v2c use clear-text community strings, and "public" is a well-known default. SNMPv3 with authPriv adds authentication and encryption.
-
Question 11. What is an SNMP trap?
Show answer
Answer: D. An unsolicited message from an agent to the manager about an event
Traps (and informs) let devices report events immediately without being polled.
-
Question 12. Which syslog severity level is the MOST severe?
Show answer
Answer: A. 0 (emergency)
Levels range from 0 (emergency) to 7 (debugging). Setting a level logs that level and everything more severe.
-
Question 13. An administrator sets logging trap 4 on a router. Which messages are sent to the syslog server?
Show answer
Answer: A. Levels 0 through 4
A logging level includes the chosen level and all lower-numbered, more severe levels.
-
Question 14. Which QoS action marks packets with a DSCP value so later devices can prioritize them?
Show answer
Answer: D. Marking
Classification identifies traffic and marking sets values such as DSCP. Later devices then apply queuing policies.
-
Question 15. Which DSCP value is commonly used for voice traffic?
Show answer
Answer: B. EF (46)
Expedited Forwarding is used for low-latency voice. CS1 is often scavenger traffic.
-
Question 16. What is the difference between traffic policing and traffic shaping?
Show answer
Answer: C. Policing drops or re-marks excess; shaping buffers and delays it
Shaping smooths traffic to a rate using buffers. Policing enforces a limit by dropping or re-marking.
-
Question 17. Which queuing method gives voice traffic strict priority while sharing remaining bandwidth among other classes?
Show answer
Answer: C. Low latency queuing (LLQ)
LLQ adds a strict priority queue to class-based weighted fair queuing.
-
Question 18. Which steps are needed to enable SSH on a Cisco router?
Show answer
Answer: D. Set a hostname and domain name, generate RSA keys, create a user, and set transport input ssh
SSH needs a hostname and domain name for key generation, RSA keys, local or AAA login, and VTY lines allowing SSH.
-
Question 19. Which protocol is lightweight, uses UDP port 69, and is often used to copy IOS images, but has no authentication?
Show answer
Answer: D. TFTP
TFTP is simple but insecure. FTP uses TCP with logins, and SCP and SFTP add encryption.
-
Question 20. What does the DHCP option 150 or option 43 commonly provide in Cisco networks?
Show answer
Answer: D. The address of a TFTP server or WLC
Option 150 gives IP phones a TFTP server address, and option 43 helps APs find a WLC.
Cisco and CCNA are trademarks or registered trademarks of Cisco Systems, Inc. These questions are original study material, not questions from the real exam.