CompTIA Security Exam Practice Questions Sample SY0 501 Q481

An application was recently compromised after some malformed data came in via web form. Which of the following would MOST likely have prevented this?

A. Input validation
B. Proxy server
C. Stress testing
D. Encoding

Correct Answer: A