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

What is 'SQL injection'?
A. A physical attack on a server
B. A type of social engineering
C. A technique to insert malicious SQL code into a query to manipulate a database
D. A method to inject a virus into a system
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
What is the role of a security analyst?
A. To monitor and analyze security threats
B. To manage finances
C. To develop software
D. To handle customer complaints

Correct Answer: Option A


Explanation:
A security analyst is responsible for monitoring, analyzing, and responding to security threats and incidents to protect an organization's information assets.

This question belongs to: Computer Cyber Security
Question #2
Which of the following is a type of attack that uses a network of compromised computers (bots) to target a system?
A. Phishing
B. Man-in-the-middle
C. SQL injection
D. DDoS (Distributed Denial-of-Service)

Correct Answer: Option D


Explanation:
A DDoS attack uses a network of infected computers (botnet) to flood a target with traffic, overwhelming it and causing a denial of service.

This question belongs to: Computer Cyber Security
Question #3
Which of the following is a common security risk associated with social media?
A. Regularly updating passwords
B. Enabling privacy settings
C. Oversharing personal information
D. Using strong passwords

Correct Answer: Option C


Explanation:
Oversharing personal information on social media can expose individuals to various risks, including identity theft, social engineering, and targeted attacks.

This question belongs to: Computer Cyber Security