Courseiva
Security ConceptshardMultiple SelectObjective-mapped

350-701 Security Concepts Practice Question

An organization is experiencing repeated SQL injection attacks. A security analyst is tasked with recommending mitigations. Which THREE actions are most effective in preventing SQL injection? (Choose three.)

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use prepared statements with parameterized queries

Prepared statements/parameterized queries prevent SQL injection by separating code from data. Input validation and stored procedures (if properly parameterized) also help. WAFs can detect and block SQLi attempts. Disabling error messages prevents information leakage.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Use prepared statements with parameterized queries

    Why this is correct

    This is the most effective defense against SQL injection.

  • Disable detailed database error messages in production

    Why it's wrong here

    While good practice, it does not prevent injection; it only hides error details.

  • Use a web application firewall (WAF) to filter malicious requests

    Why this is correct

    WAF can detect and block SQL injection patterns.

  • Implement strict input validation on all user inputs

    Why this is correct

    Input validation helps reject malicious payloads.

  • Enforce strong password policies for database accounts

    Why it's wrong here

    Password policy does not prevent SQL injection.

About these practice questions

One of 978 original 350-701 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 350-701 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 350-701 exam.