exam questions

Exam SY0-601 All Questions

View all questions & answers for the SY0-601 exam

Exam SY0-601 topic 1 question 591 discussion

Actual exam question from CompTIA's SY0-601
Question #: 591
Topic #: 1
[All SY0-601 Questions]

A dynamic application vulnerability scan identified that code injection could be performed using a web form. Which of the following will be the best remediation to prevent this vulnerability?

  • A. Implement input validations
  • B. Deploy MFA
  • C. Utilize a WAF
  • D. Configure HIPS
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ApplebeesWaiter1122
Highly Voted 1 year, 9 months ago
*On Exam, Taken On July 31, 2023*
upvoted 30 times
nepeta277
1 year, 9 months ago
any PQB help master?
upvoted 4 times
...
GilSAtx
1 year, 8 months ago
Thank you, your explanations have been helpful for understanding the material.
upvoted 3 times
...
...
ApplebeesWaiter1122
Highly Voted 1 year, 9 months ago
Selected Answer: A
Implementing input validation is the best remediation to prevent code injection vulnerabilities. Input validation involves validating and sanitizing user inputs before processing them within the application. By doing so, the application can detect and prevent malicious inputs, such as SQL injection or other code injection attempts. Input validation helps ensure that data entered into web forms or other application inputs meets the expected format and criteria, thus mitigating the risk of code injection attacks. It is a fundamental security practice to protect against various types of injection attacks.
upvoted 9 times
...
[Removed]
Most Recent 1 year, 6 months ago
Selected Answer: A
Utilizing a WAF is a valuable security measure for protecting against a variety of web application attacks, but it is not a replacement for proper input validation. Input validation should still be implemented to secure the application at its core.
upvoted 1 times
...
tdude2406
1 year, 9 months ago
thanks applebeeswaiter1122 for all your help. what % of the exam do you think was on here overall if you had to guess. you're awesome
upvoted 5 times
Copmp
1 year, 9 months ago
Applebees Waiter you rock! im going to go get applebees in your name
upvoted 5 times
...
...
mtnews
1 year, 9 months ago
Selected Answer: A
Going with A here. WAF will prevent attacks not vulnerability
upvoted 3 times
...
ccnaexam28
1 year, 9 months ago
Selected Answer: A
the question is asking the remediation to prevent the vulnerability, shouldn't it be A-Implement input validations? I'd choose WAF if it's asking how to prevent the attack.
upvoted 4 times
...
Gamsje
1 year, 10 months ago
Selected Answer: C
C is better than A I choose C
upvoted 1 times
...
king_Kev
1 year, 10 months ago
Selected Answer: C
C. Utilize a WAF A web application firewall (WAF) is designed to filter and monitor HTTP traffic between a web application and the Internet. It can help protect against common web application vulnerabilities, including code injection. By implementing a WAF, it can analyze the incoming requests and block or mitigate any attempts at code injection. While implementing input validations (A) is a good practice, it may not be sufficient to prevent code injection entirely. Additional layers of security, such as a WAF, are recommended. Deploying multifactor authentication (MFA) (B) is not directly related to preventing code injection. MFA is used for user authentication, adding an extra layer of security to verify identities. Configuring HIPS (D), or Host Intrusion Prevention System, may provide some additional security measures, but it is not specifically designed to prevent code injection. HIPS focuses on detecting and blocking attacks or unauthorized activities on a specific host system.
upvoted 1 times
oatmealturkey
1 year, 10 months ago
A WAF is not to prevent vulnerabilities, it is to prevent exploits/attacks. Input validation is the answer in order to prevent this vulnerability (keyword).
upvoted 11 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago