CCNA Questions

Ace your homework & exams now with Quizwiz!

C. The interfaces are functioning correctly. Explanation: The output shown shows normal operational status of the router's interfaces. Serial0/0 is down because it has been disabled using the "shutdown" command.

Assuming that the entire network topology is shown, what is the operational status of the interfaces of R2 as indicated by the command output shown? A. One interface has a problem. B. Two interfaces have problems. C. The interfaces are functioning correctly. D. The operational status of the interfaces cannot be determined from the output shown.

C. 10.1.3.3 The destination IP address 10.1.5.65 belongs to 10.1.5.64/28, 10.1.5.64/29 & 10.1.5.64/27 subnets but the "longest prefix match" algorithm will choose the most specific subnet mask; the prefix "/29″ will be chosen to route the packet. Therefore the next-hop should be 10.1.3.3.

According to the routing table, where will the router send a packet destined for 10.1.5.65? A. 10.1.1.2 B. 10.1.2.2 C. 10.1.3.3 D. 10.1.4.4

C. The router will forward packets from R3 to R2 to R1 AND from R3 to R1. From the routing table we learn that network 192.168.10.0/30 is learned via 2 equal-cost paths (192.168.10.9 and 192.168.10.5); traffic to this network will be load-balancing.

Based on the exhibited routing table, how will packets from a host within the 192.168.10.192/26 LAN be forwarded to 192.168.10.1? A. The router will forward packets from R3 to R2 to R1. B. The router will forward packets from R3 to R1 to R2. C. The router will forward packets from R3 to R2 to R1 AND from R3 to R1. D. The router will forward packets from R3 to R1.

D. No further routing configuration is required. Since all the same router (C-router) is the default gateway for all three VLANs, all traffic destined to a different VLA will be sent to the C-router. The C-router will have knowledge of all three networks since they will appear as directly connected in the routing table. Since the C-router already knows how to get to all three networks, no routing protocols need to be configured.

C-router is to be used as a "router-on-a-stick" to route between the VLANs. All the interfaces have been properly configured and IP routing is operational. The hosts in the VLANs have been configured with the appropriate default gateway. What is true about this configuration? A. These commands need to be added to the configuration: C-router(config)# router eigrp 123 C-router(config-router)# network 172.19.0.0 B. These commands need to be added to the configuration: C-router(config)# router ospf 1 C-router(config-router)# network 172.19.0.0 0.0.3.255 area 0 C. These commands need to be added to the configuration: C-router(config)# router rip C-router(config-router)# network 172.19.0.0 D. No further routing configuration is required.

C. 172.16.5.1 The highest IP address of all loopback interfaces will be chosen; Loopback 0 will be chosen as the router ID.

Given the output for this command, if the router ID has not been manually set, what router ID will OSPF use for this router? A. 10.1.1.2 B. 10.154.154.1 C. 172.16.5.1 D. 192.168.5.3

B. R1(config)#no ip host R1 R1(config)#ip host R2 192.168.5.6 255.255.255.252 Both routers have been configured with the ip host command. This command creates a name to IP address mapping, thereby enabling the pinging of the device by address. On R1, the mapping is incorrect and needs to be corrected. Currently it is configured as ip host R1 192.168.5.6. It is currently mapping its own name to the IP address of R2. To fix the problem, you should remove the incorrect IP address mapping and create the correct mapping for R2, as follows: R1(config)#no ip host R1 R1(config)# ip host R2 192.168.5.6 255.255.255.252 Once this is done, the ping on R2 will succeed. The IP address of the S1 interface on R1 does not need to be changed to 192.168.5.9 /30. In fact, if that is done the S1 interface on R1 and the S1 interface in R2 will no longer be in the same network. With a 30-bit mask configured, the network they are currently in extends from 192.168.5.4 - 192.168.5.7. They are currently set to the two usable addresses in that network, 192.168.5.5 and 192.168.5.6. The hostnames of the two routers do need to be set correctly using the hostname command for the ping to function, but they are correct now and do not need to be changed. The subnet mask of the S1 interface on R2 does not need to be changed to 255.255.255.0. The mask needs to match that of R1, which is 255.255.255.252

R1 and R2 are connected as shown in the diagram and are configured as shown in output in the partial output of the show run command. The command "ping R2" fails when executed from R1. What command(s) would allow R1 to ping R2 by name? A. R1(config)#int S1 R1(config-if)#no ip address 192.168.5.5 R1(config-if)#ip address 192.168.5.9 255.255.255.252 B. R1(config)#no ip host R1 R1(config)#ip host R2 192.168.5.6 255.255.255.252 C. R1(config)#no hostname R2 R1(config)# hostname R1 D. R2(config)#int S1 R1(config-if)#no ip address 192.168.5.5 R1(config-if)# ip address 192.168.5.9 255.255.255.0

B. config t ip access-list extended wwwblock deny tcp any host 10.20.0.100 eq 80 permit ip any any int vlan 20 ip access-group wwwblock in The "permit ip any any" command should be placed at the end of the access list.

Refer to the exhibit. A network engineer must block access for all computers on VLAN 20 to the web server via HTTP. All other computers must be able to access the webserver. Which configuration when applied to switch A accomplishes this task? A.config tip access-list extended wwwblock deny tcp any host 10.20.0.100 eq 80 int vlan 10ip access-group wwwblock in B.config tip access-list extended wwwblock deny tcp any host 10.20.0.100 eq 80 permit ip any anyint vlan 20ip access-group wwwblock in C.config tip access-list extended wwwblock permit ip any anydeny tcp any host 10.20.0.100 eq 80 int vlan 30ip access-group wwwblock in D.config tip access-list extended wwwblock permit ip any anydeny tcp any host 10.20.0.100 eq 80 int vlan 20ip access-group wwwblock in

C. It cannot send packets to 10.10.13.128/25 Router2 does not have an entry for the subnet 10.10.13.128/25. It only has an entry for 10.10.13.0/25, which ranges from 10.10.13.0 to 10.10.13.127

Refer to the exhibit. If OSPF is running on this network, how does Router 2 handle traffic from Site B to 10.10.13.0/25 at Site A? A. It sends packets out of interface Fa0/2 only. B. It sends packets out of interface Fa0/1 only. C. It cannot send packets to 10.10.13.128/25 D. It load-balances traffic out of Fa0/1 and Fa0/2

C. Configure the ip route 0.0.0.0 0.0.0.0 10.10.10.18 command on R1. The default-information originate command advertises a default route into a normal area, provided the advertising router already has a default route. But in the routing table of R1 we don't see such a default route. Therefore we have to configure one.

Refer to the exhibit. The default-information originate command is configured under the R1 OSPF configuration. After testing, workstations on VLAN 20 at Site B cannot reach a DNS server on the Internet. Which action corrects the configuration issue? A. Add the default-information originate command on R2. B. Add the always keyword to the default-information originate command on R1. C. Configure the ip route 0.0.0.0 0.0.0.0 10.10.10.18 command on R1. D. Configure the ip route 0.0.0.0 0.0.0.0 10.10.10.2 command on R2.

C. 172.16.15.10 OSPF uses the following criteria to select the router ID: 1. Manual configuration of the router ID (via the "router-id x.x.x.x" command under OSPF router configuration mode). 2. Highest IP address on a loopback interface. 3. Highest IP address on a non-loopback and active (no shutdown) interface.

Refer to the exhibit. What does router R1 use as its OSPF router-ID? A. 10.10.1.10 B. 10.10.10.20 C. 172.16.15.10 D. 192.168.0.1

D. 10.10.13.208/29 The prefix with "longest prefix" will be matched first, in this case is "/29". Because each entry in a forwarding table may specify a sub-network, one destination address may match more than one forwarding table entry. The most specific of the matching table entries — the one with the longest subnet mask — is called the longest prefix match. It is called this because it is also the entry where the largest number of leading address bits of the destination address match those in the table entry. Reference: https://en.wikipedia.org/wiki/Longest_prefix_match

Refer to the exhibit. Which prefix does Router 1 use for traffic to Host A? A. 10.10.10.0/28 B. 10.10.13.0/25 C. 10.10.13.144/28 D. 10.10.13.208/29

B. Router(config)# interface fastethernet 0/0 Router(config-if)# no shut down Router(config)# interface fastethernet 0/0.1 Router(config-subif)# encapsulation dot1q 10 Router(config-subif)# ip address 192.168.10.1 255.255.255.0 Router(config)# interface fastethernet 0/0.2 Router(config-subif)# encapsulation dot1q 20 Router(config-subif)# ip address 192.168.20.1 255.255.255.0 E. Switch1(config)# interface fastethernet 0/1 Switch1(config-if)# switchport mode trunk The router will need to use subinterfaces, where each subinterface is assigned a VLAN and IP address for each VLAN. On the switch, the connection to the router need to be configured as a trunk using the switchport mode trunk command and it will need a default gateway for VLAN 1.

What commands must be configured on the 2950 switch and the router to allow communication between host 1 and host 2? (Choose two.) A. Router(config)# interface fastethernet 0/0 Router(config-if)# ip address 192.168.1.1 255.255.255.0 Router(config-if)# no shut down B. Router(config)# interface fastethernet 0/0 Router(config-if)# no shut down Router(config)# interface fastethernet 0/0.1 Router(config-subif)# encapsulation dot1q 10 Router(config-subif)# ip address 192.168.10.1 255.255.255.0 Router(config)# interface fastethernet 0/0.2 Router(config-subif)# encapsulation dot1q 20 Router(config-subif)# ip address 192.168.20.1 255.255.255.0 C. Router(config)# router eigrp 100 Router(config-router)# network 192.168.10.0 Router(config-router)# network 192.168.20.0 D. Switch1(config)# vlan database Switch1(config-vlan)# vtp domain XYZ Switch1(config-vlan)# vtp server E. Switch1(config)# interface fastethernet 0/1 Switch1(config-if)# switchport mode trunk F. Switch1(config)# interface vlan 1 Switch1(config-if)# ip default-gateway 192.168.1.1

C. 192.168.25.16 255.255.255.240 Explanation: The binary version of 20 is 10100. The binary version of 16 is 10000. The binary version of 24 is 11000. The binary version of 28 is 11100. The subnet mask is /28. The mask is 255.255.255.240. Note: From the output above, EIGRP learned 4 routes and we need to find out the summary of them: + 192.168.25.16 + 192.168.25.20 + 192.168.25.24 + 192.168.25.28 The increment should bE. 28 - 16 = 12 but 12 is not an exponentiation of 2 so we must choose 16 (24). Therefore the subnet mask is /28 (=1111 1111.1111 1111.1111 1111.11110000) = 255.255.255.240. So, the best answer should be 192.168.25.16 255.255.255.240.

Which address and mask combination represents a summary of the routes learned by EIGRP? A. 192.168.25.0 255.255.255.240 B. 192.168.25.0 255.255.255.252 C. 192.168.25.16 255.255.255.240 D. 192.168.25.16 255.255.255.252 E. 192.168.25.28 255.255.255.240 F. 192.168.25.28 255.255.255.252

C. cdp run CDP is enabled on Cisco routers by default. If you prefer not to use the CDP capability, disable it with the no cdp run command. In order to re-enable CDP, use the cdp run command in global configuration mode. The "cdp enable" command is an interface command, not global.

Which command would you configure globally on a Cisco router that would allow you to view directly connected Cisco devices? A. enable cdp B. cdp enable C. cdp run D. run cdp

B. With a network wide mask of 255.255.255.128, each interface does require an IP address on a unique IP subnet. D. With a network wide mask of 255.255.255.0, must be a Layer 3 device for the PCs to communicate with each other. E. With a network wide mask of 255.255.254.0, each interface does not require an IP address. If Subnet Mask is 255.255.255.128 the hosts vary from x.x.x.0 - x.x.x.127 & x.x.x.128- x.x.x.255, so the IP Addresses of 2 hosts fall in different subnets so each interface needs an IP an address so that they can communicate each other. If Subnet Mask is 255.255.255.0 the 2 specified hosts fall in different subnets so they need a Layer 3 device to communicate. If Subnet Mask is 255.255.254.0 the 2 specified hosts are in same subnet so are in network address and can be accommodated in same Layer 2 domain and can communicate with each other directly using the Layer 2 address.

Which three statements correctly describe Network Device A? (Choose three.) A. With a network wide mask of 255.255.255.128, each interface does not require an IP address. B. With a network wide mask of 255.255.255.128, each interface does require an IP address on a unique IP subnet. C. With a network wide mask of 255.255.255.0, must be a Layer 2 device for the PCs to communicate with each other. D. With a network wide mask of 255.255.255.0, must be a Layer 3 device for the PCs to communicate with each other. E. With a network wide mask of 255.255.254.0, each interface does not require an IP address.

C. flash memory E. TFTP server Explanation: The following locations can be configured as a source for the IOS image: 1. + Flash (the default location) 2. + TFTP server 3. + ROM (used if no other source is found) 4. (Please read the explanation of Question 4 for more information)

Which two locations can be configured as a source for the IOS image in the boot system command? (Choose two.) A. RAM B. NVRAM C. flash memory D. HTTP server E. TFTP server F. Telnet server

C. Different process identifiers can be used to run multiple OSPF processes D. The process number can be any number from 1 to 65,535. Multiple OSPF processes can be configured on a router using multiple process ID's. The valid process ID's are shown below: Edge-B(config)#router ospf ? <1-65535> Process ID

Which two statements describe the process identifier that is used in the command to configure OSPF on a router? (Choose two.) Router(config)# router ospf 1 A. All OSPF routers in an area must have the same process ID. B. Only one process number can be used on the same router. C. Different process identifiers can be used to run multiple OSPF processes D. The process number can be any number from 1 to 65,535. E. Hello packets are sent to each neighbor to determine the processor identifier.

C. Erasing current flash content is requested during the copy dialog. During the copy process, the router asked "Erasing flash before copying? [confirm]" and the administrator confirmed (by pressing Enter) so the flash was deleted.

Why is flash memory erased prior to upgrading the IOS image from the TFTP server? A. The router cannot verify that the Cisco IOS image currently in flash is valid. B. Flash memory on Cisco routers can contain only a single IOS image. C. Erasing current flash content is requested during the copy dialog. D. In order for the router to use the new image as the default, it must be the only IOS image in flash.

C. Connect the new computer to Fa0/5 You are connecting a new computer to Switch55. The new computer should be placed in the Accounting VLAN. You execute the show vlan command and get the following output: Examine the additional network diagram. What action should you take to place the new computer in the Accounting VLAN and allow for inter-VLAN routing? A. Connect the new computer to Fa0/1 B. Connect the new computer to Fa0/14 C. Connect the new computer to Fa0/5 D. Configure a dynamic routing protocol on the router interface

You are connecting a new computer to Switch55. The new computer should be placed in the Accounting VLAN. You execute the show vlan command and get the following output: Examine the additional network diagram. What action should you take to place the new computer in the Accounting VLAN and allow for inter-VLAN routing? A. Connect the new computer to Fa0/1 B. Connect the new computer to Fa0/14 C. Connect the new computer to Fa0/5 D. Configure a dynamic routing protocol on the router interface

A. The IP address of Host A and the IP address of the Fa0/0 interface of Router A E. The IP address of the S 0/0 interface of Router A and the IP address of the S 0/0 G. The IP address of Host B and the IP address of the Fa0/0 interface of Router B The following pairs of connections are required to be in the same subnet: - the IP address of Host A and the IP address of the Fa0/0 interface of Router A - the IP address of the S 0/0 interface of Router A and the IP address of the S 0/0 interface of Router B the IP address of Host B and the IP address of the Fa0/0 interface of Router B When troubleshooting a correctly labeled network diagram for IP addressing problems, one must start on one end and trace each link in one direction, ensuring at each step that the interfaces are in the same subnet. A switch simply passes the packet to the router; therefore, the IP address of the switch is not important. It performs its job even if it has no IP address. Moving from Host A to Host B, however, the following links must be in the same subnet: The IP address of Host A and the IP address of the Fa0/0 interface of Router A The IP address of the S0/0 interface of Router A and the IP address of the S0/0 interface of Router B The IP address of Host B and the IP address of the Fa0/0 interface of Router B Neither of the switch addresses is important to the process. If all other routing issues are correct, it is also not required for Host A and Host B to be in the same subnet.

You have just finished configuring a small test network as part of his training. The network is configured as shown in the diagram below: When testing the configuration, you find that Host A in the diagram cannot ping Host B. Which of the following pairs of connections are required to be in the same subnet for Host A to be able to ping Host B? (Choose all that apply.) A. The IP address of Host A and the IP address of the Fa0/0 interface of Router A B. The IP address of the Fa0/0 interface of Router A and the IP address of the Fa0/0 interface of Router B C. The IP address of Host A and the IP address of the Fa0/0 interface of Router B D. The IP address of Host A and the IP address of Switch A E. The IP address of the S 0/0 interface of Router A and the IP address of the S 0/0 interface of Router B F. The IP address of Host A and the IP address of Host B G. The IP address of Host B and the IP address of the Fa0/0 interface of Router B


Related study sets

Chapter 43: Caring for Clients with Ear Disorders

View Set

OB: Chapter 22: Nursing Management of the Postpartum Woman at Risk

View Set

Final Review Questions for NR222 Health & Wellness

View Set

Embryology - Overview and Terminology/Fertilization

View Set

Chapter 1: A Brief History of Risk and Return

View Set