Digital Environments · Virtual Environments
up to +80 XP
Stop 7.4 · Digital Environments · 3 min

Virtual Environments

How virtual environments allow multiple isolated systems to run on one physical computer

Learning Objectives:
  • Understand what virtual environments and virtual machines (VMs) are.
  • Identify key components: clients, servers, and hypervisors (Type 1 and Type 2).
  • Explain key features and benefits of virtual environments (security, isolation, portability, cost-effectiveness).
  • Recognise drawbacks, such as extra hardware load, slower performance, and potential false representation of performance.

Virtual Environments

A virtual environment is a controlled digital space that allows one physical computer to run multiple isolated systems at the same time. It’s used to test, share, or secure programs without affecting the main machine.

Common Virtual Environment Components

  • Virtual Machines (VMs) – Isolated systems inside a virtual environment. Behaves like a full computer with its own OS and apps, even though it runs on another computer
  • Clients – Virtual PC, virtual switch, virtual router
  • Servers – VMs running server roles (databases, file servers, etc.)
  • Hypervisors:
    • Type 1 (Bare Metal) – Runs directly on hardware, used in enterprise (e.g., VMware ESXi, Hyper-V Server)
    • Type 2 (Hosted) – Runs on top of an OS, often used for development/testing (e.g., VirtualBox, VMware Workstation)

Key Features of Virtual Environments

  • Increased security – sandboxing prevents threats spreading to host
  • Managed execution – control over resources and execution environment
  • Sharing – multiple VMs can share physical hardware
  • Aggregation – pooling resources from multiple systems
  • Emulation – simulate different hardware/OS
  • Isolation – VMs don’t interfere with each other
  • Portability – VMs can be moved/copied easily

Benefits

  • Cost effectiveness – fewer physical machines needed
  • Easy management – centralised admin, snapshots
  • Resilience – fault tolerance, high availability
  • Lower carbon footprint – less hardware, less energy
  • Improved disaster recovery – fast backup and restore
  • Better testing environments – safe to test new software
  • Education/training – students can practice without real hardware

Drawbacks

  • Extra hardware load – VMs consume resources on the host
  • Slower execution time – overhead compared to bare metal
  • False representation of performance – tests in a VM might not reflect real-world hardware performance
Quick check · 8 questions

Check what stuck.

+10 XP each
Question 1

Question 1 of 8

What is a hypervisor?

Question 2

Question 2 of 8

Which hypervisor runs directly on the hardware?

Question 3

Question 3 of 8

Which hypervisor runs on top of an existing operating system?

Question 4

Question 4 of 8

Which feature means one virtual machine cannot interfere with another?

Question 5

Question 5 of 8

Which feature means a virtual machine can be moved or copied easily?

Question 6

Question 6 of 8

Which is a benefit of virtual environments?

Question 7

Question 7 of 8

Why might a test in a virtual machine be misleading?

Question 8

Question 8 of 8 · Match the pairs

Match each virtual environment feature to its meaning.

Isolation
Emulation
Aggregation
Portability