
CompTIAPenTest+
Domain 4Objective 4
Web Application Attacks PT0-003 Practice Questions (Page 4)
Part of the Attacks and exploits domain, which accounts for 35% of the PT0-003 exam. CompTIA does not publish an official question count, but from its 165-minute exam (~65–110 total, ~23–39 in this domain), expect 4–7 from this objective — we provide 21 practice questions to prepare you well beyond it. (estimate)
21questions here
5free pages
9concepts
35%of the exam
Questions 16–20
- 16
Which of the following payloads is commonly used to exploit a directory traversal vulnerability on a Linux web server?
Select an answer first - 17
What is the primary reason SQL injection is considered a critical web application vulnerability?
Select an answer first - 18
What is the primary purpose of using URL encoding (e.g., %2e%2e%2f) in a directory traversal attack?
Select an answer first - 19
Which of the following payloads would be most effective for stealing a user's session cookie via a reflected XSS vulnerability?
Select an answer first - 20
A penetration tester is assessing a web application that uses a login form. The tester submits `admin' OR '1'='1` in the username field and `' OR '1'='1` in the password field, and successfully gains access to an administrative account. Which of the following is the MOST likely reason this attack succeeded?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by CompTIA. “PT0-003” is a trademark of its owner, used for identification only.