
CompTIASecurity+
Domain 2Objective 3
Vulnerabilities SY0-701 Practice Questions (Page 4)
Part of the Threats, vulnerabilities, and mitigations domain, which accounts for 22% of the SY0-701 exam. CompTIA does not publish an official question count, but from its 90-minute exam (~35–60 total, ~8–13 in this domain), expect 2–3 from this objective — we provide 32 practice questions to prepare you well beyond it. (estimate)
32questions here
7free pages
8concepts
22%of the exam
Questions 16–20
- 16
A web application allows users to post comments that are displayed to other users. A security tester submits a comment containing <script>alert('XSS')</script>. The script executes in the browsers of other users. Which of the following is the MOST effective mitigation?
Select an answer first - 17
Which type of hardware vulnerability involves an attacker gaining physical access to a device to modify or extract data from its firmware or components?
Select an answer first - 18
A company allows employees to use personal smartphones for work (BYOD). The MDM solution can enforce a passcode and remote wipe, but it cannot enforce full-disk encryption on all devices because some older devices do not support it. Which of the following is the BEST approach to mitigate the risk of data exposure from lost devices?
Select an answer first - 19
A web application allows users to upload profile pictures. The application stores the files in a cloud storage bucket and later serves them by embedding the file name in an HTML <img> tag. A security tester discovers that by uploading a file named "><script>alert(document.cookie)</script>.jpg, the script executes in other users' browsers. Which of the following is the MOST effective mitigation?
Select an answer first - 20
A developer is writing a web application that accepts user input for a search feature. The input is used in a SQL query. Which of the following is the BEST way to prevent SQL injection?
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. “SY0-701” is a trademark of its owner, used for identification only.