Routing and Switching MCQs with Answers
Practice important Routing and Switching MCQs with answers and explanations.
Chapter: 120
Q1421:
To apply an ACL to an interface, you must consider whether the traffic is _______.
A. coming in or going out
B. secure or insecure
C. internal or external
D. from the Internet or LAN
Correct Answer:
A
Chapter: 120
Q1422:
What is the command used to verify a named extended ACL?
A. show access-lists name
B. show running-config
C. show interfaces
D. show ip access-lists
Correct Answer:
A
Chapter: 120
Q1423:
To restrict 192.168.10.0 network access to allow only website browsing, you would use ACLs configured to deny _______ and permit _______.
A. Telnet; everything else
B. FTP; all traffic
C. SSH; only websites
D. HTTP; secure sites
Correct Answer:
A
Chapter: 120
Q1424:
What should you do to save the ACL entries in the configuration file?
A. Use the copy running-config startup-config command
B. Use the save configuration command
C. Use the write memory command
D. Use the save acl command
Correct Answer:
A
Chapter: 120
Q1425:
How are the conditions for permitting or denying specified in a named extended ACL?
A. In named ACL configuration mode
B. In global configuration mode
C. In privileged EXEC mode
D. Using the show access-lists command
Correct Answer:
A
Chapter: 120
Q1426:
To remove an ACL from an interface, which command is used first?
A. no ip access-group
B. show running-config
C. no ip access-list extended name
D. ip access-group
Correct Answer:
A
Chapter: 120
Q1427:
For which traffic direction is the ACL applied to the G0/0 interface in the given example?
A. Both inbound and outbound
B. Only outbound
C. Only inbound
D. Neither
Correct Answer:
A
Chapter: 120
Q1428:
What does an extended ACL typically check for in a configuration?
A. Type of traffic
B. Routing protocols
C. Interface status
D. Security policies
Correct Answer:
A
Chapter: 121
Q1429:
What command is used to configure an extended numbered ACL?
A. ip access-list extended
B. access-list extended
C. ip access-list standard
D. access-list standard
Correct Answer:
A
Chapter: 121
Q1430:
To apply an extended ACL to an interface, which direction should be specified?
A. in or out
B. secure or insecure
C. internal or external
D. local or remote
Correct Answer:
A
Chapter: 121
Q1431:
When verifying an extended ACL, which command shows the details of ACL configuration?
A. show access-lists
B. show ip access-lists
C. show running-config
D. show interfaces
Correct Answer:
B
Chapter: 121
Q1432:
To restrict traffic from a specific source IP address while allowing other traffic, you would use a _______ ACL.
A. extended
B. standard
C. named
D. simple
Correct Answer:
A
Chapter: 121
Q1433:
What should you do first to verify an extended ACL configuration?
A. Use the show access-lists command
B. Check the ACL entries in global configuration mode
C. Apply the ACL to the interface
D. Save the ACL configuration
Correct Answer:
A
Chapter: 121
Q1434:
Fill in the blank: To apply an extended ACL to an interface, use the _______ command with the direction of traffic.
A. ip access-group
B. access-list
C. ip access-list
D. show access-lists
Correct Answer:
A
Chapter: 121
Q1435:
To verify that an extended ACL is working as intended, which command would you use to check for traffic matches?
A. show access-lists
B. show ip access-lists
C. show ip interface
D. show running-config
Correct Answer:
B
Chapter: 121
Q1436:
When configuring extended ACLs, the ACL number must be between _______ and _______ or between _______ and _______.
A. 1-99; 1000-1999
B. 100-199; 2000-2699
C. 200-299; 3000-3699
D. 300-399; 4000-4699
Correct Answer:
B
Chapter: 121
Q1437:
Which command is used to check the ACL configuration on an interface?
A. show ip access-lists
B. show interfaces
C. show running-config
D. show access-lists
Correct Answer:
B
Chapter: 122
Q1438:
What is the purpose of configuring extended ACLs in Packet Tracer?
A. To filter traffic based on IP addresses and protocols
B. To set up routing protocols
C. To configure VLANs
D. To manage NAT settings
Correct Answer:
A
Chapter: 122
Q1439:
When applying an extended ACL, which direction specifies traffic entering the router?
A. in
B. out
C. both
D. none
Correct Answer:
A
Chapter: 122
Q1440:
To deny traffic from a specific IP address while allowing all other traffic, you would use a _______ statement in an extended ACL.
A. deny
B. permit
C. log
D. route
Correct Answer:
A