Blog

MCQs

Disclaimer:

Educational Use Only:

The website links provided are to be used strictly for educational and knowledge-gaining purposes only.

No Misuse:

Do not misuse the links or the information contained therein for any commercial, illegal, or unethical activities.

Respect for Websites and Businesses:

Respect the intellectual property and business interests of the websites and their owners. Do not attempt to alter, copy, or redistribute content without proper authorization.

Acknowledge Value of Knowledge:

Recognize and value the knowledge and resources shared by these websites. Use the information responsibly and ethically.

No Endorsement:

The provision of these links does not imply endorsement of the linked sites, their content, or their products and services. Users are responsible for evaluating the suitability and accuracy of the information.

User Responsibility:

By accessing these links, you agree to use the information at your own risk and to comply with all applicable laws and website terms of use.


  1. Which OSI layer do Layer 2 attacks primarily target?
    a. Network layer
    b. Data link layer
    c. Physical layer
    d. Application layer
    Answer: bcodecademy​
  2. What is the main goal of a Layer 2 attack?
    a. Disrupt internet routing tables
    b. Compromise data link communication
    c. Bypass firewalls
    d. Encrypt databases
    Answer: bcodecademy​
  3. What does MAC stand for in networking?
    a. Media Access Control
    b. Machine Address Code
    c. Main Address Connection
    d. Media Allocation Control
    Answer: acodecademy​
  4. What does an attacker spoof in MAC spoofing?
    a. IP addresses
    b. MAC addresses
    c. Hostnames
    d. VLAN IDs
    Answer: bcodecademy​
  5. What data structure is manipulated during a MAC flooding attack?
    a. ACL table
    b. Routing table
    c. CAM table
    d. VLAN table
    Answer: cinfosecwriteups​
  6. What is the effect of a MAC flooding attack on a switch?
    a. The switch reboots
    b. The switch starts broadcasting frames
    c. The switch shuts down
    d. The switch encrypts traffic
    Answer: binfosecwriteups​
  7. What attack uses two 802.1Q tags to exploit VLAN segmentation?
    a. STP attack
    b. VLAN hopping
    c. DHCP spoofing
    d. MAC flooding
    Answer: binfosecwriteups​
  8. Which protocol is exploited in ARP poisoning?
    a. ICMP
    b. ARP
    c. TCP
    d. DNS
    Answer: bcodecademy​
  9. What happens in ARP poisoning?
    a. Attackers block DHCP leases
    b. Attackers map IPs to fake MACs
    c. Attackers disable ARP caches
    d. Attackers encrypt traffic
    Answer: bcodecademy​
  10. Which command helps in preventing ARP spoofing on Cisco switches?
    a. IP snooping enable
    b. Dynamic ARP inspection
    c. Port mirroring
    d. MAC binding disable
    Answer: bscribd​
  11. What memory type stores learned MAC addresses on switches?
    a. Flash memory
    b. CAM
    c. ROM
    d. Buffer cache
    Answer: binfosecwriteups​
  12. Which protocol assigns IP addresses but can be exploited in DHCP starvation?
    a. DNS
    b. DHCP
    c. ARP
    d. ICMP
    Answer: badex​
  13. What is the effect of DHCP starvation?
    a. Disables ARP table updates
    b. Exhausts DHCP pool
    c. Deletes IP routes
    d. Floods VLAN tags
    Answer: badex​
  14. Which security feature prevents DHCP starvation?
    a. DHCP snooping
    b. ARP inspection
    c. VLAN pruning
    d. Port mirroring
    Answer: aorhanergun​
  15. What does a rogue DHCP server do?
    a. Blocks DNS resolution
    b. Assigns fake IP configurations
    c. Floods ARP requests
    d. Alters VLAN tags
    Answer: badex​
  16. Which Cisco feature limits the number of MAC addresses per port?
    a. Port security
    b. VLAN pruning
    c. Spanning Tree Protocol
    d. DHCP snooping
    Answer: aslideshare​
  17. Which Layer 2 attack modifies BPDU messages in STP?
    a. MAC flooding
    b. STP manipulation
    c. ARP poisoning
    d. VLAN hopping
    Answer: bcisco​
  18. What is the main vulnerability exploited by VLAN hopping?
    a. IP tunneling
    b. VLAN tagging
    c. DNS caching
    d. NAT overload
    Answer: binfosecwriteups​
  19. What is the common mitigation for VLAN hopping?
    a. Disable DTP
    b. Enable ARP cache
    c. Use ICMP filtering
    d. Disable OSPF
    Answer: ascribd​
  20. What does DTP stand for?
    a. Dynamic Trunking Protocol
    b. Data Transmission Protocol
    c. Dynamic Transmission Priority
    d. Device Tunnel Protection
    Answer: aslideshare​
  21. What happens to packets during a double-tagging VLAN attack?
    a. They bypass the router
    b. They pass through VLAN boundaries
    c. They are encrypted
    d. They are dropped
    Answer: binfosecwriteups​
  22. What kind of attack sends fake BPDU messages to change the root bridge?
    a. ARP spoofing
    b. STP attack
    c. DHCP spoofing
    d. VLAN hopping
    Answer: bcisco​
  23. What type of spoofing disguises an attacker as a trusted DHCP server?
    a. DHCP spoofing
    b. IP spoofing
    c. MAC spoofing
    d. Domain spoofing
    Answer: aadex​
  24. What can dynamic ARP inspection prevent?
    a. ARP table poisoning
    b. VLAN tunneling
    c. MAC flooding
    d. DNS hijacking
    Answer: ascribd​
  25. Which feature maintains mappings of legitimate DHCP clients?
    a. DHCP Snooping
    b. Port mirroring
    c. VLAN tagging
    d. STP inspection
    Answer: aorhanergun​
  26. Which packet type is manipulated in ARP spoofing?
    a. Ethernet frames
    b. IP datagrams
    c. ARP requests and replies
    d. ICMP pings
    Answer: ccodecademy​
  27. What attack floods a network with fake MAC addresses?
    a. MAC flooding
    b. DNS poisoning
    c. IP spoofing
    d. ARP cache attack
    Answer: ainfosecwriteups​
  28. Which switch memory table becomes full during a MAC flooding attack?
    a. Routing table
    b. CAM table
    c. DHCP table
    d. Spanning tree table
    Answer: binfosecwriteups​
  29. What happens when the CAM table is full?
    a. Devices disconnect
    b. Frames are broadcasted
    c. VLANs are deleted
    d. Switch shuts down
    Answer: binfosecwriteups​
  30. Which of these mitigates MAC flooding?
    a. Port security
    b. VLAN trunking
    c. DNS filtering
    d. Proxy server
    Answer: aslideshare​
  31. What does DHCP snooping create to track client bindings?
    a. ARP log
    b. Snooping database
    c. VLAN list
    d. MAC index
    Answer: badex​
  32. Which attack manipulates ARP tables to intercept traffic?
    a. ARP poisoning
    b. VLAN hopping
    c. DNS spoofing
    d. STP manipulation
    Answer: acodecademy​
  33. Which Layer 2 protocol is used to detect loops?
    a. OSPF
    b. STP
    c. BGP
    d. DHCP
    Answer: bcisco​
  34. How can an attacker manipulate STP?
    a. Fake BPDU frames
    b. DNS modifications
    c. VLAN tunneling
    d. DHCP exhaustion
    Answer: acisco​
  35. What feature blocks unknown devices from connecting on Cisco switches?
    a. Port security
    b. ARP snooping
    c. VLAN masking
    d. UDP filtering
    Answer: aslideshare​
  36. What is the function of private VLANs?
    a. Isolate hosts within the same VLAN
    b. Increase ARP storage
    c. Disable DHCP requests
    d. Encrypt MAC addresses
    Answer: aslideshare​
  37. What protocol handles MAC-to-IP mapping?
    a. DHCP
    b. ARP
    c. ICMP
    d. TCP
    Answer: bcodecademy​
  38. What kind of tool can detect abnormal ARP activity?
    a. ARP monitoring system
    b. VLAN switch
    c. Port mirroring
    d. DNS caching
    Answer: asechard​
  39. Which Layer 2 mitigation technique prevents unauthorized DHCP servers?
    a. DHCP snooping
    b. Dynamic VLAN tagging
    c. ARP isolation
    d. Port mirroring
    Answer: aorhanergun​
  40. What happens if an ARP cache is poisoned?
    a. Packets are misdirected
    b. DNS fails
    c. Switch disables interfaces
    d. VLAN tags change
    Answer: acodecademy​
  41. What attack misuses trust relationships in switches?
    a. Spoofing attack
    b. VLAN hopping
    c. DHCP starvation
    d. DNS rebinding
    Answer: asechard​
  42. What feature can detect multiple MACs from one port?
    a. Port security
    b. DHCP snooping
    c. VLAN tagging
    d. ARP filter
    Answer: ascribd​
  43. What is a DHCP starvation attack?
    a. Flooding with DHCP requests
    b. Spoofing BPDU packets
    c. Sniffing MAC frames
    d. Altering ARP headers
    Answer: aadex​
  44. What is the impact of VLAN hopping?
    a. Unauthorized VLAN access
    b. Blocking broadcasts
    c. Encrypting packets
    d. Flooding DHCP
    Answer: ainfosecwriteups​
  45. What mode should be disabled to prevent VLAN hopping?
    a. Trunk auto
    b. Static trunk
    c. Dynamic trunk negotiation
    d. VLAN pruning
    Answer: cscribd​
  46. What protocol sends keep-alive BPDUs for loop prevention?
    a. STP
    b. DHCP
    c. ARP
    d. ICMP
    Answer: acisco​
  47. Which attack redirects IP traffic between users?
    a. ARP poisoning
    b. DNS spoofing
    c. STP attack
    d. DHCP flood
    Answer: acodecademy​
  48. What is one way to secure unused switch ports?
    a. Disable them
    b. Enable VLAN auto
    c. Trunk all ports
    d. Disable port security
    Answer: ascribd​
  49. What does a rogue DHCP configure maliciously?
    a. Gateway and DNS
    b. VLAN IDs
    c. MAC tables
    d. Spanning Tree instances
    Answer: aadex​
  50. What is the key recommendation for Layer 2 hardening?
    a. Enable port security and DHCP snooping
    b. Disable STP
    c. Increase VLAN count
    d. Enable auto-trunking
    Answer: asechard+1​
  1. https://www.codecademy.com/learn/cyber-attacks/modules/network-attacks/cheatsheet
  2. https://infosecwriteups.com/layer-2-attacks-mitigation-techniques-5fb83e2f2f29
  3. https://www.scribd.com/document/796244446/LAYER-2-SEC
  4. https://adex.ltd/layer-2-attacks-vulnerabilities-and-mitigation-with-dhcp-snooping
  5. https://orhanergun.net/layer-2-security-dhcp-details-dhcp-snooping
  6. https://www.slideshare.net/slideshow/common-layer-2-threats-attacks-mitigation/72584845
  7. https://www.cisco.com/c/dam/global/fr_ca/training-events/pdfs/L2-security-Bootcamp-final.pdf
  8. https://sechard.com/blog/mitigating-layer-2-network-attacks-with-sechard/
  9. https://www.sanfoundry.com/cyber-security-questions-answers-dos-ddos/
  10. https://www.sanfoundry.com/cyber-security-multiple-choice-questions-answers/
  11. https://testbook.com/objective-questions/mcq-on-cyber-security-and-emerging-technologies–5eea6a0d39140f30f369e309
  12. https://www.scribd.com/document/660905820/Mcq-Quations-of-Cyber-Sequrity-Pdf00
  13. https://examradar.com/denial-of-service-dos-and-distributed-denial-of-service-ddos-attacks-mcqs/
  14. https://www.yeahhub.com/cyber-security-ethical-hacking-mcq-questions-answers-part2/
  15. https://www.includehelp.com/mcq/cyber-security-mcqs.aspx
  16. https://www.stackscale.com/blog/osi-model/
  17. https://www.scribd.com/document/834197725/solv-MCQ-Bank-CyberSecurity-Level-2-Student
  18. https://easyexamnotes.com/cyber-security-mcqs/
  19. https://www.9tut.com/layer-2-threats-and-security-features
  20. https://askfilo.com/user-question-answers-smart-solutions/multiple-choice-questions-on-networking-memory-and-3335373834333238

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!