Bộ đề học CCNA (mock), câu 13
When a site-to-site VPN is used, which protocol is responsible for the transport of user data?
Đáp án: C
IKE chỉ dùng để thương lượng khóa và lập SA. Dữ liệu người dùng được IPsec (ESP hoặc AH) đóng gói và bảo vệ.
41 câu luyện tập chủ đề Security trong bộ 200-301 Cisco CCNA (bộ đề học, mock exam), mỗi câu có đáp án và giải thích.
Đây là bộ đề học (mock exam) do người dùng gửi, không phải đề thi thật của Cisco. RoutingBit giữ câu hỏi, kiểm tra lại từng đáp án, viết giải thích và vẽ lại hình. Câu nào đáp án gốc sai đều có ghi chú. Thấy chỗ chưa đúng thì bấm Báo lỗi.
Bộ đề học CCNA (mock), câu 13
When a site-to-site VPN is used, which protocol is responsible for the transport of user data?
Đáp án: C
IKE chỉ dùng để thương lượng khóa và lập SA. Dữ liệu người dùng được IPsec (ESP hoặc AH) đóng gói và bảo vệ.
Bộ đề học CCNA (mock), câu 14
Which configuration is needed to generate an RSA key for SSH on a router?
Đáp án: D
Lệnh crypto key generate rsa cần hostname khác mặc định và ip domain-name vì tên khóa ghép từ hai giá trị này.
Bộ đề học CCNA (mock), câu 16
Which two must be met before SSH can operate normally on a Cisco IOS switch? (Choose two)
Đáp án: A, B
SSH cần IOS có tính năng mã hóa (bản k9) và cần ip domain-name để sinh khóa RSA. Không bắt buộc bật IP routing hay tắt Telnet.
Bộ đề học CCNA (mock), câu 18
Which two protocols must be disabled to increase security for management connections to a Wireless LAN Controller? (Choose two)
Đáp án: A, C
Telnet và HTTP gửi thông tin đăng nhập dạng rõ, nên tắt để chỉ quản lý WLC qua SSH và HTTPS.
Bộ đề học CCNA (mock), câu 34
Which security program element involves installing badge readers on data-center doors to allow workers to enter and exit based on their job roles?
Đáp án: A
Đầu đọc thẻ trên cửa trung tâm dữ liệu là kiểm soát truy cập vật lý.
Bộ đề học CCNA (mock), câu 36
An organization secures its network with multi-factor authentication using an authenticator app on employee smartphones. How is the application secured in the case of a user's smartphone being lost or stolen?
Đáp án: C
Ứng dụng xác thực yêu cầu PIN (hoặc sinh trắc học) trước khi đưa mã yếu tố thứ hai, nên kẻ nhặt được điện thoại không dùng được ngay.
Bộ đề học CCNA (mock), câu 41
Refer to the exhibit. A network administrator has been tasked with securing VTY access to a router. Which access-list entry accomplishes this task?
access-list 101 permit ospf any any
access-list 101 permit tcp any any eq 179
access-list 101 permit tcp any eq 179 any
access-list 101 permit gre any any
access-list 101 permit esp any any
access-list 101 deny ospf any any
access-list 101 permit tcp 10.1.1.0 0.0.0.255 172.16.1.0 0.0.0.255 eq telnet
access-list 101 permit udp 10.1.1.0 0.0.0.255 172.16.1.0 0.0.0.255 eq 500
access-list 101 permit udp 10.1.1.0 0.0.0.255 172.16.1.0 0.0.0.255 eq 4500
access-list 101 deny ip any any log
interface Ethernet0/0
ip address 10.1.1.25 255.255.255.0
ip access-group 101 in
Đáp án: A
Trong các phương án, chỉ A cho phép quản trị từ xa bằng SSH (giao thức mã hóa) từ một mạng xác định. Telnet và HTTPS không phải cách bảo vệ VTY, SCP không phải giao thức đăng nhập.
Bộ đề học CCNA (mock), câu 46
Refer to the exhibit. An administrator configures four switches for local authentication using passwords that are stored in a cryptographic hash. The four switches must also support SSH access for administrators to manage the network infrastructure. Which switch is configured correctly to meet these requirements?
SW1(config-line)#line vty 0 15
SW1(config-line)#no login local
SW1(config-line)#password cisco
SW2(config)#username admin1 password abcd1234
SW2(config)#username admin2 password abcd1234
SW2(config-line)#line vty 0 15
SW2(config-line)#login local
SW3(config)#username admin1 secret abcd1234
SW3(config)#username admin2 secret abcd1234
SW3(config-line)#line vty 0 15
SW3(config-line)#login local
SW4(config)#username admin1 secret abcd1234
SW4(config)#username admin2 secret abcd1234
SW4(config-line)#line console 0
SW4(config-line)#login local
Đáp án: C
SW3 dùng username ... secret (mật khẩu được băm) và login local trên line vty 0 15. SW2 lưu mật khẩu dạng rõ, SW4 chỉ áp cho console, SW1 không dùng tài khoản cục bộ.
Bộ đề học CCNA (mock), câu 51
Refer to the exhibit. An engineer booted a new switch and applied this configuration via the console port. Which additional configuration must be applied to allow administrators to authenticate directly to enable privilege mode via Telnet using local username and password?
Switch(config)#hostname R1
R1(config)#interface FastEthernet0/1
R1(config-if)#no switchport
R1(config-if)#ip address 10.100.20.42 255.255.255.0
R1(config-if)#line vty 0 4
R1(config-line)#login
Đáp án: D
Muốn đăng nhập Telnet bằng tài khoản cục bộ và vào thẳng privileged mode, cần tạo user có privilege 15 và đặt login local trên line vty.
Bộ đề học CCNA (mock), câu 61
A network administrator enabled port security on a switch interface connected to a printer. What is the next configuration action in order to allow the port to learn the MAC address of the printer and insert it into the table automatically?
Đáp án: C
Sticky MAC cho cổng port security tự học MAC đang kết nối và ghi vào running-config.
Bộ đề học CCNA (mock), câu 69
While examining excessive traffic on the network, it is noted that all incoming packets on an interface appear to be allowed even though an IPv4 ACL is applied to the interface. Which two misconfigurations cause this behavior? (Choose two)
Đáp án: B, C
ACL xét từ trên xuống, dừng ở dòng khớp đầu tiên. Dòng permit quá rộng hoặc nằm quá cao sẽ cho gói đi qua trước khi tới dòng deny.
Bộ đề học CCNA (mock), câu 74
Refer to the exhibit. What is the effect of this configuration? ip arp inspection vlan 2
Đáp án: A
Bật DAI cho VLAN 2 thì mọi cổng trong VLAN mặc định là untrusted, ARP trên cổng đó bị kiểm tra với bảng DHCP snooping.
Bộ đề học CCNA (mock), câu 90
What is the primary difference between AAA authentication and authorization?
Đáp án: C
Authentication xác định và xác minh người dùng là ai, authorization quyết định người đó được làm gì.
Bộ đề học CCNA (mock), câu 91
Which function is performed by DHCP snooping?
Đáp án: A
DHCP snooping lọc bản tin DHCP từ cổng untrusted và có thể giới hạn tốc độ DHCP trên cổng (ip dhcp snooping limit rate) để chống tấn công cạn kiệt.
Bộ đề học CCNA (mock), câu 93
Where does a switch maintain DHCP snooping information?
Đáp án: C
DHCP snooping lưu ánh xạ MAC, IP, VLAN, cổng trong DHCP snooping binding database.
Bộ đề học CCNA (mock), câu 101
What is a difference between RADIUS and TACACS+?
Đáp án: C
TACACS+ tách riêng authentication, authorization, accounting và mã hóa toàn bộ payload. RADIUS gộp authentication với authorization và chỉ mã hóa mật khẩu.
Bộ đề học CCNA (mock), câu 102
How do AAA operations compare regarding user identification, user services and access control?
Đáp án: B
Authentication xác định người dùng, authorization kiểm soát quyền truy cập, accounting ghi lại người dùng đã dùng dịch vụ gì. Trong các phương án chỉ B ghép đúng hai vai trò.
Bộ đề học CCNA (mock), câu 105
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 web server. Which configuration when applied to switch A accomplishes this task?
Đáp án: B
ACL mở rộng chặn HTTP tới 10.30.0.100 rồi permit ip any any cho lưu lượng khác, áp chiều in trên interface VLAN 20. Thiếu dòng permit thì chặn luôn mọi lưu lượng của VLAN 20.
Bộ đề học CCNA (mock), câu 117
What are two recommendations for protecting network ports from being exploited when located in an office space outside of an IT closet? (Choose two)
Đáp án: A, C
Cổng mạng ở nơi công cộng nên tắt khi không dùng và bật xác thực theo cổng (802.1X) để chặn thiết bị lạ.
Bộ đề học CCNA (mock), câu 120
Which technology can prevent client devices from arbitrarily connecting to the network without state remediation?
Đáp án: C
802.1X (thường kèm NAC) yêu cầu thiết bị xác thực và đạt chính sách trước khi được vào mạng.
Bộ đề học CCNA (mock), câu 131
Refer to the exhibit. An access list is created to deny Telnet access from host PC-1 to RTR-1 and allow access from all other hosts. A Telnet attempt from PC-2 gives this message: "% Connection refused by remote host." Without allowing Telnet access from PC-1; which action must be taken to permit the traffic?
hostname RTR-1
!
interface GigabitEthernet0/0
ip address 10.150.1.254 255.255.255.0
duplex auto
speed auto
!
access-list 10 deny host 10.150.1.1
!
line con 0
password 7 0822455D0A16
login
!
line vty 0 4
access-class 10 in
password 7 0822455D0A16
login
!
end
Đáp án: A
ACL chuẩn chỉ có dòng deny nên dòng deny ngầm ở cuối chặn luôn PC-2. Thêm access-list 10 permit any thì mọi máy khác vào được, PC-1 vẫn bị chặn. Gỡ access-class (đáp án gốc) sẽ cho cả PC-1 vào, trái yêu cầu.
Ghi chú về đáp án: đề gốc chấm B. RoutingBit chọn A.
Bộ đề học CCNA (mock), câu 142
Which type of traffic is sent with pure IPsec?
Đáp án: D
IPsec thuần chỉ mang unicast. Muốn mang multicast, broadcast cần GRE over IPsec.
Bộ đề học CCNA (mock), câu 146
Which set of action satisfy the requirement for multifactor authentication?
Đáp án: B
Multifactor cần các yếu tố khác loại: thứ bạn biết (mật khẩu) và thứ bạn có (điện thoại nhận thông báo).
Bộ đề học CCNA (mock), câu 147
The service password-encryption command is entered on a router. What is the effect of this configuration?
Đáp án: A
service password-encryption mã hóa yếu (type 7) các mật khẩu dạng rõ trong cấu hình để người xem cấu hình không đọc được ngay.
Bộ đề học CCNA (mock), câu 155
Refer to the exhibit. What is the effect of this configuration?
ip arp inspection vlan 5-10
interface fastethernet 0/1
switchport mode access
switchport access vlan 5
Đáp án: D
DAI bật cho VLAN 5 đến 10, cổng Fa0/1 mặc định untrusted. Switch kiểm tra ARP vào cổng với bảng DHCP snooping và bỏ ARP có ánh xạ MAC, IP không hợp lệ.
Bộ đề học CCNA (mock), câu 158
How are VLAN hopping attacks mitigated?
Đáp án: A
Chống VLAN hopping bằng cách cấu hình trunk thủ công và tắt DTP (switchport nonegotiate), đổi native VLAN khỏi VLAN 1.
Bộ đề học CCNA (mock), câu 169
A port security violation has occurred on a switch port due to the maximum MAC address count being exceeded. Which command must be configured to increment the security-violation count and forward an SNMP trap?
Đáp án: B
Chế độ restrict bỏ frame vi phạm, tăng bộ đếm vi phạm và gửi SNMP trap, cổng vẫn up. Protect chỉ bỏ frame, shutdown thì đưa cổng về err-disabled.
Bộ đề học CCNA (mock), câu 176
Refer to the exhibit. What configuration on R1 denies SSH access from PC-1 to any R1 interface and allows all other traffic?
Đáp án: A
ACL mở rộng chặn TCP 22 (SSH) từ host 172.16.1.33 tới mọi địa chỉ, cho phép phần còn lại, và áp chiều in trên G0/0 nên chặn SSH tới mọi interface của R1. Phương án B chưa áp ACL, C và D chặn cổng 23 (Telnet).
Bộ đề học CCNA (mock), câu 186
A network administrator is asked to configure VLANs 2, 3 and 4 for a new implementation. Some ports must be assigned to the new VLANs with unused remaining. Which action should be taken for the unused ports?
Đáp án: B
Cổng không dùng nên đưa vào một VLAN "hố đen" không nối đi đâu (và shutdown) để tránh bị lợi dụng.
Bộ đề học CCNA (mock), câu 188
In which two ways does a password manager reduce the chance of a hacker stealing a user's password? (Choose two)
Đáp án: C, E
Trình quản lý mật khẩu tự điền nên chống được keylogger và giúp dùng mật khẩu mạnh, khác nhau cho từng trang.
Bộ đề học CCNA (mock), câu 189
What mechanism carries multicast traffic between remote sites and supports encryption?
Đáp án: B
GRE mang được multicast nhưng không mã hóa. Bọc GRE trong IPsec thì có cả hai.
Bộ đề học CCNA (mock), câu 192
What is the role of a firewall in an enterprise network?
Đáp án: A
Firewall quyết định gói nào được đi từ vùng kém tin cậy vào vùng tin cậy.
Bộ đề học CCNA (mock), câu 197
Which device permits or denies network traffic based on a set of rules?
Đáp án: C
Firewall cho phép hoặc chặn lưu lượng theo tập luật.
Bộ đề học CCNA (mock), câu 206
What is a function of a remote access VPN?
Đáp án: B
Remote access VPN cho người dùng từ xa vào tài nguyên nội bộ qua tunnel an toàn. Kết nối giữa hai chi nhánh là site-to-site VPN.
Bộ đề học CCNA (mock), câu 214
Refer to the exhibit. If the network environment is operating normally, which type of device must be connected to interface FastEthernet 0/1?
ip arp inspection vlan 2-10
interface fastethernet 0/1
ip arp inspection trust
Đáp án: C
Cổng tin cậy của DAI thường là cổng uplink nối router hoặc switch khác. Đáp án của đề chọn router.
Bộ đề học CCNA (mock), câu 215
What does physical access control regulate?
Đáp án: D
Kiểm soát truy cập vật lý quản lý việc ra vào phòng máy và tiếp cận thiết bị mạng.
Bộ đề học CCNA (mock), câu 224
How does the dynamically-learned MAC address feature function?
Đáp án: D
Với MAC học động của port security, bảng địa chỉ của cổng rỗng cho tới khi có lưu lượng đi vào cổng, switch học MAC nguồn từ đó.
Bộ đề học CCNA (mock), câu 226
Which access layer threat-mitigation technique provides security based on identity?
Đáp án: D
802.1X xác thực theo danh tính người dùng hoặc thiết bị trước khi cho vào mạng.
Bộ đề học CCNA (mock), câu 233
Refer to the exhibit.A network administrator must permit SSH access to remotely manage routers in a network. The operations team resides on the 10.20.1.0/25 network. Which command will accomplish this task?
interface GigabitEthernet0/1
ip address 192.168.1.2 255.255.255.0
ip access-group 2699 in
!
access-list 2699 deny icmp any 10.10.1.0 0.0.0.255 echo
access-list 2699 deny ip any 10.20.1.0 0.0.0.255
access-list 2699 permit ip any 10.10.1.0 0.0.0.255
access-list 2699 permit tcp any 10.20.1.0 0.0.0.127 eq 22
Đáp án: D
Dòng deny ip any 10.20.1.0 0.0.0.255 nằm trên dòng permit SSH nên chặn hết. Đáp án của đề là xóa dòng deny đó. Lưu ý trên IOS, no access-list 2699 ... với ACL đánh số sẽ xóa cả ACL. Thực tế nên dùng chế độ ip access-list extended 2699 rồi no <số thứ tự dòng>.
Bộ đề học CCNA (mock), câu 241
Refer to the exhibit. An access list is required to permit traffic from any host on interface G0/0 and deny traffic from interface Gi0/1. Which access list must be applied?
Phương án A: ip access-list standard 99, permit 10.100.100.0 0.0.0.255, deny 192.168.0.0 0.0.255.255
Phương án B: ip access-list standard 99, permit 10.100.100.0 0.0.0.255, deny 192.168.0.0 0.255.255.255
Phương án C: ip access-list standard 199, permit 10.100.100.0 0.0.0.255, deny 192.168.0.0 0.255.255.255
Phương án D: ip access-list standard 199, permit 10.100.100.0 0.0.0.255, deny 192.168.0.0 0.0.255.255
Đáp án: A
ACL chuẩn đánh số phải nằm trong dải 1 đến 99 (hoặc 1300 đến 1999), nên 199 không hợp lệ. Wildcard đúng cho /16 là 0.0.255.255.
Bộ đề học CCNA (mock), câu 243
What is a network appliance that checks the state of a packet to determine whether the packet is legitimate?
Đáp án: A
Firewall stateful theo dõi trạng thái kết nối để xác định gói có hợp lệ không.