Blog

MCQs

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.


  1. 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​
  2. 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​
  3. 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​
  4. 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​
  5. Paging divides each process into fixed-size units called:
    a. Frames
    b. Pages
    c. Segments
    d. Blocks
    Answer: b. Pagestestbook​
  6. The counterpart of a page in physical memory is called a:
    a. Block
    b. Frame
    c. Segment
    d. Cell
    Answer: b. Frametestbook​
  7. Memory allocation that ensures non-contiguous data placement is known as:
    a. Paging
    b. Contiguous Allocation
    c. Static Mapping
    d. Segmentation
    Answer: a. Pagingtestbook​
  8. 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​
  9. Which memory segment holds dynamically allocated data?
    a. Stack
    b. Heap
    c. Data Segment
    d. ROM
    Answer: b. Heapmedium.verylazytech​
  10. Stack memory usually grows:
    a. Upward
    b. Downward
    c. Laterally
    d. Exponentially
    Answer: b. Downwardmedium.verylazytech​
  11. 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​
  12. Which technique moves processes between main memory and disk as needed?
    a. Swapping
    b. Scheduling
    c. Fragmenting
    d. Defragmenting
    Answer: a. Swappingstudocu​
  13. 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​
  14. 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​
  15. 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​
  16. In cybersecurity, volatile memory includes:
    a. ROM
    b. Disk Storage
    c. RAM
    d. Flash Memory
    Answer: c. RAMconquer-your-risk​
  17. Which of the following is non-volatile memory?
    a. RAM
    b. Registers
    c. Cache
    d. ROM
    Answer: d. ROMconquer-your-risk​
  18. 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​
  19. Stack-based buffer overflow manipulates:
    a. Stack Pointer
    b. Heap Size
    c. Cache Index
    d. DMA Access
    Answer: a. Stack Pointermedium.verylazytech​
  20. Which memory segment stores global and static variables?
    a. Heap
    b. Data Segment
    c. Stack
    d. Text Segment
    Answer: b. Data Segmentmedium.verylazytech​
  21. 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​
  22. 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​
  23. Heap and stack corruption are examples of:
    a. Logical Errors
    b. Memory Exploitation
    c. Access Timeouts
    d. Interrupt Failures
    Answer: b. Memory Exploitationmedium.verylazytech​
  24. 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​
  25. 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​
  26. Which tool is commonly used to identify buffer overflow vulnerabilities?
    a. Wireshark
    b. Valgrind
    c. Nmap
    d. Netcat
    Answer: b. Valgrindwebasha​
  27. 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​
  28. 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​
  29. 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​
  30. Integer overflow leads to:
    a. Memory Misallocation
    b. Network Flood
    c. CPU Hang
    d. Disk Fragmentation
    Answer: a. Memory Misallocationwebasha​
  31. 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​
  32. Boundary checks in code help prevent:
    a. Phishing
    b. Buffer Overflow
    c. Backdoors
    d. DNS Hijacking
    Answer: b. Buffer Overflowwebasha​
  33. Which memory fault triggers context switching?
    a. Page Fault
    b. Interrupt
    c. Stack Overflow
    d. Cache Miss
    Answer: a. Page Faultstudocu​
  34. Paging eliminates which memory issue?
    a. Fragmentation
    b. Overflow
    c. Fault
    d. Delay
    Answer: a. Fragmentationtestbook​
  35. 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​
  36. MESI protocol helps maintain:
    a. Cache Coherence
    b. Memory Paging
    c. Buffer Timings
    d. ROM Access
    Answer: a. Cache Coherencetestbook​
  37. Virtual memory allows:
    a. Access beyond physical limits
    b. Faster disk reads
    c. Kernel execution
    d. Register duplication
    Answer: a. Access beyond physical limitssanfoundry​
  38. 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​
  39. A memory protection barrier prevents:
    a. Inter-process interference
    b. CPU scheduling
    c. Register swapping
    d. Data caching
    Answer: a. Inter-process interferencefiveable​
  40. Memory management errors may result in:
    a. System compromise
    b. Faster I/O
    c. Accurate access times
    d. Reduced segmentation
    Answer: a. System compromisewebasha​
  41. 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​
  42. Which instruction pointer register is targeted in stack-based exploits?
    a. EIP
    b. ESP
    c. ALU
    d. PC
    Answer: a. EIPmedium.verylazytech​
  43. An attacker manipulating stack return addresses aims for:
    a. Privilege Escalation
    b. File Deletion
    c. Encryption
    d. Spoofing
    Answer: a. Privilege Escalationwebasha​
  44. 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​
  45. 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​
  46. 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​
  47. Memory fragmentation reduces:
    a. Memory utilization efficiency
    b. Process separation
    c. Thread priority
    d. Input overflow
    Answer: a. Memory utilization efficiencysanfoundry​
  48. Which type of overflow targets dynamic allocations?
    a. Heap Overflow
    b. Stack Overflow
    c. Page Overflow
    d. Integer Overflow
    Answer: a. Heap Overflowwebasha​
  49. 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​
  50. 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​
  1. https://www.sanfoundry.com/computer-fundamentals-questions-bank/
  2. https://gtu-mcq.com/BE/Computer-Engineering/Semester-4/3140702/5238/MCQs?q=9aZHDjblmRk%3D
  3. https://testbook.com/objective-questions/mcq-on-memory-management–5eea6a1539140f30f369f31b
  4. https://www.webasha.com/blog/what-is-a-buffer-overflow-attack-and-how-to-prevent-it-with-secure-coding-techniques-the-detailed-guide
  5. https://medium.verylazytech.com/mastering-memory-exploitation-fundamentals-stack-overflows-shellcode-format-string-bugs-and-353270ec8128
  6. https://www.studocu.com/row/document/kwame-nkrumah-university-of-science-and-technology/computer-science/os-set-6-memory-managemet/54816900
  7. https://www.conquer-your-risk.com/2021/08/15/understanding-and-mitigating-the-risk-of-computer-memory-exploitation/
  8. https://fiveable.me/network-security-and-forensics/unit-8/exploitation-techniques/study-guide/MeorUk1RHoNyEPcJ
  9. https://www.fortinet.com/resources/cyberglossary/buffer-overflow
  10. https://testbook.com/objective-questions/mcq-on-memory-management–5eea6a0a39140f30f369daf8
  11. https://www.appsecengineer.com/blog/the-cybersecurity-professionals-guide-to-kernel-exploits
  12. https://www.sanfoundry.com/1000-cyber-security-questions-answers/
  13. https://www.easycodingzone.com/2021/07/multiple-choice-questions-on-memory.html
  14. https://www.includehelp.com/mcq/computer-memory-mcqs.aspx
  15. https://www.sanfoundry.com/cyber-security-questions-answers-buffer-overflow-1/
  16. https://www.alooba.com/skills/tools/vulnerability-assessment-420/exploitation-techniques/
  17. https://www.scribd.com/document/891250422/Memory-MCQs-Answers
  18. https://www.imperva.com/learn/application-security/buffer-overflow/
  19. https://examradar.com/malware-viruses-worms-trojans-mcqs-multiple-choice-questions-with-answers/
  20. https://www.sanfoundry.com/cyber-security-questions-answers-test/

Leave a Reply

Your email address will not be published. Required fields are marked *

error: Content is protected !!