Courseiva
Attacks and ExploitsmediumMultiple SelectObjective-mapped

PT0-002 Attacks and Exploits Practice Question

During a web application penetration test, a tester identifies a SQL injection vulnerability. Which TWO techniques could be used to extract data from the database? (Select TWO.)

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 time-based SQL injection

UNION-based and blind time-based are common SQL injection techniques for data extraction.

Answer analysis

Option-by-option breakdown

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

  • Command injection

    Why it's wrong here

    Command injection executes system commands, not SQL.

  • XXE injection

    Why it's wrong here

    XXE targets XML processing.

  • Blind time-based SQL injection

    Why this is correct

    Time-based blind uses delays to infer data.

  • Reflected XSS

    Why it's wrong here

    XSS is client-side, not SQL injection.

  • UNION-based SQL injection

    Why this is correct

    UNION query combines results to retrieve data.

About these practice questions

One of 185 original PT0-003 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 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.