What is 'SQL injection'? MCQ with Answer and Explanation

What is 'SQL injection'?
A. A type of social engineering
B. A method to inject a virus into a system
C. A technique to insert malicious SQL code into a query to manipulate a database
D. A physical attack on a server
Answer: Option C
Solution (By JKSSB Mock Tests)
SQL injection is a code injection technique that exploits vulnerabilities in an application's database layer, allowing attackers to execute malicious SQL statements.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Cyber Security Questions

Question #1
A piece of code that self-replicates by attaching its binary payload to an executable file on a USB flash drive, running whenever the drive is plugged into a new system, is a:
A. Logic Bomb Tracker
B. Macro Script Module
C. Boot Sector / File Infector Virus
D. Pure Network Daemon

Correct Answer: Option C


Explanation:
File infectors and boot sector viruses attach to portable files and storage partitions, copying themselves to new host machines via shared media.

This question belongs to: Computer Cyber Security
Question #2
Which of the following is a common technique used in phishing attacks?
A. Physically stealing hardware
B. Denial-of-service attack
C. Installing a virus on a computer
D. Sending fraudulent emails that appear to come from legitimate sources

Correct Answer: Option D


Explanation:
Phishing attacks often involve sending deceptive emails that look like they are from reputable companies to trick recipients into providing sensitive information.

This question belongs to: Computer Cyber Security
Question #3
What is 'cybercrime'?
A. A criminal activity that is committed using computers or the internet
B. A crime that involves physical theft
C. A crime that is always violent
D. A crime that involves only financial fraud

Correct Answer: Option A


Explanation:
Cybercrime refers to any illegal activity that involves a computer, network, or the internet, including identity theft, hacking, and online fraud.

This question belongs to: Computer Cyber Security