exam questions

Exam SY0-501 All Questions

View all questions & answers for the SY0-501 exam

Exam SY0-501 topic 1 question 72 discussion

Actual exam question from CompTIA's SY0-501
Question #: 72
Topic #: 1
[All SY0-501 Questions]

Which of the following attack types BEST describes a client-side attack that is used to manipulate an HTML iframe with JavaScript code via a web browser?

  • A. Buffer overflow
  • B. MITM
  • C. XSS
  • D. SQLi
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
MelvinJohn
Highly Voted 5 years, 3 months ago
Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user.
upvoted 13 times
...
Meme_meme
Highly Voted 4 years, 10 months ago
The main difference between a SQL and XSS injection attack is that SQL injection attacks are used to steal information from databases whereas XSS attacks are used to redirect users to websites where attackers can steal data from them. SQL injection is data-base focused whereas XSS is geared towards attacking end users. Credit https://www.keirstenbrager.tech/sql-vs-xxs-injection-attacks-explained/
upvoted 11 times
...
fonka
Most Recent 4 years ago
Heybword HTML iframe this the frame displayed in rectangular shape when a browsers opens a page .meaning this is the from end attack using web vulnerability. But in the case of SQL injection the goal is to steal information from the database using back door. Think of this way if bad guy enters the house using the main entrance that is Crossite scripting injection (xxs). However, if the bad guy enter the room using the backdoor or the basement door that is called SQL injection the purpose is to steal information from the database. So.the answer is Xss injection
upvoted 1 times
...
frededel
5 years, 3 months ago
SQLi = SQL injection
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...