nerdexam
CompTIA

CAS-003 · Question #724

A security engineer reviews the table below: The engineer realizes there is an active attack occurring on the network. Which of the following would BEST reduce the risk of this attack reoccurring m…

The correct answer is B. Enabling port security. Port security limits the number of MAC addresses per switch port, preventing MAC flooding and DHCP starvation attacks by blocking rogue devices from exhausting switch or DHCP resources.

Enterprise Security Operations

Question

A security engineer reviews the table below:

The engineer realizes there is an active attack occurring on the network. Which of the following would BEST reduce the risk of this attack reoccurring m the future?

Exhibit

CAS-003 question #724 exhibit

Options

  • AUpgrading device firmware
  • BEnabling port security
  • CIncreasing DHCP pool size
  • DDisabling dynamic trucking
  • EReducing DHCP lease length

How the community answered

(36 responses)
  • A
    3% (1)
  • B
    58% (21)
  • C
    22% (8)
  • D
    11% (4)
  • E
    6% (2)

Why each option

Port security limits the number of MAC addresses per switch port, preventing MAC flooding and DHCP starvation attacks by blocking rogue devices from exhausting switch or DHCP resources.

AUpgrading device firmware

Upgrading device firmware patches known software vulnerabilities but does not enforce per-port MAC address limits that would actively prevent flooding or starvation attacks.

BEnabling port securityCorrect

Enabling port security on a switch restricts the number of valid MAC addresses allowed per port and triggers a violation response (shutdown or restrict) when the limit is exceeded. This directly mitigates MAC flooding attacks that overflow the CAM table and DHCP starvation attacks that use spoofed MAC addresses to exhaust the available address pool - both of which align with the anomalous network activity shown in the referenced table.

CIncreasing DHCP pool size

Increasing the DHCP pool size temporarily raises the threshold an attacker must exceed but does not stop the attack, as an attacker can simply request more leases using additional spoofed MAC addresses.

DDisabling dynamic trucking

Disabling dynamic trunking protocol (DTP) prevents VLAN hopping attacks, which is a different class of network attack unrelated to MAC flooding or DHCP starvation.

EReducing DHCP lease length

Reducing DHCP lease length causes addresses to expire sooner but does not prevent an attacker from continuously requesting new leases with spoofed MACs, so the pool can still be exhausted.

Concept tested: Switch port security to prevent MAC flooding and DHCP starvation

Source: https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst4500/12-2/25ew/configuration/guide/conf/port_sec.html

Topics

#port security#MAC flooding#DHCP starvation#network attack

Community Discussion

No community discussion yet for this question.

Full CAS-003 Practice