Disclaimer:
Educational Use Only:
The website links provided are to be used strictly for educational and knowledge-gaining purposes only.
No Misuse:
Do not misuse the links or the information contained therein for any commercial, illegal, or unethical activities.
Respect for Websites and Businesses:
Respect the intellectual property and business interests of the websites and their owners. Do not attempt to alter, copy, or redistribute content without proper authorization.
Acknowledge Value of Knowledge:
Recognize and value the knowledge and resources shared by these websites. Use the information responsibly and ethically.
No Endorsement:
The provision of these links does not imply endorsement of the linked sites, their content, or their products and services. Users are responsible for evaluating the suitability and accuracy of the information.
User Responsibility:
By accessing these links, you agree to use the information at your own risk and to comply with all applicable laws and website terms of use.
- In cybersecurity, memory management primarily ensures that programs do not misuse which system component?
a. Disk Scheduler
b. Main Memory
c. Input Buffer
d. Cache Register
Answer: b. Main Memorysanfoundry - Which OS component handles process loading and memory allocation?
a. File System Manager
b. Memory Manager
c. Packet Scheduler
d. Driver Interface
Answer: b. Memory Managersanfoundry - The area of memory where active processes are maintained is called:
a. Secondary Storage
b. Main Memory
c. Cache Memory
d. Virtual Disk
Answer: b. Main Memorysanfoundry - A memory buffer used to accommodate a speed mismatch between device and CPU is called:
a. Swap Space
b. DMA Memory
c. Cache
d. Memory Buffer
Answer: d. Memory Buffergtu-mcq - Paging divides each process into fixed-size units called:
a. Frames
b. Pages
c. Segments
d. Blocks
Answer: b. Pagestestbook - The counterpart of a page in physical memory is called a:
a. Block
b. Frame
c. Segment
d. Cell
Answer: b. Frametestbook - Memory allocation that ensures non-contiguous data placement is known as:
a. Paging
b. Contiguous Allocation
c. Static Mapping
d. Segmentation
Answer: a. Pagingtestbook - Buffer overflow occurs when:
a. Memory buffer is underutilized
b. More data is written than the buffer can hold
c. Memory buffer is locked
d. There is no paging
Answer: b. More data is written than the buffer can holdwebasha - Which memory segment holds dynamically allocated data?
a. Stack
b. Heap
c. Data Segment
d. ROM
Answer: b. Heapmedium.verylazytech - Stack memory usually grows:
a. Upward
b. Downward
c. Laterally
d. Exponentially
Answer: b. Downwardmedium.verylazytech - A dirty bit indicates that:
a. The page is unallocated
b. The page has been modified
c. The page is read-only
d. The cache is empty
Answer: b. The page has been modifiedtestbook - Which technique moves processes between main memory and disk as needed?
a. Swapping
b. Scheduling
c. Fragmenting
d. Defragmenting
Answer: a. Swappingstudocu - A memory leak occurs when:
a. Memory is fully used
b. Allocated memory isn’t released
c. Segmentation is disabled
d. Paging fails
Answer: b. Allocated memory isn’t releasedconquer-your-risk - Which attack modifies data in memory without injecting code?
a. Return Oriented Programming
b. Data-only Attack
c. Code Corruption
d. Heap Overflow
Answer: b. Data-only Attackconquer-your-risk - Which memory attack overwrites legitimate code pointers?
a. Memory Leak
b. Code Corruption
c. Paging Fault
d. Access Violation
Answer: b. Code Corruptionconquer-your-risk - In cybersecurity, volatile memory includes:
a. ROM
b. Disk Storage
c. RAM
d. Flash Memory
Answer: c. RAMconquer-your-risk - Which of the following is non-volatile memory?
a. RAM
b. Registers
c. Cache
d. ROM
Answer: d. ROMconquer-your-risk - Dynamic memory allocation in heap is vulnerable to:
a. Heap Overflows
b. Paging Errors
c. Access Interrupts
d. Thread Deadlocks
Answer: a. Heap Overflowsmedium.verylazytech - Stack-based buffer overflow manipulates:
a. Stack Pointer
b. Heap Size
c. Cache Index
d. DMA Access
Answer: a. Stack Pointermedium.verylazytech - Which memory segment stores global and static variables?
a. Heap
b. Data Segment
c. Stack
d. Text Segment
Answer: b. Data Segmentmedium.verylazytech - Buffer overflow protection technique that randomizes memory addressing is known as:
a. ASLR
b. DEP
c. ROP
d. Code Signing
Answer: a. ASLR (Address Space Layout Randomization)webasha - DEP (Data Execution Prevention) helps by:
a. Preventing code execution in data regions
b. Encrypting memory
c. Scrubbing kernel logs
d. Compressing stack data
Answer: a. Preventing code execution in data regionswebasha - Heap and stack corruption are examples of:
a. Logical Errors
b. Memory Exploitation
c. Access Timeouts
d. Interrupt Failures
Answer: b. Memory Exploitationmedium.verylazytech - Which exploit alters program control flow by overwriting return addresses?
a. Buffer Overflow
b. Command Injection
c. SQL Injection
d. Logic Bomb
Answer: a. Buffer Overflowwebasha - Segmentation fault occurs when:
a. Valid memory is accessed
b. Unauthorized memory region is accessed
c. Stack is empty
d. CPU overheats
Answer: b. Unauthorized memory region is accessedsanfoundry - Which tool is commonly used to identify buffer overflow vulnerabilities?
a. Wireshark
b. Valgrind
c. Nmap
d. Netcat
Answer: b. Valgrindwebasha - Ret2Libc is a variant of:
a. ROP (Return Oriented Programming)
b. Heap Attack
c. Cache Exploit
d. Memory Leak
Answer: a. ROP (Return Oriented Programming)conquer-your-risk - Secure memory management aims to:
a. Allow arbitrary memory sharing
b. Isolate processes from each other
c. Prevent interrupts
d. Speed up I/O
Answer: b. Isolate processes from each otherfiveable - What type of overflow exploits formatted string misuse?
a. Stack Overflow
b. Format String Attack
c. Heap Overflow
d. Integer Overflow
Answer: b. Format String Attackmedium.verylazytech - Integer overflow leads to:
a. Memory Misallocation
b. Network Flood
c. CPU Hang
d. Disk Fragmentation
Answer: a. Memory Misallocationwebasha - The system crashes during overflow attacks because:
a. Input validation stops
b. Adjacent memory areas get corrupted
c. Kernel is disabled
d. Disk quota is full
Answer: b. Adjacent memory areas get corruptedfortinet - Boundary checks in code help prevent:
a. Phishing
b. Buffer Overflow
c. Backdoors
d. DNS Hijacking
Answer: b. Buffer Overflowwebasha - Which memory fault triggers context switching?
a. Page Fault
b. Interrupt
c. Stack Overflow
d. Cache Miss
Answer: a. Page Faultstudocu - Paging eliminates which memory issue?
a. Fragmentation
b. Overflow
c. Fault
d. Delay
Answer: a. Fragmentationtestbook - Cache coherence ensures:
a. Processes run independently
b. Data consistency across caches
c. Disk data protection
d. Input throttling
Answer: b. Data consistency across cachestestbook - MESI protocol helps maintain:
a. Cache Coherence
b. Memory Paging
c. Buffer Timings
d. ROM Access
Answer: a. Cache Coherencetestbook - Virtual memory allows:
a. Access beyond physical limits
b. Faster disk reads
c. Kernel execution
d. Register duplication
Answer: a. Access beyond physical limitssanfoundry - Which of the following can mitigate heap overflow?
a. Safe memory allocation
b. Increased buffer size
c. Code obfuscation
d. Processor upgrade
Answer: a. Safe memory allocationwebasha - A memory protection barrier prevents:
a. Inter-process interference
b. CPU scheduling
c. Register swapping
d. Data caching
Answer: a. Inter-process interferencefiveable - Memory management errors may result in:
a. System compromise
b. Faster I/O
c. Accurate access times
d. Reduced segmentation
Answer: a. System compromisewebasha - What is the term for when processes emulate physical memory beyond actual RAM?
a. Virtual Memory
b. Cache Mapping
c. Secondary Storage
d. Paging
Answer: a. Virtual Memorysanfoundry - Which instruction pointer register is targeted in stack-based exploits?
a. EIP
b. ESP
c. ALU
d. PC
Answer: a. EIPmedium.verylazytech - An attacker manipulating stack return addresses aims for:
a. Privilege Escalation
b. File Deletion
c. Encryption
d. Spoofing
Answer: a. Privilege Escalationwebasha - Secure coding prevents buffer overflow by:
a. Validating input length
b. Encrypting stack data
c. Using open buffer calls
d. Disabling memory
Answer: a. Validating input lengthwebasha - A kernel exploit targets:
a. Hardware-level memory management
b. User privilege escalation
c. Browser caching
d. Web templates
Answer: a. Hardware-level memory managementappsecengineer - Sandbox memory environments are critical for:
a. Isolating process execution
b. Speeding data encryption
c. Blocking cache refresh
d. Disabling interrupts
Answer: a. Isolating process executionfiveable - Memory fragmentation reduces:
a. Memory utilization efficiency
b. Process separation
c. Thread priority
d. Input overflow
Answer: a. Memory utilization efficiencysanfoundry - Which type of overflow targets dynamic allocations?
a. Heap Overflow
b. Stack Overflow
c. Page Overflow
d. Integer Overflow
Answer: a. Heap Overflowwebasha - Which exploit technique hijacks control flow without injecting new code?
a. Return Oriented Programming (ROP)
b. Format String Injection
c. SQL Injection
d. DLL Hijacking
Answer: a. Return Oriented Programming (ROP)conquer-your-risk - A primary goal of memory management in cybersecurity is:
a. Prevent unauthorized memory access
b. Enable multi-user paging
c. Optimize hard disk use
d. Increase buffer length
Answer: a. Prevent unauthorized memory accessfiveable
- https://www.sanfoundry.com/computer-fundamentals-questions-bank/
- https://gtu-mcq.com/BE/Computer-Engineering/Semester-4/3140702/5238/MCQs?q=9aZHDjblmRk%3D
- https://testbook.com/objective-questions/mcq-on-memory-management–5eea6a1539140f30f369f31b
- https://www.webasha.com/blog/what-is-a-buffer-overflow-attack-and-how-to-prevent-it-with-secure-coding-techniques-the-detailed-guide
- https://medium.verylazytech.com/mastering-memory-exploitation-fundamentals-stack-overflows-shellcode-format-string-bugs-and-353270ec8128
- https://www.studocu.com/row/document/kwame-nkrumah-university-of-science-and-technology/computer-science/os-set-6-memory-managemet/54816900
- https://www.conquer-your-risk.com/2021/08/15/understanding-and-mitigating-the-risk-of-computer-memory-exploitation/
- https://fiveable.me/network-security-and-forensics/unit-8/exploitation-techniques/study-guide/MeorUk1RHoNyEPcJ
- https://www.fortinet.com/resources/cyberglossary/buffer-overflow
- https://testbook.com/objective-questions/mcq-on-memory-management–5eea6a0a39140f30f369daf8
- https://www.appsecengineer.com/blog/the-cybersecurity-professionals-guide-to-kernel-exploits
- https://www.sanfoundry.com/1000-cyber-security-questions-answers/
- https://www.easycodingzone.com/2021/07/multiple-choice-questions-on-memory.html
- https://www.includehelp.com/mcq/computer-memory-mcqs.aspx
- https://www.sanfoundry.com/cyber-security-questions-answers-buffer-overflow-1/
- https://www.alooba.com/skills/tools/vulnerability-assessment-420/exploitation-techniques/
- https://www.scribd.com/document/891250422/Memory-MCQs-Answers
- https://www.imperva.com/learn/application-security/buffer-overflow/
- https://examradar.com/malware-viruses-worms-trojans-mcqs-multiple-choice-questions-with-answers/
- https://www.sanfoundry.com/cyber-security-questions-answers-test/