CCNA 2 (v5.0.3 + v6.0) Chapter 7 Exam Answers 2020 - 100% Full

CCNA 2 Switching, Routing & Wireless Essentials Original source

New Version:

How to find: Press "Ctrl + F" in your browser and type key terms to locate the specific exam item or explanation. If the item is not listed on this page, please search for it in our comprehensive IT Exam Items Repository.

1. In which configuration would an outbound ACL placement be preferred over an inbound ACL placement?

An outbound ACL should be utilized when the same ACL filtering rules will be applied to packets coming from more than one inbound interface before exiting a single outbound interface. The outbound ACL will be applied on the single outbound interface.

2. Which address is required in the command syntax of a standard ACL?

The only filter that can be applied with a standard ACL is the source IP address. An extended ACL can use multiple criteria to filter traffic, such as source IP address, destination IP address, type of traffic, and type of message.

3. Which statement describes a difference between the operation of inbound and outbound ACLs?

4. Which three statements describe ACL processing of packets? (Choose three.)

When a packet comes into a router that has an ACL configured on the interface, the router compares the condition of each ACE to determine if the defined criteria has been met. If met, the router takes the action defined in the ACE (allows the packet through or discards it). If the defined criteria has not been met, the router proceeds to the next ACE. An implicit deny any statement is at the end of every standard ACL.

5. What single access list statement matches all of the following networks?
192.168.16.0
192.168.17.0
192.168.18.0
192.168.19.0

The ACL statement access-list 10 permit 192.168.16.0 0.0.3.255 will match all four network prefixes. All four prefixes have the same 22 high order bits. These 22 high order bits are matched by the network prefix and wildcard mask of 192.168.16.0 0.0.3.255.

6. A network administrator needs to configure a standard ACL so that only the workstation of the administrator with the IP address 192.168.15.23 can access the virtual terminal of the main router. Which two configuration commands can achieve the task? (Choose two.)

To permit or deny one specific IP address, either the wildcard mask 0.0.0.0 (used after the IP address) or the wildcard mask keyword host (used before the IP address) can be used.

7. If a router has two interfaces and is routing both IPv4 and IPv6 traffic, how many ACLs could be created and applied to it?

In calculating how many ACLs can be configured, use the rule of "three Ps": one ACL per protocol, per direction, per interface. In this case, 2 interfaces x 2 protocols x 2 directions yields 8 possible ACLs.

8. Which three statements are generally considered to be best practices in the placement of ACLs? (Choose three.)

Extended ACLs should be placed as close as possible to the source IP address, so that traffic that needs to be filtered does not cross the network and use network resources. Because standard ACLs do not specify a destination address, they should be placed as close to the destination as possible. Placing a standard ACL close to the source may have the effect of filtering all traffic, and limiting services to other hosts. Filtering unwanted traffic before it enters low-bandwidth links preserves bandwidth and supports network functionality. Decisions on placing ACLs inbound or outbound are dependent on the requirements to be met.

9. Refer to the exhibit. Which command would be used in a standard ACL to allow only devices on the network attached to R2 G0/0 interface to access the networks attached to R1?

Standard access lists only filter on the source IP address. In the design, the packets would be coming from the 192.168.10.96/27 network (the R2 G0/0 network). The correct ACL is access-list 1 permit 192.168.10.96 0.0.0.31.

10. Refer to the exhibit. If the network administrator created a standard ACL that allows only devices that connect to the R2 G0/0 network access to the devices on the R1 G0/1 interface, how should the ACL be applied?

Because standard access lists only filter on the source IP address, they are commonly placed closest to the destination network. In this example, the source packets will be coming from the R2 G0/0 network. The destination is the R1 G0/1 network. The proper ACL placement is outbound on the R1 G0/1 interface.

11. Refer to the following output. What is the significance of the 4 match(es) statement?
R1#
10 permit 192.168.1.56 0.0.0.7
20 permit 192.168.1.64 0.0.0.63 (4 match(es))
30 deny any (8 match(es))

The show access-lists command shows how many packets have met the criteria for each ACE in terms of a specific number of "matches."

12. On which router should the show access-lists command be executed?

The show access-lists command is only relevant to traffic passing through the router on which the ACL is configured.

13. What is the quickest way to remove a single ACE from a named ACL?

Named ACL ACEs can be removed using the no command followed by the sequence number.

14. Which feature will require the use of a named standard ACL rather than a numbered standard ACL?

Standard ACLs (whether numbered or named) only filter on the source IP address. Having a named ACL makes it easier at times to identify the purpose as well as modify the ACL.

15. An administrator has configured an access list on R1 to allow SSH administrative access from host 172.16.1.100. Which command correctly applies the ACL?

Administrative access over SSH to the router is through the vty lines. Therefore, the ACL must be applied to those lines in the inbound direction. This is accomplished by entering line configuration mode and issuing the access-class command.

16. Which type of router connection can be secured by the access-class command?

Access to vty lines can be filtered with an ACL and applied using the access-class in command.

17. Consider the following output for an ACL that has been applied to a router via the access-class in command. What can a network administrator determine from the output that is shown?

Copy

R1# <output omitted>

Standard IP access list 2

10 permit 192.168.10.0, wildcard bits 0.0.0.255 (2 matches)

20 deny any (1 match)

The access-class command is used only on VTY ports. VTY ports support Telnet and/or SSH traffic. The match permit ACE is how many attempts were allowed using the VTY ports. The match deny ACE shows that a device from a network other than 192.168.10.0 was not allowed to access the router through the VTY ports.

18. Refer to the exhibit. A router has an existing ACL that permits all traffic from the 172.16.0.0 network. The administrator attempts to add a new ACE to the ACL that denies packets from host 172.16.0.1 and receives the error message that is shown in the exhibit. What action can the administrator take to block packets from host 172.16.0.1 while still permitting all other traffic from the 172.16.0.0 network?

Because the new deny ACE is a host address that falls within the existing 172.16.0.0 network that is permitted, the router rejects the command and displays an error message. For the new deny ACE to take effect, it must be manually configured by the administrator with a sequence number that is less than 10.

19. A network administrator issues the show vlan brief command while troubleshooting a user support ticket. What output will be displayed?

20. Refer to the exhibit. An ACL was configured on R1 with the intention of denying traffic from subnet 172.16.4.0/24 into subnet 172.16.3.0/24. All other traffic into subnet 172.16.3.0/24 should be permitted. This standard ACL was then applied outbound on interface Fa0/0. Which conclusion can be drawn from this configuration?​

Because of the implicit deny at the end of all ACLs, the access-list 1 permit any command must be included to ensure that only traffic from the 172.16.4.0/24 subnet is blocked and that all other traffic is allowed.​

21. Refer to the exhibit. What will happen to the access list 10 ACEs if the router is rebooted before any other commands are implemented?

After a reboot, access list entries will be renumbered to allow host statements to be listed first and thus more efficiently processed by the Cisco IOS.​

22. What is the effect of configuring an ACL with only ACEs that deny traffic?

Because there is a deny any ACE at the end of every standard ACL, the effect of having all deny statements is that all traffic will be denied regardless of the direction in which the ACL is applied.

23. Which type of ACL statements are commonly reordered by the Cisco IOS as the first ACEs?

ACEs are commonly reordered from the way they were entered by the network administrator. The ACEs that have host criteria such as in the statement permit host 192.168.10.5, are reordered as the first statements because they are the most specific (have the most number of bits that must match).

24. A network administrator is configuring an ACL to restrict access to certain servers in the data center. The intent is to apply the ACL to the interface connected to the data center LAN. What happens if the ACL is incorrectly applied to an interface in the inbound direction instead of the outbound direction?

Always test an ACL to ensure that it performs as it was designed. Applying an ACL that is applied using the ip access-group in command instead of using the ip access-group out command is not going to work as designed.

25. When would a network administrator use the clear access-list counters command?

The clear access-list counters command is used to reset all numbers relating to ACE match conditions that have been made within a particular ACE. The command is useful when troubleshooting an ACL that has recently been deployed.

26. Match each statement with the example subnet and wildcard that it describes. (Not all options are used.)


Place the options in the following order:
192.168.15.65 255.255.255.240 ==> the first valid host address in a subnet
192.168.15.144 0.0.0.15 ==> subnetwork address of a subnet with 14 valid host addreses
host 192.168.15.2 ==> all IP address bits must match exactly
192.168.5.0 0.0.3.255 ==> hosts in a subnet with SM 255.255.252.0
192.168.3.64 0.0.0.7 ==> address with a subnet 255.255.255.248

Converting the wildcard mask 0.0.3.255 to binary and subtracting it from 255.255.255.255 yields a subnet mask of 255.255.252.0.
Using the host parameter in a wildcard mask requires that all bits match the given address.
192.168.15.65 is the first valid host address in a subnetwork beginning with the subnetwork address 192.168.15.64. The subnet mask contains 4 host bits, yielding subnets with 16 addresses.
192.168.15.144 is a valid subnetwork address in a similar subnetwork. Change the wildcard mask 0.0.0.15 to binary and subtract it from 255.255.255.255, and the resulting subnet mask is 255.255.255.240.
192.168.3.64 is a subnetwork address in a subnet with 8 addresses. Convert 0.0.0.7 to binary and subtract it from 255.255.255.255, and the resulting subnet mask is 255.255.255.248. That mask contains 3 host bits, and yields 8 addresses.

Older Version:

27. What two tasks do dynamic routing protocols perform? (Choose two.)

Explanation: Routing protocols are responsible for discovering local and remote networks and for maintaining and updating the routing table.

28. What is a disadvantage of using dynamic routing protocols?

29. Which two statements are true regarding classless routing protocols? (Choose two.)

Explanation: Classless routing updates include subnet mask information and support VLSM.

30. An OSPF enabled router is processing learned routes to select best paths to reach a destination network. What is the OSPF algorithm evaluating as the metric?

31. After a network topology change occurs, which distance vector routing protocol can send an update message directly to a single neighboring router without unnecessarily notifying other routers?

32. What is the purpose of the passive-interface command?

Explanation: A passive interface does not send routing updates or hello packets; however, it is still advertised to other routers connected to nonpassive interfaces.

33. Refer to the exhibit. Based on the partial output from the show ip route command, what two facts can be determined about the RIP routing protocol? (Choose two.)

34. While configuring RIPv2 on an enterprise network, an engineer enters the command network 192.168.10.0 into router configuration mode.

35. Refer to the exhibit. A network administrator has issued the exhibited commands in an attempt to activate RIPng on interface gig0/0. What is causing the console message that is shown after RIP is enabled?

36. Refer to the exhibit. OSPF is used in the network. Which path will be chosen by OSPF to send data packets from Net A to Net B?

37. Which two events will trigger the sending of a link-state packet by a link-state routing protocol? (Choose two.)

38. Which two requirements are necessary before a router configured with a link-state routing protocol can build and send its link-state packets? (Choose two.)

39. When does a link-state router send LSPs to its neighbors?

40. Which routing protocol uses link-state information to build a map of the topology for computing the best path to each destination network?

41. A destination route in the routing table is indicated with a code D. Which kind of route entry is this?

42. Refer to the exhibit. Which interface will be the exit interface to forward a data packet with the destination IP address 172.16.0.66?

43. Which two requirements are used to determine if a route can be considered as an ultimate route in a router’s routing table? (Choose two.)

44. Which route is the best match for a packet entering a router with a destination address of 10.16.0.2?

45. Which type of route will require a router to perform a recursive lookup?

46. A router is configured to participate in multiple routing protocol: RIP, EIGRP, and OSPF. The router must send a packet to network 192.168.14.0. Which route will be used to forward the traffic?

47. Fill in the blank. Do not abbreviate.
When configuring RIPng, the default-information originate command instructs the router to propagate a static default route.​

48. Match the features of link-state routing protocols to their advantages and disadvantages. (Not all options are used.)

Question

Answer

49. Match the characteristic to the corresponding type of routing. (Not all options are used.)

Explanation: Both static and dynamic routing could be used when more than one router is involved. Dynamic routing is when a routing protocol is used. Static routing is when every remote route is entered manually by an administrator into every router in the network topology.

50. Which two statements describe the OSPF routing protocol? (Choose two.)

Explanation: The metric of OSPF is cost, which is based on the cumulative bandwidth of the links to the destination network.

51. What two actions result from entering the network 192.168.1.0 command in RIP configuration mode on a router? (Choose two.)

52. Which dynamic routing protocol was developed as an exterior gateway protocol to interconnect different Internet providers?

53. In the context of routing protocols, what is a definition for time to convergence?

54. A destination route in the routing table is indicated witha code D. Which kind of route entry is this?

55. Match the router protocol to the corresponding category. (Not all options are used.)

Distance vector
RIOv2
EIGRP****Link state
OSPF
IS-IS

56. Which route is the best match for a packet entering a router with a destination address of 10.16.0.2?

57. What is different between IPv6 routing table entries compared to IPv4 routing table entries?

58. Which route will a router use to forward an IPv4 packet after examining its routing table for the best match with the destination address?

← All CCNA 2 articles Home