Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam PT0-002 All Questions
Exam PT0-002 All Questions

View all questions & answers for the PT0-002 exam

CompTIA PenTest+ PT0-002 Question # 12 Topic 3 Discussion

PT0-002 Exam Topic 3 Question 12 Discussion:
Question #: 12
Topic #: 3

During a code review assessment, a penetration tester finds the following vulnerable code inside one of the web application files:

<% String id = request.getParameter("id"); %>

Employee ID: <%= id %>

Which of the following is the best remediation to prevent a vulnerability from being exploited, based on this code?


A.

Parameterized queries


B.

Patch application


C.

Output encoding


Get Premium PT0-002 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.