What type of software vulnerability occurs when a program inputs more data into a memory allocation area than it can hold, overwriting adjacent memory spaces with malicious code? MCQ with Answer and Explanation

What type of software vulnerability occurs when a program inputs more data into a memory allocation area than it can hold, overwriting adjacent memory spaces with malicious code?
A. Buffer Overflow
B. Zero-Day Exploit
C. SQL Injection
D. Cross-Site Scripting
Answer: Option A
Solution (By JKSSB Mock Tests)
A buffer overflow occurs when data volume exceeds memory allocation block boundaries, allowing attackers to overwrite execution tracks and run arbitrary code.

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 encryption in securing data at rest?
A. To delete data
B. To compress data
C. To increase data speed
D. To protect data stored on devices from unauthorized access

Correct Answer: Option D


Explanation:
Encryption of data at rest protects stored data, such as files on a hard drive, by making it unreadable to unauthorized users.

This question belongs to: Computer Cyber Security
Question #2
Which of the following is a type of malware that disguises itself as legitimate software to trick users?
A. Ransomware
B. Worm
C. Virus
D. Trojan Horse

Correct Answer: Option D


Explanation:
A Trojan Horse is a type of malware that masquerades as a legitimate program to deceive users into installing it.

This question belongs to: Computer Cyber Security
Question #3
Which software module isolates files flagged by antivirus software, locking them away from the filesystem to prevent them from executing code or infecting other applications?
A. Sandbox Space
B. Heuristic Analyzer
C. Firewall Rule Sheet
D. Quarantine

Correct Answer: Option D


Explanation:
Antivirus quarantine utilities isolate suspected malware files in a secure directory structure, keeping them from interacting with the main OS.

This question belongs to: Computer Cyber Security