Exam Center · Question Bank 4

IP Services — Question Bank

Thirty-six questions covering CCNA Domain 4.0 (IP Services, 10% of the exam): NAT and PAT, NTP, DHCP and DNS, DHCP relay, SNMP, syslog, QoS, TFTP, and secure device access with SSH. Instant feedback and a worked explanation after every answer.

CCNA 200-301 v1.1 Domain 4.0 · Weighting 10% Verified 2026-10-11
How to use this bank
Definition — IP services The supporting cast that makes an IP network usable and manageable: address translation, dynamic addressing, name resolution, time synchronisation, monitoring, logging, traffic treatment, and secure remote administration.

Part 1 — NAT & PAT

Network address translation
  1. What is the main purpose of NAT with overload (PAT) at an Internet edge?

    • To encrypt traffic between sites
    • To let many private hosts share one or a few public addresses
    • To assign DNS names to hosts
    • To block malicious traffic

    PAT (NAT overload) translates many inside local addresses to one inside global address by using unique source port numbers, conserving public IPv4 space.

  2. Which term describes a private host's address as seen from the inside network?

    • Inside global
    • Outside local
    • Inside local
    • Outside global

    Inside local is the private address of an internal host on the internal network. Inside global is that same host as it appears to the outside world.

  3. Which command marks an interface as the NAT inside of the translation?

    • ip nat inside
    • ip nat outside
    • nat enable inside
    • ip address nat inside

    On the inside interface use ip nat inside; on the Internet-facing interface use ip nat outside. Both are required for translation to occur.

  4. Which command configures dynamic PAT for traffic matched by ACL 1, using interface Gi0/0's address?

    • ip nat pool POOL 10.0.0.1 10.0.0.1
    • ip nat source static list 1
    • ip nat inside source static 10.0.0.1
    • ip nat inside source list 1 interface gi0/0 overload

    This exact form translates ACL-matched inside sources to the interface address with overload (PAT). A pool plus overload is the alternative when a set of public addresses is used.

  5. Which command displays the active NAT translations?

    • show ip route
    • show ip nat translations
    • show ip interface brief
    • show arp

    show ip nat translations lists the inside local, inside global, outside local, and outside global entries currently in the table.

  6. Which NAT type maps one inside address to exactly one outside address with no port translation?

    • Static NAT (one-to-one)
    • PAT
    • Dynamic NAT with overload
    • Port forwarding with a pool

    Static NAT is a permanent one-to-one mapping, often used to publish an internal server to the outside. It does not consume ports because the mapping never changes.

  7. A PC is reachable from the Internet only when a specific port is forwarded to it. Which concept does this describe?

    • Static NAT for the whole host
    • DHCP reservation
    • Route summarisation
    • Port forwarding (static PAT)

    Static PAT (port forwarding) maps an external port on the public address to an internal host and port, so only the chosen service is exposed.

Part 2 — DHCP, DNS & TFTP

Addressing, naming and file transfer services
  1. Which four messages make up the DHCP DORA exchange?

    • Discover, Open, Reply, Accept
    • Demand, Offer, Request, Acknowledge
    • Discover, Offer, Request, Acknowledge
    • Discover, Offer, Response, Apply

    The client broadcasts Discover, the server replies Offer, the client sends Request, and the server confirms with Acknowledge. This is the DORA sequence.

  2. Which UDP ports does DHCPv4 use?

    • 67 for clients, 68 for servers
    • 67 for servers, 68 for clients
    • 53 for both
    • 546 and 547 for both

    DHCP servers listen on UDP 67 and clients on UDP 68 in DHCPv4. DHCPv6 uses UDP 546 (clients) and 547 (servers).

  3. A router needs to give DHCP addresses to clients on a remote subnet where a central server sits. What must be configured on the router interface?

    • An IP helper-address pointing at the DHCP server
    • ip nat inside
    • A second default gateway
    • Port security

    ip helper-address SERVER-IP converts the client's broadcast Discover into a unicast relay to the server, and forwards replies back. This is DHCP relay.

  4. Which command excludes addresses 10.0.0.1 through 10.0.0.9 from a Cisco IOS DHCP pool?

    • ip dhcp exclude 10.0.0.1 10.0.0.9
    • excluded-address 10.0.0.1 10.0.0.9
    • no dhcp pool 10.0.0.1 10.0.0.9
    • ip dhcp excluded-address 10.0.0.1 10.0.0.9

    ip dhcp excluded-address (global config) removes a range from being handed out, typically for gateways and servers. The pool is then built with ip dhcp pool NAME.

  5. Which port does DNS primarily use, and over which transport?

    • TCP 53 only
    • UDP 67 only
    • UDP 53 for queries, TCP 53 for large transfers and zone transfers
    • TCP 80

    DNS uses UDP 53 for normal queries because it is fast and connectionless, and TCP 53 for zone transfers and responses that exceed UDP limits.

  6. Which command configures a Cisco router as a caching DNS client to resolve names?

    • ip name-server 8.8.8.8
    • ip dns enable 8.8.8.8
    • dns server 8.8.8.8
    • ip host 8.8.8.8

    ip name-server tells the router which DNS servers to query, and ip domain-lookup (on by default) enables resolution. ip host creates a static entry instead.

  7. Which protocol and port are used to back up a router configuration to a server?

    • FTP over TCP 21 only
    • TFTP over UDP 69
    • SNMP over UDP 161
    • NTP over UDP 123

    TFTP uses UDP 69 and is the classic Cisco IOS method for copying configurations and IOS images (copy running-config tftp:). It is connectionless and simple.

  8. Which command starts a Cisco IOS DHCP pool named LAN for 192.168.1.0/24?

    • dhcp pool LAN 192.168.1.0
    • ip pool LAN 192.168.1.0
    • ip dhcp server LAN
    • ip dhcp pool LAN then network 192.168.1.0 255.255.255.0

    Enter DHCP pool configuration with ip dhcp pool LAN, then define the network, default-router, and dns-server for the clients.

Part 3 — NTP & time

Network Time Protocol
  1. Which port and transport does NTP use?

    • TCP 123
    • UDP 123
    • UDP 161
    • TCP 49

    NTP uses UDP port 123. Accurate time is important for log correlation, certificates, and Kerberos-style authentication.

  2. Which command sets a Cisco device to get its time from NTP server 10.0.0.5?

    • ntp server 10.0.0.5
    • ntp client 10.0.0.5
    • time server 10.0.0.5
    • clock ntp 10.0.0.5

    The global command ntp server 10.0.0.5 configures the device to synchronise with that server. A configured ntp master lets the device serve time to others.

  3. In NTP hierarchy, what does stratum indicate?

    • The encryption strength
    • The number of clients served
    • The time zone offset
    • The distance in hops from the reference clock, where stratum 1 is directly attached to an authoritative source

    Stratum levels run from 0 (reference clock) to 15. Stratum 1 servers connect directly to a reference clock; each level down inherits a slightly less accurate time.

  4. Which command sets the time zone and enables daylight saving adjustment?

    • clock timezone only
    • ntp timezone
    • clock timezone GMT 0 and clock summer-time
    • timezone gmt

    Time zone and daylight saving are set with clock timezone and clock summer-time. NTP keeps UTC internally; these commands affect display only.

  5. Why does accurate time matter for network security?

    • Logs and certificates rely on consistent timestamps; drift breaks correlation and validation.
    • It encrypts management traffic.
    • It assigns IP addresses.
    • It prevents VLAN hopping.

    When devices disagree on time, syslog and SNMP events are hard to correlate and certificate validity checks can fail, so NTP is a security-relevant service.

Part 4 — SNMP, syslog & SSH

Management, logging and secure access
  1. Which UDP ports does SNMP use for agent queries and traps?

    • 161 for traps, 162 for queries
    • 161 for queries, 162 for traps
    • 514 for both
    • 123 for both

    The SNMP manager polls the agent on UDP 161; agents send unsolicited traps to the manager on UDP 162.

  2. Which syslog severity level is the most severe?

    • Level 7 (debugging)
    • Level 5 (notification)
    • Level 0 (emergency)
    • Level 3 (error)

    Syslog severity runs from 0 (emergency, most severe) down to 7 (debugging, least severe). A lower number is more urgent.

  3. Which command sends syslog messages to a server at 192.168.1.50?

    • logging host 192.168.1.50
    • syslog server 192.168.1.50
    • snmp host 192.168.1.50
    • log server 192.168.1.50

    logging host points the device at a syslog collector; logging trap LEVEL sets the minimum severity that is sent.

  4. Which port and protocol does SSH use, and why is it preferred over Telnet?

    • TCP 23; it is faster
    • UDP 22; it is connectionless
    • TCP 69; it uses TFTP
    • TCP 22; it encrypts the session, unlike Telnet on TCP 23 which sends credentials in clear text

    SSH runs on TCP 22 and encrypts the whole session, protecting credentials and commands. Telnet (TCP 23) is plaintext and should be disabled on production devices.

  5. Which sequence of commands enables SSH on a Cisco IOS device?

    • crypto key generate ssh only
    • Set hostname and domain name, generate RSA keys, create a local user, configure line vty 0 4 with transport input ssh and login local
    • ip ssh server enable 22
    • username admin ssh

    SSH requires a hostname and domain name (to build the key pair), generated RSA keys, an AAA-capable local user, and VTY lines restricted to SSH with local authentication.

  6. Which SNMP version adds authentication and privacy (encryption) through a user-based security model?

    • SNMPv1
    • SNMPv2c
    • SNMPv3
    • SNMPv2u

    SNMPv3 adds USM (User-based Security Model) for authentication and privacy. SNMPv1 and v2c rely on plaintext community strings.

  7. Which command displays the current logging configuration and the syslog server?

    • show logging
    • show ntp status
    • show snmp community
    • show running-config | verbose

    show logging shows the logging destinations, trap level, and buffered log entries, confirming that logs are being sent where intended.

Part 5 — QoS

Quality of service
  1. Which is the recommended DSCP value for voice (Expedited Forwarding)?

    • AF31 (26)
    • EF (46)
    • CS0 (0)
    • AF11 (10)

    Voice is marked DSCP EF (46) for low latency, low jitter, and low loss. CS0 is best-effort and AF classes are for other priority levels.

  2. Which per-hop QoS behaviour places packets into queues for forwarding?

    • Queuing
    • Classification
    • Marking
    • Policing

    The QoS toolset is classify, mark, queue, and apply congestion avoidance/shaping. Queuing decides which queue a packet waits in and how it is scheduled out.

  3. What does QoS marking accomplish?

    • It encrypts the packet.
    • It drops packets above a rate.
    • It compresses the payload.
    • It sets a value in the packet header (such as DSCP in IP or CoS in 802.1Q) so downstream devices know the treatment class

    Marking writes a class value (Layer 3 DSCP or Layer 2 CoS) into the frame so every downstream device can classify and treat it consistently.

  4. Which of these traffic types is most sensitive to jitter and delay?

    • Bulk file transfer
    • Email
    • Interactive voice and video
    • Software updates

    Real-time voice and video need consistent low delay and jitter; bulk data is tolerant of delay and can be scheduled after time-sensitive flows.

  5. What is the difference between shaping and policing?

    • Shaping buffers excess traffic to smooth it; policing drops or remarks excess traffic.
    • Shaping drops traffic; policing buffers it.
    • They are identical.
    • Shaping only applies to voice.

    Shaping delays out-of-profile traffic (adding delay but not loss); policing enforces a rate by dropping or re-marking excess packets immediately.

Missed-question review map

PartTopicWhere it is covered
Part 1NAT, PAT, address roles, configWeek 9 · NAT lab
Part 2DHCP, DNS, TFTP, helper addressWeek 9 · Application Layer
Part 3NTP and time syncWeek 9 · Application Layer
Part 4SNMP, syslog, SSH managementWeek 10 · Security Fundamentals; Week 11
Part 5QoS marking, queuing, DSCP EFWeek 8 · Transport Layer

Sources & references

  1. Cisco. CCNA (200-301) Exam Topics, Domain 4.0 IP Services. cisco.com.
  2. Droms, R. RFC 2131: Dynamic Host Configuration Protocol (1997). rfc-editor.org/rfc/rfc2131.
  3. Sollins, K. RFC 5905: Network Time Protocol Version 4 (2010). rfc-editor.org/rfc/rfc5905.
  4. Harrington, D. et al. RFC 3411: An Architecture for Describing SNMP Management Frameworks (2002). rfc-editor.org/rfc/rfc3411.
  5. Srisuresh, P. & Holdrege, M. RFC 2663: IP Network Address Translator Terminology and Considerations (1999). rfc-editor.org/rfc/rfc2663.

Target exams: CCNA 200-301 v1.1 · CyberOps Associate 200-201. Last content verification: 2026-10-11.