CompTIA PenTest+ Practice Questions: Attacks and Exploits

6 free, exam-style CompTIA PenTest+ (PT0-003) practice questions covering Attacks and Exploits. Each question shows the correct answer and a clear explanation. Ready for the real thing? Take the full timed quiz below.

🚀 Take the full CompTIA PenTest+ quiz 📘 CompTIA PenTest+ study guide

Q1. Which vulnerability allows an attacker to make a database run unintended queries?

Explanation: SQL injection occurs when untrusted input is included in database queries without proper parameterization or validation. Learn more.

Q2. Which attack captures and relays authentication attempts without knowing the password?

Explanation: Relay attacks forward authentication messages to another service to gain access without cracking the credential. Learn more.

Q3. What is the purpose of a reverse shell?

Explanation: A reverse shell causes the target to connect outward to the listener, which can bypass some inbound filtering. Learn more.

Q4. Which password attack uses known breached username and password pairs against another service?

Explanation: Credential stuffing tests reused credentials from breaches against other services. Learn more.

Q5. Which Kerberos attack targets service tickets for offline password cracking?

Explanation: Kerberoasting requests service tickets and attempts to crack the service account password offline. Learn more.

Q6. Which exploit development protection makes memory addresses harder to predict?

Explanation: Address Space Layout Randomization randomizes memory locations to make exploitation harder. Learn more.

More CompTIA PenTest+ practice topics