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

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

This question belongs to: Computer Cyber Security

Discuss this Question (0)

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

Practice More Cyber Security Questions

Question #1 Report Error
Which of the following is a common security risk associated with remote work?
A. Use of VPNs
B. Use of strong passwords
C. Regular security updates
D. Unsecured home networks

Correct Answer: Option D


Explanation:
Remote work often involves using unsecured home networks, which can expose corporate devices and data to cyber threats without proper security measures like VPNs.

This question belongs to: Computer Cyber Security
Question #2 Report Error
Which social engineering attack vector uses spoofed emails, misleading hyperlinks, and look-alike landing pages to trick corporate employees into surrendering their login credentials?
A. Man-in-the-Middle
B. DDoS Attack
C. Phishing
D. SQL Injection

Correct Answer: Option C


Explanation:
Phishing involves masquerading as a trustworthy entity via digital communications to manipulate victims into revealing passwords, financial records, or sensitive personal tokens.

This question belongs to: Computer Cyber Security
Question #3 Report Error
Which cryptographic key mechanism is used to decrypt data that was scrambled using a publicly distributed asymmetric encryption key?
A. Hash Digest Code
B. Private Key
C. Shared Symmetric Token
D. Public Key

Correct Answer: Option B


Explanation:
Asymmetric cryptography pairs a public key (used by anyone to encrypt data) with a mathematically linked private key (kept secret by the recipient to decrypt the data).

This question belongs to: Computer Cyber Security