
CompTIAPenTest+
Domain 4Objective 4
Web Application Attacks PT0-003 Practice Questions (Page 3)
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 11–15
- 11
A tester is reviewing a web application's source code and finds the following line: `$file = $_GET['file']; include("/var/www/html/" . $file);`. Which of the following attacks is this code MOST vulnerable to?
Select an answer first - 12
What is the primary goal of a directory traversal attack?
Select an answer first - 13
Which of the following is a common consequence of a successful stored XSS attack?
Select an answer first - 14
Which of the following is a common sign that a web application is vulnerable to directory traversal?
Select an answer first - 15
Which of the following is a common indicator that a web application may be vulnerable to directory traversal?
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.