← Back to 16. Virtual Machines

πŸ“ Binary translation

πŸ“– From Operating System β€’ 16. Virtual Machines β€’ 16 questions available

Practice MCQs for Binary translation. Test your knowledge with carefully crafted questions across easy, medium, and hard difficulty levels.

πŸ”„ Last updated: 2026-07-27

3
Easy Questions
8
Medium Questions
5
Hard Questions

πŸ“ Sample Questions

Q1. What is binary translation in the context of virtualization?

πŸ”Ή A. A technique that dynamically rewrites guest code to run on a host CPU.
πŸ”Ή B. A static mapping of virtual addresses to physical memory.
πŸ”Ή C. A method of encrypting hypervisor binaries.
πŸ”Ή D. A protocol for remote desktop connections.

πŸ’‘ Difficulty: easy | βœ… Correct: A

Q2. Why does binary translation become more challenging on dual‑mode CPUs that only have user and kernel modes?

πŸ”Ή A. Because the host cannot directly execute guest kernel‑mode instructions without trapping them.
πŸ”Ή B. Because the guest's privileged instructions are identical to the host's user‑mode instructions.
πŸ”Ή C. Because dual‑mode CPUs lack any virtualization extensions to assist translation.
πŸ”Ή D. Because the guest OS does not need any privileged instructions on such CPUs.

πŸ’‘ Difficulty: medium | βœ… Correct: C

Q3. What is the main security implication of using binary translation to execute privileged guest code on a host without hardware support?

πŸ”Ή A. It isolates the guest completely, preventing any host compromise.
πŸ”Ή B. It introduces a larger attack surface because the translator must emulate privileged behavior.
πŸ”Ή C. It guarantees that all guest vulnerabilities are sanitized before execution.
πŸ”Ή D. It forces the guest to run in user mode, eliminating privilege escalation risks.

πŸ’‘ Difficulty: hard | βœ… Correct: B

⬆️ View all questions in the quiz below

πŸ”— Related Topics

πŸ“ Overview Virtual MachinesπŸ“ History Virtual MachinesπŸ“ Benefits and Features Virtual MachinesπŸ“ Building Blocks in Virtual MachinesπŸ“ Trap and emulate in Building Blocks
πŸš€ Start Quiz πŸ“ Practice Mode