Curated

IP Services (4.1–4.9)

0 votes

Questions30

  1. Question 1

    IP Services

    Which command defines the range of public addresses that an inside source NAT pool translates private hosts to?

    Show the answer

    Correct answerA. ip nat pool

    AWhy this is right: It creates the named range of inside global addresses used for dynamic translation.

    BWhy not this: It creates a single fixed one-to-one mapping, not a range of addresses.

    CWhy not this: It selects which inside addresses may be translated, not the public addresses used.

    DWhy not this: It marks an interface as the outside side of NAT and defines no addresses.

    The ip nat pool command defines a named range of inside global addresses with a netmask or prefix length. Static NAT maps one address to one address and does not define a range for dynamic translation.

    Open this question
  2. Question 2

    IP Services

    A router has a pool of two public addresses and a permit ACL matching 10 inside hosts. An eleventh host's packets are dropped when both addresses are in use. What would let all hosts share the pool?

    Show the answer

    Correct answerA. Add the overload keyword to the ip nat inside source list command

    AWhy this is right: Overload enables PAT, so many hosts share a few addresses using unique port numbers.

    BWhy not this: Marking the inside interface as outside breaks translation direction and adds no addresses.

    CWhy not this: A wider ACL matches more hosts to translate but does not increase the available pool addresses.

    DWhy not this: Static entries are one-to-one and would need a public address per host, worsening the shortage.

    Dynamic NAT without overload maps one inside address to one pool address, so it runs out of addresses. The overload keyword enables PAT, which uses port numbers so many hosts share the pool. Widening the ACL only matches more hosts and does not add addresses.

    Open this question
  3. Question 3

    IP Services

    Which command verifies that a router has synchronized its clock with an NTP server and shows the stratum of the reference clock?

    Show the answer

    Correct answerB. show ntp status

    AWhy not this: show time sync is not a valid IOS command.

    BWhy this is right: it reports clock synchronized or unsynchronized, the stratum and the reference peer address.

    CWhy not this: show clock detail shows the current time and its source, but not the NTP stratum or sync state.

    DWhy not this: show ntp config is not an IOS command for checking synchronization.

    show ntp status reports whether the clock is synchronized and gives the stratum and reference server. show clock detail displays the time and its source but not the NTP stratum or synchronization state.

    Open this question
  4. Question 4

    IP Services

    A router must synchronize its clock with an NTP server at 192.168.10.5. Which global configuration command makes the router an NTP client of that server?

    Show the answer

    Correct answerD. ntp server 192.168.10.5

    AWhy not this: ntp master makes the router serve time from its own clock and takes a stratum value, not a server address.

    BWhy not this: The ntp peer command sets up symmetric peering, and it has no 'client' keyword.

    CWhy not this: There is no clock source command for choosing an NTP server in IOS.

    DWhy this is right: ntp server <ip> configures the router to synchronize its clock to that upstream server.

    The ntp server command points a device at an upstream NTP server and makes it a client of that server. ntp master makes the device an authoritative source using its own clock and does not take an address.

    Open this question
  5. Question 5

    IP Services

    What is the main function of SNMP in network operations?

    Show the answer

    Correct answerD. Monitoring and managing network devices from a central system

    AWhy not this: Automatic address assignment is DHCP, not SNMP.

    BWhy not this: Clock synchronization is NTP, not SNMP.

    CWhy not this: Translating private to public addresses is NAT, not SNMP.

    DWhy this is right: SNMP lets a manager query and configure devices through agents and MIB data, so it is a management protocol.

    SNMP lets a network management system collect information from and manage devices through agents and MIB objects. NAT, DHCP and NTP are separate IP services with different purposes, such as address translation, addressing and time.

    Open this question
  6. Question 6

    IP Services

    An SNMP manager must learn when an interface on a managed router goes down, without polling the router continuously. Which SNMP message type meets this need?

    Show the answer

    Correct answerA. Trap

    AWhy this is right: An agent sends a trap on its own when an event occurs, so the manager is notified without polling.

    BWhy not this: A get-request is manager-initiated polling, which is the continuous polling the manager wants to avoid.

    CWhy not this: A get-next-request walks through the MIB by retrieving the next object, which is still manager-initiated polling.

    DWhy not this: A set-request lets the manager change a variable on the device. It does not report events.

    A trap is an unsolicited message that an agent sends to the manager when an event occurs, such as an interface going down. A get-request is sent by the manager to poll for a value, so it needs continuous polling to catch the event.

    Open this question
  7. Question 7

    IP Services

    Which three statements correctly describe the roles of DHCP and DNS in a network? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersA. DHCP uses UDP ports 67 and 68 for server and client messagesB. DHCP can supply a client with an IP address, subnet mask, default gateway and DNS server addressC. DNS resolves hostnames such as www.example.com to IP addresses

    AWhy this is right: DHCP servers listen on UDP 67 and clients use UDP 68.

    BWhy this is right: DHCP automates delivery of address, mask, gateway and DNS server settings.

    CWhy this is right: Name-to-address resolution is the core function of DNS.

    DWhy not this: DHCP does not resolve names; it only tells clients which DNS server to query.

    EWhy not this: Leasing addresses is a DHCP function, not a DNS one.

    FWhy not this: Mapping an IP address to a MAC address is ARP's job, not DNS.

    DHCP automatically provides addressing parameters, including the DNS server address, using UDP 67 and 68. DNS maps names to IP addresses. Leasing addresses is a DHCP function, and mapping an IP address to a MAC address is done by ARP.

    Open this question
  8. Question 8

    IP Services

    A client on a VLAN has no DHCP server on its subnet. The router interface in that VLAN has the command ip helper-address 10.1.1.5, and the DHCP server at 10.1.1.5 holds a pool for the client's subnet. How does the server know which pool to use for the client's request?

    Show the answer

    Correct answerC. The relay agent writes its own interface IP address into the giaddr field of the forwarded request

    AWhy not this: A new client has no address and sources the DISCOVER from 0.0.0.0, so it carries no subnet hint.

    BWhy not this: Relays forward DHCP messages; they do not generate DNS queries, and DNS does not assign subnets.

    CWhy this is right: The relay stamps giaddr with its ingress interface address, and the server matches that to a scope.

    DWhy not this: A MAC address is a Layer 2 identifier with no subnet information, so it cannot select a pool.

    A DHCP relay agent forwards the broadcast as unicast and sets the giaddr field to the IP address of the receiving interface. The server uses giaddr to select the matching pool. A MAC address carries no subnet information, so it cannot select a pool.

    Open this question
  9. Question 9

    IP Services

    A syslog message on a Cisco switch displays %LINK-3-UPDOWN. What does the number 3 in the message indicate?

    Show the answer

    Correct answerC. Severity level 3, errors

    AWhy not this: In this format the facility is the text field LINK, not a number; the number is the severity.

    BWhy not this: Sequence numbers are added separately by the service sequence-numbers command, not shown in this field.

    CWhy this is right: The middle field of a Cisco syslog message is the severity level, and level 3 is named errors.

    DWhy not this: Warnings is level 4, so this pairs the right field with the wrong level name.

    In the Cisco message format %FACILITY-SEVERITY-MNEMONIC, the number is the severity level. Level 3 is errors. Here LINK is the facility, not a number, and warnings is level 4.

    Open this question
  10. Question 10

    IP Services

    An administrator runs 'logging trap warnings' on a router that sends messages to a syslog server. Which messages does the server receive?

    Show the answer

    Correct answerC. Severity levels 0 through 4 only

    AWhy not this: The setting is a threshold that includes more severe levels, not an exact match for one level.

    BWhy not this: This reverses the scale: levels 5 through 7 are less severe and are filtered out, while 0 through 3 are sent.

    CWhy this is right: Warnings is level 4, and the trap setting includes it and every more severe level down to 0 (emergencies).

    DWhy not this: Level 5 is notifications, which is less severe than warnings and is not sent at this setting.

    The logging trap level sets the maximum severity sent to the syslog server, and it includes all more severe (lower-numbered) levels. Warnings is level 4, so levels 0 through 4 are sent. Levels 4 through 7 reverses the direction, since higher numbers are less severe.

    Open this question
  11. Question 11

    IP Services

    Clients in VLAN 20 receive no addresses. The DHCP server at 10.1.1.10 is reachable through the router's Gi0/0 interface, and the VLAN 20 gateway is router subinterface Gi0/1.20. Which configuration fixes this?

    Show the answer

    Correct answerB. ip helper-address 10.1.1.10 on Gi0/1.20

    AWhy not this: The server-facing interface does not receive the VLAN 20 client broadcasts, so relay there does nothing.

    BWhy this is right: The helper address on the client-facing gateway converts DHCP broadcasts into unicast to the server.

    CWhy not this: This makes the interface a DHCP client itself, so it does not relay for hosts in VLAN 20.

    DWhy not this: Excluding an address only stops the pool from offering it; it does not forward client requests.

    The relay agent must be configured on the interface that receives the client broadcasts, here the VLAN 20 gateway subinterface, and it forwards them as unicast to the server. Putting it on the server-facing interface never sees the VLAN 20 DHCPDISCOVER broadcasts.

    Open this question
  12. Question 12

    IP Services

    Which interface command makes a router's Ethernet interface obtain its IPv4 address from a DHCP server?

    Show the answer

    Correct answerB. ip address dhcp

    AWhy not this: This is not a valid interface command for acquiring an address.

    BWhy this is right: This interface command turns the interface into a DHCP client.

    CWhy not this: This creates a server address pool in global configuration, not a client setup.

    DWhy not this: The helper-address command takes a server IP address and relays broadcasts; it does not request an address.

    The ip address dhcp interface command makes the interface a DHCP client that learns its address from a server. The ip helper-address command is for relaying client broadcasts to a server, not for acquiring an address.

    Open this question
  13. Question 13

    IP Services

    Voice packets arrive at a switch already carrying DSCP EF, and the switch trusts that value. It places them in a strict-priority queue ahead of all other traffic. Which QoS function selects that queue?

    Show the answer

    Correct answerA. Classification based on the existing marking

    AWhy this is right: Classification reads the trusted DSCP EF value and assigns the packet to a class, which maps to the priority queue.

    BWhy not this: WRED drops packets early as queues fill to avoid tail drop; it does not pick the queue for a class.

    CWhy not this: Policing limits the rate by dropping or re-marking excess packets; it does not select a queue.

    DWhy not this: Marking would rewrite the DSCP value, but here the packets already carry EF and nothing is changed.

    Classification inspects a field such as the trusted DSCP value and assigns the packet to a traffic class, which maps to the priority queue. Marking is tempting, but the packets already carry the value and no change is made.

    Open this question
  14. Question 14

    IP Services

    A router interface is oversubscribed during bursts. The administrator wants excess traffic from a 100 Mbps subscribed rate to be buffered and sent later rather than dropped. Which QoS tool does this?

    Show the answer

    Correct answerB. Shaping

    AWhy not this: Classification only identifies which traffic class a packet belongs to; it does not control the rate.

    BWhy this is right: Shaping buffers traffic above the committed rate and sends it later, which smooths bursts instead of dropping them.

    CWhy not this: Policing enforces a rate by dropping or re-marking excess packets, not by delaying them in a buffer.

    DWhy not this: Marking only sets a value such as DSCP or CoS in the header; it does not hold or delay packets.

    Shaping holds traffic that exceeds the configured rate in a queue and releases it later, smoothing the output. Policing is the tempting alternative, but it drops or re-marks excess traffic instead of buffering it.

    Open this question
  15. Question 15

    IP Services

    Which four configuration steps are needed to enable SSH version 2 remote access on a Cisco IOS router using local user authentication? (Choose four.)

    Choose 4 answers

    Show the answer

    Correct answersA. Set login local and transport input ssh on the VTY linesB. Generate an RSA key pair with a modulus of at least 768 bitsC. Create a local user with a passwordE. Configure a hostname and an IP domain name

    AWhy this is right: The VTY lines must use the local database and permit SSH as the input transport.

    BWhy this is right: SSH version 2 requires an RSA key of at least 768 bits, so keys must be generated.

    CWhy this is right: Local authentication on the VTY lines needs a user account to log in with.

    DWhy not this: This enables the HTTPS web interface, which is unrelated to SSH access.

    EWhy this is right: The RSA key name is derived from the hostname and domain name, so both are required.

    FWhy not this: Local user authentication checks the router's own user database, so no RADIUS server is needed.

    SSH needs a hostname and domain name, an RSA key pair (at least 768 bits for version 2), a local user, and VTY lines set to login local with SSH transport. The HTTPS server enables web management, not SSH. A RADIUS server is not needed when users are checked against the local database.

    Open this question
  16. Question 16

    IP Services

    A router has a hostname set and SSH-capable IOS, but the command crypto key generate rsa fails with an error. An engineer has not yet configured a domain name. Which command should be entered first?

    Show the answer

    Correct answerC. ip domain-name lab.example.com

    AWhy not this: This creates a local user for login but has no effect on whether RSA keys can be generated.

    BWhy not this: This restricts VTY lines to SSH but does not provide the domain name needed for key generation.

    CWhy this is right: The key pair name is built from hostname and domain name, so the domain name must exist before keys are generated.

    DWhy not this: This selects SSH version 2 but needs an existing RSA key pair; it does not fix the key generation error.

    RSA key generation needs a fully qualified name made from the hostname plus a domain name, so ip domain-name must be set first. The transport input ssh command only limits the VTY protocols and does not supply the domain name the key requires.

    Open this question
  17. Question 17

    IP Services

    An engineer must copy an IOS image to a switch from a server. The transfer must require a username and password and use reliable TCP delivery. Which protocol meets both requirements?

    Show the answer

    Correct answerA. FTP

    AWhy this is right: FTP runs over TCP and authenticates with a username and password before transferring files.

    BWhy not this: TFTP is commonly used for IOS images but uses UDP and has no authentication mechanism.

    CWhy not this: Syslog sends log messages to a server over UDP; it does not transfer files.

    DWhy not this: SNMP monitors and manages devices; it is not a file transfer protocol.

    FTP uses TCP ports 20 and 21 and requires credentials to log in, so it meets both requirements. TFTP is the tempting choice for IOS copies, but it runs over UDP port 69 and has no authentication.

    Open this question
  18. Question 18

    IP Services

    A network engineer wants a lightweight way to back up a router's startup configuration to a server without a login or session setup. Which transport and port does the protocol used for this rely on?

    Show the answer

    Correct answerC. UDP port 69

    AWhy not this: TCP port 21 is the FTP control channel, which needs a login and a TCP session.

    BWhy not this: TCP port 22 is used by SSH and SCP, which are secure but involve authentication and sessions.

    CWhy this is right: TFTP uses connectionless UDP port 69 and needs no login, which suits simple config or image transfers.

    DWhy not this: UDP port 123 is used by NTP for time synchronization, not file transfer.

    TFTP is a simple, connectionless file transfer protocol that uses UDP port 69 and has no authentication. TCP port 21 is the FTP control port, which requires a login and a connection-oriented session.

    Open this question
  19. Question 19

    IP Services

    R1's `show ntp associations` lists 192.0.2.10 with `*`, `st 2`, and `reach 377`. Which conclusions follow? (Choose three.)

    Choose 3 answers

    Show the answer

    Correct answersC. The last eight polls received replies from the server.D. The server at 192.0.2.10 advertises stratum 2.E. R1 selected 192.0.2.10 as its synchronization source.

    AWhy not this: The reach value is an octal reachability register; the poll column reports the polling interval.

    BWhy not this: A synchronized client is one stratum higher than its selected server, so R1 would be stratum 3.

    CWhy this is right: Octal 377 represents eight set bits, indicating replies to the last eight polls.

    DWhy this is right: The st column reports the remote server's stratum.

    EWhy this is right: An asterisk marks the association selected for clock synchronization.

    The asterisk identifies the selected synchronization source, st 2 describes that server's stratum, and octal reach 377 records replies for the last eight polls. R1 would synchronize at stratum 3, not inherit the server's stratum.

    Open this question
  20. Question 20

    IP Services

    Which command lets a router serve its local clock as an NTP reference when no external time source is available?

    Show the answer

    Correct answerA. ntp master 5

    AWhy this is right: Configures the local clock as an NTP reference at stratum 5.

    BWhy not this: Enables reception of NTP broadcasts on an interface.

    CWhy not this: Configures a symmetric NTP association with another device.

    DWhy not this: Selects the interface whose address is used as the source of NTP packets.

    The ntp master 5 command lets the router provide its local clock as a stratum 5 NTP reference. The ntp peer command establishes a symmetric association with another device rather than making the local clock a reference.

    Open this question
  21. Question 21

    IP Services

    A router must translate an internal server's source address, 10.1.1.10, to 203.0.113.10 using a permanent mapping. With NAT interface roles already configured, which command creates the required mapping?

    Show the answer

    Correct answerA. ip nat inside source static 10.1.1.10 203.0.113.10

    AWhy this is right: The command maps the server's inside local address to its required inside global address.

    BWhy not this: The command selects outside source NAT rather than the required inside source NAT.

    CWhy not this: Outside source NAT translates an outside host's address, not the internal server's source address.

    DWhy not this: The command reverses the inside local and inside global addresses.

    Inside source static NAT maps the inside local address to the inside global address, in that order. Reversing the addresses creates the wrong mapping; outside source NAT translates addresses of outside hosts.

    Open this question
  22. Question 22

    IP Services

    A router has NAT interface roles configured, standard ACL 15 permitting the inside subnet, and a NAT pool named PUBLIC. Which command enables dynamic inside source translation using that ACL and pool without port sharing?

    Show the answer

    Correct answerB. ip nat inside source list 15 pool PUBLIC

    AWhy not this: The overload keyword enables multiple translations to share a global address through port numbers.

    BWhy this is right: The command associates ACL 15 with pool PUBLIC without enabling port sharing.

    CWhy not this: The command uses an interface address with port sharing rather than addresses from PUBLIC.

    DWhy not this: The command selects an interface address instead of the configured pool.

    The list keyword selects addresses permitted by ACL 15, and pool PUBLIC supplies their translated addresses. Adding overload enables port sharing, which is not requested; interface-based translation does not use the named pool.

    Open this question
  23. Question 23

    IP Services

    Which SNMP component defines the managed objects that a monitoring system can query?

    Show the answer

    Correct answerB. MIB

    AWhy not this: An SNMP agent responds to management requests and provides device data.

    BWhy this is right: A MIB defines managed objects, including their identifiers and data types.

    CWhy not this: An SNMP manager queries agents and processes management information.

    DWhy not this: A community string controls access in SNMPv1 and SNMPv2c rather than defining managed objects.

    A management information base (MIB) defines managed objects and their identifiers. An SNMP agent provides access to device management data but does not define the objects.

    Open this question
  24. Question 24

    IP Services

    A workstation has a valid DHCP lease with six hours remaining when its DHCP server becomes unavailable. What happens to the workstation's assigned IPv4 address while the lease remains valid?

    Show the answer

    Correct answerC. It remains usable until the lease expires.

    AWhy not this: The default gateway's address identifies the router and cannot replace the client's assigned address.

    BWhy not this: A DHCP lease does not become a static assignment when the server is unavailable.

    CWhy this is right: A valid lease permits continued use of the assigned address without continuous contact with the DHCP server.

    DWhy not this: Losing contact with the DHCP server does not revoke an unexpired lease.

    A DHCP client can continue using its assigned address while its lease remains valid, even if the server is unavailable. Server unavailability does not immediately revoke an existing lease.

    Open this question
  25. Question 25

    IP Services

    After a server's DNS record changes, one client still resolves its name to the old address, but a client with an empty cache using the same DNS server receives the new address. Both can reach the new address directly, and renewing the affected client's DHCP lease changes nothing. Which action BEST addresses the cause?

    Show the answer

    Correct answerD. Clear the affected client's DNS resolver cache.

    AWhy not this: The fresh lookup already returns the new address, indicating that the published record does not need correction.

    BWhy not this: Lease duration controls address assignment lifetime, not the lifetime of cached DNS answers.

    CWhy not this: Direct access to the new address works, so changing the default gateway does not address the stale name resolution.

    DWhy this is right: Removing the stale cached answer allows the client to request the current DNS information.

    The affected client is using a cached DNS answer that predates the record change; clearing its resolver cache forces a fresh lookup. Changing the authoritative record is unnecessary because an uncached lookup through the same DNS server already returns the new address.

    Open this question
  26. Question 26

    IP Services

    An administrator wants a syslog collector to group router messages into a locally assigned category, regardless of their urgency. Which syslog setting should the administrator configure on the routers?

    Show the answer

    Correct answerD. Logging facility

    AWhy not this: A severity threshold selects messages by urgency, not by a locally assigned category.

    BWhy not this: A logging destination identifies where messages are sent, not how the collector categorizes them.

    CWhy not this: A timestamp records when an event occurred rather than assigning its category.

    DWhy this is right: A logging facility assigns a category that the collector can use to group or route messages.

    A logging facility, such as local6, assigns a category that a syslog collector can use to classify messages. A severity threshold filters messages by urgency rather than assigning a source category.

    Open this question
  27. Question 27

    IP Services

    An edge router identifies voice traffic using UDP port numbers and changes its DSCP value so downstream routers can recognize the traffic class. Which QoS function changes that value?

    Show the answer

    Correct answerC. Marking

    AWhy not this: Classification identifies traffic using criteria such as UDP ports; it does not itself write the DSCP value.

    BWhy not this: Queuing holds packets awaiting transmission and separates traffic for scheduling; it does not set the DSCP value.

    CWhy this is right: Marking sets a packet's QoS field so downstream devices can recognize its assigned traffic class.

    DWhy not this: Policing enforces a traffic rate by dropping or remarking excess traffic, rather than labeling traffic simply by application class.

    Marking writes a QoS value, such as DSCP, into a packet header for downstream devices to use. Classification identifies the traffic class but does not itself change the packet's DSCP value.

    Open this question
  28. Question 28

    IP Services

    A DHCP server at 10.50.0.10/24 receives relayed DHCPDISCOVER messages with giaddr 10.20.30.1 but has only a 10.40.0.0/24 pool, matching the relay's uplink subnet. The client-facing relay interface is 10.20.30.1/24; which server change enables address allocation to these clients?

    Show the answer

    Correct answerC. Add a pool for 10.20.30.0/24.

    AWhy not this: The server's own subnet does not identify the subnet of relayed clients.

    BWhy not this: The DNS server setting supplies a client option; it does not control pool selection.

    CWhy this is right: The pool matches the client subnet identified by giaddr 10.20.30.1.

    DWhy not this: A pool's default gateway setting does not change which subnet its addresses belong to.

    The server uses giaddr to identify the relayed client's subnet, so it needs a pool for 10.20.30.0/24. Changing the existing pool's default gateway does not change its address range or make it match the client subnet.

    Open this question
  29. Question 29

    IP Services

    Which Cisco IOS command displays whether the SSH server is enabled and which SSH protocol version it uses?

    Show the answer

    Correct answerB. show ip ssh

    AWhy not this: Displays current SSH connections, not the SSH server's status and protocol version.

    BWhy this is right: Displays whether SSH is enabled and the SSH protocol version in use.

    CWhy not this: Displays terminal line information, not SSH server status and version.

    DWhy not this: Displays logged-in users and their terminal lines, not SSH server status and version.

    The show ip ssh command displays SSH server status and protocol version. The show ssh command displays current SSH connections rather than the server's configured protocol version.

    Open this question
  30. Question 30

    IP Services

    An FTP client behind a firewall can log in, but directory listings fail because the firewall blocks server-initiated connections to the client. Which change allows listings while preserving that firewall restriction?

    Show the answer

    Correct answerD. Use passive FTP so the client initiates the data connection.

    AWhy not this: Active FTP has the server, not the client, initiate the data connection.

    BWhy not this: Active FTP uses a separate, server-initiated data connection for directory listings.

    CWhy not this: Passive FTP still uses a separate data connection for directory listings.

    DWhy this is right: Passive FTP allows the client to initiate the data connection without permitting server-initiated connections.

    Passive FTP lets the client initiate the separate data connection, which carries directory listings as well as file contents. Active FTP instead has the server initiate the data connection, so it conflicts with the firewall restriction.

    Open this question