CompTIA PT0-002 Question Answer
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?
CompTIA PT0-002 Summary
- Vendor: CompTIA
- Product: PT0-002
- Update on: Jul 17, 2025
- Questions: 464