350-401 Exam QuestionsBrowse all questions from this exam

350-401 Exam - Question 970


Which security actions must be implemented to prevent an API injection attack?

Show Answer
Correct Answer: C

To prevent an API injection attack, it is essential to validate, filter, and sanitize all incoming data. These actions ensure that any input data received by the API is checked for malicious content before processing, thereby reducing the risk of code injection attacks. These measures help separate legitimate user inputs from potentially harmful code, effectively mitigating the chances of an injection attack.

Discussion

4 comments
Sign in to comment
Mekai2020Option: C
Jan 20, 2024

"validate" https://www.computer.org/publications/tech-news/trends/api-injection-attacks-prevention

slacker_at_workOption: C
Mar 16, 2024

Options A, B, and D are related to general security best practices but are not specifically targeted at preventing API injection attacks.

sharonmiller
Jul 17, 2024

yeah? API's use tokens, validate/filter/sanitize is generic firewall terminology....

masrurOption: C
May 18, 2024

input validation, filtering, and sanitization for data integrity. Use parameterized queries to separate code from user inputs, preventing injections.

SeMo0o0oOption: C
Jun 12, 2024

C is correct