nerdexam
GAQM

CPEH-001 · Question #512

CPEH-001 Question #512: Real Exam Question with Answer & Explanation

The correct answer is D. Validate and escape all information sent to a server.. See the full explanation below for the reasoning.

Question

Which of the following is the BEST approach to prevent Cross-site Scripting (XSS) flaws?

Options

  • AUse digital certificates to authenticate a server prior to sending data.
  • BVerify access right before allowing access to protected information and UI controls.
  • CVerify access right before allowing access to protected information and UI controls.
  • DValidate and escape all information sent to a server.

Community Discussion

No community discussion yet for this question.

Full CPEH-001 Practice