nerdexam
CompTIA

SY0-501 · Question #193

An analyst is reviewing a simple program for potential security vulnerabilities before being deployed to a Windows server. Given the following code: Which of the following vulnerabilities is present?

Sign in or unlock SY0-501 to reveal the answer and full explanation for question #193. The question stem and answer options stay visible for context.

Submitted by jaden.t· Mar 4, 2026Threats, vulnerabilities, and mitigations

Question

An analyst is reviewing a simple program for potential security vulnerabilities before being deployed to a Windows server. Given the following code:

Which of the following vulnerabilities is present?

Exhibit

SY0-501 question #193 exhibit

Options

  • ABad memory pointer
  • BBuffer overflow
  • CInteger overflow
  • DBackdoor

Unlock SY0-501 to see the answer

You've previewed enough free SY0-501 questions. Unlock SY0-501 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#buffer overflow#secure coding#application vulnerability#memory management
Full SY0-501 Practice