ACL Flashcards
(120 cards)
What is the primary purpose of an Access Control List (ACL)?
A) To encrypt network traffic
B) To filter traffic based on defined rules
C) To assign IP addresses dynamically
D) To establish VPN tunnels
Answer: B) To filter traffic based on defined rules
Which of the following are types of ACLs in Cisco devices? (Choose two)
A) Standard ACL
B) Dynamic ACL
C) Transparent ACL
D) Named ACL
Answer: A) Standard ACL and D) Named ACL
Standard ACLs filter traffic based on:
A) Source and destination IP addresses
B) Source IP address only
C) Destination IP address only
D) Port numbers
Answer: B) Source IP address only
Extended ACLs filter traffic based on:
A) Only source IP address
B) Source IP, destination IP, protocol, and port numbers
C) Only destination IP address
D) MAC addresses
Answer: B) Source IP, destination IP, protocol, and port numbers
Where should a Standard ACL be placed for optimal performance?
A) Close to the destination
B) Close to the source
C) On a core switch
D) On a wireless controller
Answer: A) Close to the destination
Where should an Extended ACL be placed for optimal performance?
A) Close to the source
B) Close to the destination
C) On a DNS server
D) On a DHCP server
Answer: A) Close to the source
What is the range of numbered Standard ACLs?
A) 1–99 and 1300–1999
B) 100–199 and 2000–2699
C) 500–599
D) 800–899
Answer: A) 1–99 and 1300–1999
What is the range of numbered Extended ACLs?
A) 1–99
B) 100–199 and 2000–2699
C) 500–599
D) 800–899
Answer: B) 100–199 and 2000–2699
Which command creates a Standard numbered ACL to deny traffic from 192.168.1.0/24?
A) access-list 10 permit 192.168.1.0 0.0.0.255
B) access-list 10 deny 192.168.1.0 255.255.255.0
C) access-list 10 deny 192.168.1.0 0.0.0.255
D) access-list 100 deny ip 192.168.1.0 0.0.0.255
Answer: C) access-list 10 deny 192.168.1.0 0.0.0.255
What does the wildcard mask 0.0.0.255 represent?
A) A single host
B) The first 24 bits must match
C) Any IP address
D) Only the last 8 bits can vary
Answer: D) Only the last 8 bits can vary
Which command applies an ACL to an interface?
A) ip access-group 10 in
B) access-class 10 in
C) apply access-list 10 inbound
D) enable acl 10
Answer: A) ip access-group 10 in
What is the default action of an ACL if no match is found?
A) Permit all
B) Deny all
C) Log traffic
D) Ask for user input
Answer: B) Deny all (implicit deny)`
Which command verifies ACL configuration?
A) show access-list
B) show ip interface
C) show running-config
D) All of the above
Answer: D) All of the above
What is the correct sequence of ACL processing?
A) Top-down, first match applies
B) Bottom-up, last match applies
C) Random order
D) Parallel processing
Answer: A) Top-down, first match applies
How do you remove an ACL from an interface?
A) no ip access-group 10 in
B) disable access-list 10
C) clear access-list 10
D) remove acl 10
Answer: A) no ip access-group 10 in
Which command creates a named Extended ACL?
A) ip access-list extended MY_ACL
B) access-list named MY_ACL extended
C) create acl MY_ACL extended
D) named-acl MY_ACL extended
Answer: A) ip access-list extended MY_ACL
What happens if you edit an existing ACL?
A) New entries are appended at the bottom
B) The entire ACL is replaced
C) Entries can be inserted at specific positions
D) Both A and C
Answer: D) Both A and C (depends on editing method)`
Which command blocks Telnet traffic from 10.1.1.1 to 192.168.1.1?
A) access-list 100 deny tcp host 10.1.1.1 host 192.168.1.1 eq 23
B) access-list 100 deny udp 10.1.1.1 192.168.1.1 eq telnet
C) access-list 100 deny tcp 10.1.1.1 0.0.0.0 192.168.1.1 0.0.0.0 eq 80
D) access-list 100 permit ip any any
Answer: A) access-list 100 deny tcp host 10.1.1.1 host 192.168.1.1 eq 23
Which wildcard mask matches any IP address?
A) 0.0.0.0
B) 255.255.255.255
C) 0.0.0.255
D) 255.255.255.0
Answer: B) 255.255.255.255 (equivalent to any)
What does host 192.168.1.1 represent in an ACL?
A) A network range
B) A single host
C) A broadcast address
D) A multicast group
Answer: B) A single host
What is a Reflexive ACL?
A) An ACL that filters based on MAC addresses
B) An ACL that dynamically permits return traffic for established sessions
C) An ACL that only works on IPv6
D) An ACL that requires authentication
Answer: B) An ACL that dynamically permits return traffic for established sessions
Which ACL type can filter traffic based on time ranges?
A) Standard ACL
B) Dynamic ACL
C) Time-based ACL
D) Reflexive ACL
Answer: C) Time-based ACL
What is the purpose of the established keyword in an Extended ACL?
A) Allows only responses to initiated TCP sessions
B) Blocks all TCP traffic
C) Permits any UDP traffic
D) Enables logging for ACL matches
Answer: A) Allows only responses to initiated TCP sessions
Which command defines a time range for a Time-based ACL?
A) time-range WORK_HOURS
B) acl-time WORK_HOURS
C) set time WORK_HOURS
D) define time WORK_HOURS
Answer: A) time-range WORK_HOURS