nerdexam
CompTIA

N10-005 · Question #394

Which of the following should be mitigated by employing proper coding techniques when developing software?

The correct answer is B. Buffer overflows. Buffer overflows are a class of software vulnerability caused by poor coding practices - specifically, when a program writes more data to a buffer than it can hold, potentially overwriting adjacent memory and allowing attackers to execute arbitrary code. Proper input…

Network security

Question

Which of the following should be mitigated by employing proper coding techniques when developing software?

Options

  • ADistributed denial of service attacks
  • BBuffer overflows
  • CWar driving
  • DPacket sniffing

How the community answered

(60 responses)
  • A
    2% (1)
  • B
    95% (57)
  • D
    3% (2)

Explanation

Buffer overflows are a class of software vulnerability caused by poor coding practices - specifically, when a program writes more data to a buffer than it can hold, potentially overwriting adjacent memory and allowing attackers to execute arbitrary code. Proper input validation, bounds checking, and safe memory management techniques in the code itself are the primary mitigations. DDoS attacks originate externally and are mitigated through network-level defenses. War driving involves scanning for wireless networks and is a physical/wireless security concern. Packet sniffing is addressed through network encryption (e.g., TLS), not application coding practices.

Topics

#buffer overflow#secure coding#application security#vulnerability mitigation

Community Discussion

No community discussion yet for this question.

Full N10-005 Practice