nerdexam
CompTIACompTIA

CAS-005 · Question #476

CAS-005 Question #476: Real Exam Question with Answer & Explanation

Sign in or unlock CAS-005 to reveal the answer and full explanation for question #476. The question stem and answer options stay visible for context.

Submitted by rachelw· Mar 6, 2026Security Engineering

Question

Based on the results of a SAST report on a legacy application, a security engineer is reviewing the following snippet of code flagged as vulnerable: Which of the following is the vulnerable line of code that must be changed?

Options

  • ALine [02]
  • BLine [04]
  • CLine [07]
  • DLine [08]
  • ELine [10]

Unlock CAS-005 to see the answer

You've previewed enough free CAS-005 questions. Unlock CAS-005 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.

Full CAS-005 PracticeBrowse All CAS-005 Questions