Courseiva
Attacks and ExploitseasyMultiple ChoiceObjective-mapped

PT0-002 Attacks and Exploits Practice Question

A tester is performing an SQL injection attack on a login form. The tester inputs a single quote (') and receives a database error. The application returns different responses for true and false conditions. Which type of SQL injection is most likely occurring?

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

Blind SQL injection

Blind SQL injection occurs when no error messages are shown, but the application behaves differently based on true/false conditions. Error-based injection shows database errors. UNION-based requires visible output. Time-based uses delays.

Answer analysis

Option-by-option breakdown

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

  • Time-based SQL injection

    Why it's wrong here

    Time-based uses delays, not different responses.

  • UNION-based SQL injection

    Why it's wrong here

    UNION-based requires the results to be displayed in the output.

  • Error-based SQL injection

    Why it's wrong here

    Error-based displays errors directly, not different responses.

  • Blind SQL injection

    Why this is correct

    Blind SQL injection uses conditional responses to infer information.

About these practice questions

This PT0-003 question is part of Courseiva's 185-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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 PT0-003 practice question is part of Courseiva's free CompTIA 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 PT0-003 exam.