Sub topic 10
Virtualization and Cloud Computing: Models and Client-Side Concepts
This chapter covers the Core 1 domain on virtualization and cloud computing. It assumes you know what a CPU, RAM, and storage do, and that you can describe a router and an IP address in a sentence. It also assumes you have read the earlier chapter on domains and weightings. This domain is usually the smallest on Core 1, at roughly 11% of scored content in recent versions. Confirm the current figure in CompTIA's official exam objectives. The questions are mostly short definitions and scenarios. They are good points to collect, and the vocabulary is easy to mix up.
Two ideas that often get blended
Virtualization and cloud computing are related but different.
- Virtualization is software that divides one physical machine's resources into several isolated virtual machines (VMs). It is a technology.
- Cloud computing is renting computing resources over a network from a provider. It is a service delivery model. Providers usually build clouds on virtualization, but a cloud is defined by how you consume it.
An exam question about running a second operating system on your own laptop is a virtualization question. A question about paying a provider for storage by the gigabyte is a cloud question.
Cloud service models
A service model describes how much of the technology stack the provider manages for you.
| Model | You get | You manage | Typical example |
|---|---|---|---|
| IaaS (Infrastructure as a Service) | Virtual servers, storage, networks | OS, applications, data | A VM rented from a public provider |
| PaaS (Platform as a Service) | A runtime platform for building apps | Your application and data | A hosted environment for deploying code |
| SaaS (Software as a Service) | A finished application | Your accounts and data | Web email, online office suites |
A quick test for scenario questions: the more the provider manages, the less control you have. IaaS gives the most control and SaaS gives the least.
Cloud deployment models
A deployment model describes who can use the cloud and who owns it.
- Public cloud: shared infrastructure owned by a provider and available to many customers.
- Private cloud: infrastructure used by a single organization. It can be hosted on-premises or by a third party.
- Hybrid cloud: a combination of public and private clouds that share data or workloads.
- Community cloud: shared by several organizations with common needs, such as a group of agencies with the same compliance rules.
Do not mix up service and deployment models. "SaaS" and "public cloud" answer different questions: what you consume, and where it runs.
Cloud characteristics
Know these terms, because the exam often describes a behavior and asks for its name.
- Shared resources: many customers draw from one pool of hardware. This is sometimes called multitenancy.
- Metered utilization: you pay for what you use, such as storage or compute hours.
- Rapid elasticity: capacity grows or shrinks quickly to match demand. A shop that adds servers for a holiday sale and removes them afterward is using elasticity. Scalability is the related ability to handle growth.
- High availability: the service stays up despite component failures, usually through redundancy across multiple systems or locations.
- File synchronization: files are kept identical across a cloud store and multiple devices. Edit on a phone, and the laptop copy updates.
Hypervisors and virtual machines
A hypervisor is the software that creates and runs VMs. The physical machine is the host. Each VM is a guest with its own virtual CPU, memory, disk, and network adapter.
- Type 1 (bare metal): runs directly on the hardware with no general-purpose OS underneath. It is common in data centers.
- Type 2 (hosted): runs as an application on top of a normal OS such as Windows, macOS, or Linux. It is common on desktops and laptops, and it is the type you meet in client-side virtualization.
A container differs from a VM. Containers share the host's OS kernel and package only an application and its dependencies. They start faster and use fewer resources, but they are less isolated than full VMs.
Client-side virtualization
Client-side virtualization means running VMs on an ordinary user workstation. Common purposes, and the wording the exam favors:
- Sandbox: an isolated environment for testing suspicious software or updates without risking the host. A snapshot lets you roll back afterward.
- Test development: developers and testers try software on several operating systems without extra hardware.
- Application virtualization: running an app that is delivered or isolated from the local OS. A related case is running a legacy application that needs an older OS.
- Cross-platform use: running a Windows-only program on a Mac or Linux machine through a guest OS.
A related model is virtual desktop infrastructure (VDI), where a user's desktop runs as a VM on a central server and the user connects from a thin client or another device.
Requirements and limits
A VM borrows resources from the host, so the host needs headroom.
- CPU support: the processor must offer hardware virtualization extensions, called Intel VT-x or AMD-V. Second-level address translation (SLAT) improves memory handling.
- Firmware setting: the extensions are often disabled by default. Enable them in BIOS/UEFI.
- RAM: the host and every running guest need memory at the same time. Too little causes heavy slowdown.
- Storage: each VM has a virtual disk file that can grow to many gigabytes. Fast storage, such as an SSD, helps.
- Network: a VM's virtual adapter can be bridged to the physical network, NATed behind the host, or isolated on a host-only network.
You can check Windows support from PowerShell:
Get-ComputerInfo -Property HyperVRequirementVirtualizationFirmwareEnabled, HyperVRequirementSecondLevelAddressTranslation, HyperVisorPresentHyperVRequirementVirtualizationFirmwareEnabled shows True when the BIOS/UEFI setting is on. If a hypervisor is already running, Windows reports HyperVisorPresent as True and may leave the requirement fields blank.
How this appears on the exam
Most items in this domain are multiple-choice or multiple-response questions. A performance-based question may ask you to match each description to a model, such as IaaS, PaaS, SaaS, public, or private. It may also ask you to order steps for setting up a VM. Read each stem for the clue: who manages what, who owns the infrastructure, or what the VM is for. Because the domain is small, it rewards short, focused review rather than long study blocks.
Exercise
A company rents virtual servers from a provider. It installs its own operating system and database on them. Which service model is this, and who patches the operating system?
Show answer
This is IaaS. The customer patches the operating system, because under IaaS the provider manages only the hardware, network, and hypervisor.
Exercise
A technician installs a Type 2 hypervisor on a laptop, but the VM refuses to start and reports that hardware virtualization is unavailable. The CPU supports VT-x. What is the most likely fix?
Show answer
Enable the virtualization extension (Intel VT-x, or AMD-V on AMD systems) in the BIOS/UEFI settings, then restart. These extensions are often disabled by default.
Exercise
Name the cloud characteristic that lets a retailer add servers during a holiday sale and remove them afterward, and say how it differs from metered utilization.
Show answer
Rapid elasticity. Elasticity is about changing capacity quickly to match demand. Metered utilization is about billing for what is actually consumed.