nerdexam
CompTIA

CAS-001 · Question #229

A company is developing a new web application for its Internet users and is following a secure coding methodology. Which of the following methods would BEST assist the developers in determining if…

The correct answer is C. Conduct fuzzing attacks. Fuzzing sends random, malformed, or unexpected inputs to an application to discover unknown vulnerabilities that structured testing methods and developer assumptions would miss.

Enterprise Security

Question

A company is developing a new web application for its Internet users and is following a secure coding methodology. Which of the following methods would BEST assist the developers in determining if any unknown vulnerabilities are present?

Options

  • AConduct web server load tests.
  • BConduct static code analysis.
  • CConduct fuzzing attacks.
  • DConduct SQL injection and XSS attacks.

How the community answered

(33 responses)
  • A
    18% (6)
  • B
    9% (3)
  • C
    70% (23)
  • D
    3% (1)

Why each option

Fuzzing sends random, malformed, or unexpected inputs to an application to discover unknown vulnerabilities that structured testing methods and developer assumptions would miss.

AConduct web server load tests.

Web server load tests measure performance and availability under high traffic but do not probe for security vulnerabilities.

BConduct static code analysis.

Static code analysis examines source code for known insecure patterns without executing it, so it cannot find runtime vulnerabilities triggered by unexpected input.

CConduct fuzzing attacks.Correct

Fuzzing (fuzz testing) is specifically designed to uncover unknown and unexpected vulnerabilities by feeding an application with large volumes of random, semi-random, or mutated input data and observing crashes, errors, or unexpected behavior. Because the inputs are not derived from known attack patterns, fuzzing can reveal zero-day-class vulnerabilities that other testing methods overlook. This makes it the best choice when the goal is to find vulnerabilities that are not yet known.

DConduct SQL injection and XSS attacks.

SQL injection and XSS attacks test for specific, already-known vulnerability classes and would not discover novel or unknown vulnerability types.

Concept tested: Fuzz testing for discovering unknown application vulnerabilities

Source: https://learn.microsoft.com/en-us/security/engineering/fuzzing

Topics

#fuzzing#vulnerability testing#secure coding#web application security

Community Discussion

No community discussion yet for this question.

Full CAS-001 Practice