CCNA Practice Test - 50
CCNA practice test covering NAT, VLSM, ACLs, TCP/IP, VLANs, routing protocols, and switch configuration fundamentals.
Questions
When NAT is in use, what is used to determine the addresses that can be translated on a Cisco router?
- Access control list
- Routing protocol
- Inbound interface
- ARP cache
Refer to the exhibit. The corporate network that is shown has been assigned network 172.16.128.0/19 for use at branch office LANs. If VLSM is used, what mask should be used for addressing hosts at Branch4 with minimal waste from unused addresses?
- /19
- /20
- /21
- /22
- /23
Where should a standard access control list be placed?
- Close to the source
- Close to the destination
- On an Ethernet port
- On a serial port
During a TCP communication session, if the packets arrive to the destination out of order, what will happen to the original message?
- The packets will not be delivered.
- The packets will be retransmitted from the source.
- The packets will be delivered and reassembled at the destination.
- The packets will be delivered and not reassembled at the destination.
Refer to the exhibit. The configuration steps that are listed in the exhibit have been entered in switch S1 via the console. Subsequent attempts to telnet to the switch are not successful. What is causing the problem?
- The switch must be configured with SSH version 1.
- The transport input command must specify Telnet access.
- The RSA keys must be returned to zero before SSH will permit Telnet access.
- The IP domain-name command must also be entered in line configuration mode for the VTY lines.
Refer to the exhibit. The network administrator correctly configures RTA to perform inter-VLAN routing. The administrator connects RTA to port 0/4 on SW2, but inter-VLAN routing does not work. What could be the possible cause of the problem with the SW2 configuration?
- Port 0/4 is not active.
- Port 0/4 is not a member of VLAN1.
- Port 0/4 is configured in access mode.
- Port 0/4 is using the wrong trunking protocol.
What is the result when the command permit tcp 192.168.4.0 0.0.3.255 any eq telnet is entered in an access control list and applied on the inbound interface of a router?
- All traffic that originates from 192.168.4.0/24 is permitted.
- All TCP traffic is permitted and all other traffic is denied.
- All Telnet traffic from the 192.168.0.0/16 network is permitted.
- All traffic from the 192.168.4.0/22 network is permitted on TCP port 23.
If a network administrator enters these commands on a switch, what will be the result?
- Switch1(config-line)# line console 0
- Switch1(config-line)# password cisco
- Switch1(config-line)# login
- To secure the console port with the password cisco
- To configure the privilege exec password that will be used for remote access
Which of the following commands disables DNS lookups?
- no ip domain-lookup
- no ip dns
- no ip dns-lookup
- disable ip domain-lookup
- disable ip domain-lookups
A router has learned two equal cost paths to a remote network via the EIGRP and RIP protocols. Both protocols are using their default configurations. Which path to the remote network will be installed in the routing table?
- the path learned via EIGRP
- the path learned via RIP
- the path with the highest metric value
- both paths with load balancing
Which algorithm is run by link-state routing protocols to calculate the shortest path to destination networks?
- DUAL
- Dijkstra
- Bellman-Ford
- Diffie-Hellman
What VLANs are allowed across a trunk when the range of allowed VLANs is set to the default value?
- Only the management VLAN
- All VLANs except the extended range VLANs
- All VLANs except 1 and 1002-1005
- All VLANs
Refer to the exhibit. The Ethernet interface on Router2 goes down and the administrator notices that the route is still valid in the routing table of Router1. How much longer will it take for Router1 to mark the route invalid by setting the metric to 16?
- 30 seconds
- 90 seconds
- 155 seconds
- 180 seconds
- 255 seconds
Which of the following commands disables the Cisco Discovery Protocol for the whole router?
- Disable cdp
- No cdp enable
- No cdp run
- No discovery
Refer to the exhibit. A network technician is trying to determine the correct IP address configuration for Host A. What is a valid configuration for Host A?
- IP address: 192.168.100.19; Subnet Mask: 255.255.255.248; Default Gateway: 192.16.1.2
- IP address: 192.168.100.20; Subnet Mask: 255.255.255.240; Default Gateway: 192.168.100.17
- IP address: 192.168.100.21; Subnet Mask: 255.255.255.248; Default Gateway: 192.168.100.18
- IP address: 192.168.100.22; Subnet Mask: 255.255.255.240; Default Gateway: 10.1.1.5
- IP address: 192.168.100.30; Subnet Mask: 255.255.255.240; Default Gateway: 192.168.1.1
What is a primary purpose of encapsulating packets into frames?
- Provide routes across the internetwork
- Format the data for presentation to the user
- Facilitate the entry and exit of data on media
- Identify the services to which transported data is associated