Valid 220-1102 Dumps shared by ExamDiscuss.com for Helping Passing 220-1102 Exam! ExamDiscuss.com now offer the newest 220-1102 exam dumps, the ExamDiscuss.com 220-1102 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 220-1102 dumps with Test Engine here:
Which of the following attacks can a hacker use to execute code on a user's computer when the user visits a specially prepared, malicious website?
Correct Answer: C
Cross-site scripting (XSS) (Option C) allows attackers to inject malicious scripts into web pages viewed by users. When the user visits the compromised site, the script runs in the user's browser, potentially allowing the attacker to steal data or perform unauthorized actions. XSS is a common vulnerability in web applications that allows code execution. * DoS (Option A) disrupts services but doesn't involve executing code on a user's device. * Spoofing (Option B) involves impersonating another device or user but doesn't execute code. * SQL injection (Option D) attacks a database and is unrelated to executing code on the user's computer. CompTIA A+ Core 2 References: * 2.4 - Explain common social engineering attacks, including XSS.