Virtualization Concepts Flashcards

(33 cards)

1
Q

What is virtualization?

A

A technology that allows one physical device to run multiple operating systems simultaneously. Each with its own separate OS, CPU, dedicated memory and network connection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a Virtual Machine (VM)?

A

A virtualized operating system running on a physical host computer. It behaves like a separate independent computer but shares the underlying physical hardware

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is host-based virtualization?

A

Running virtualized operating systems on top of a primary desktop OS. For example running Windows 11 and Linux VMs on top of a Mac OS host

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How does enterprise virtualization differ from host-based virtualization?

A

In enterprise environments a single server runs multiple VMs with no desktop OS. The entire machine is dedicated to hosting virtualized systems without a primary desktop interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is sandboxing in the context of virtualization?

A

An isolated virtualized environment used during software development to test code or run applications safely. If something goes wrong only that VM is affected and the host remains untouched

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a snapshot in virtualization and what is it used for?

A

A saved point-in-time copy of a VM configuration. Allows you to make changes and quickly revert back to the previous state if those changes cause problems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do snapshots benefit software developers?

A

Developers can create a snapshot before making changes, test new code and instantly roll back to the previous working state if something breaks without affecting other systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is one practical non-development use case for running multiple OS versions via virtualization?

A

Running legacy applications that only work in an older OS. For example running a Windows 10 VM alongside a Windows 11 host to access apps incompatible with Windows 11

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is cross-platform virtualization?

A

Running VMs of different operating system types on the same physical host. For example running Windows and Linux VMs simultaneously on a Mac OS host

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the two main resources saved by using virtualization instead of multiple physical computers?

A

Time (no rebooting to switch between operating systems) and hardware resources (multiple OS environments run on one physical machine)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Can virtual machines be started and stopped on demand?

A

Yes. You can start a VM when needed, run your application and shut it down when finished without rebooting the host system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How does virtualization help developers test across multiple operating systems?

A

Developers can create multiple VMs each running a different OS and test their code in each one to see how it behaves across platforms without needing separate physical machines

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the benefit of testing code in a VM that mirrors the production environment?

A

It allows developers to run and test code in an environment closely matching what end users will experience. Catching compatibility issues before deployment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

True or False: Virtualization requires a separate physical computer for each operating system you want to run.

A

False. Virtualization allows multiple operating systems to run simultaneously on a single physical machine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

True or False: Each virtual machine has its own dedicated memory and network connection.

A

True. Each VM operates with its own separate OS, CPU allocation, memory and network connection

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

True or False: Virtualization is a recent technology invented in the 2000s.

A

False. Virtualization was first introduced in 1967 on IBM mainframes

17
Q

True or False: In host-based virtualization the primary desktop OS is one of the virtualized guest systems.

A

False. In host-based virtualization the primary OS runs natively as the host and other operating systems are virtualized on top of it

18
Q

True or False: A snapshot allows you to revert a VM to a previous state if changes cause problems.

A

True. Snapshots capture a point-in-time configuration that can be restored quickly if needed

19
Q

True or False: If a VM crashes it will also crash the host operating system.

A

False. Virtualization isolates each VM so problems in one VM only affect that VM and do not impact the host or other VMs

20
Q

True or False: Virtualization can only run multiple versions of the same operating system type.

A

False. Cross-platform virtualization allows different OS types such as Windows, Linux and Mac OS to run simultaneously on the same host

21
Q

True or False: You must reboot your computer to switch between virtual machines.

A

False. You can switch between running VMs at any time without rebooting the host system

22
Q

True or False: Enterprise virtualization typically runs VMs on top of a standard desktop operating system.

A

False. Enterprise virtualization runs multiple VMs on a dedicated server with no desktop OS underneath

23
Q

True or False: Sandboxing in a virtualized environment means testing errors can spread to the host system.

A

False. Sandboxing isolates the VM so any errors or crashes are contained within that VM and do not affect the host

24
Q

True or False: Virtualization saves hardware costs by allowing multiple OS environments to run on one physical machine.

25
True or False: A developer must have a separate physical test machine to test in a production-like environment.
False. A VM can be configured to mirror the production environment allowing testing without separate physical hardware
26
Scenario: A developer wants to test a new app on Windows 10, Windows 11 and Linux without buying three computers. Solution?
Use virtualization. Create three separate VMs each running a different OS on one physical machine and test the application in each
27
Scenario: A developer is about to make major changes to a test VM. How can they protect against breaking something?
Take a snapshot of the VM before making changes. If the changes cause problems the VM can be instantly reverted to the previous snapshot
28
Scenario: A user runs Windows 11 but needs a legacy app that only works on Windows 10. Best solution without a second computer?
Create a Windows 10 VM on the Windows 11 host. The user can run both simultaneously and switch between them without rebooting
29
Scenario: A single powerful server hosts 20 VMs for different departments with no desktop interface. What type of virtualization is this?
Enterprise virtualization. A single physical server runs multiple VMs with no desktop OS, dedicated entirely to hosting virtualized systems
30
Scenario: A tester needs to verify a completed application works in the same environment end users will have. What should they set up?
A VM that mirrors the production environment. This allows realistic testing before deployment without access to actual production systems
31
Scenario: A security researcher wants to run malware samples without risking their main system. What virtualization feature makes this safe?
Sandboxing. The malware runs in an isolated VM and any damage is contained within that VM leaving the host system completely unaffected
32
Scenario: A Mac OS designer needs a Windows-only app for one afternoon. Most efficient solution?
Start a Windows VM on the Mac OS host, run the application and shut down the VM when finished. No second computer or rebooting required
33
Scenario: A technician is asked why the company uses virtualization instead of separate physical servers per department. Key reasons?
Cost savings (fewer physical machines), resource efficiency (one server hosts multiple VMs) and time savings (VMs can be started, stopped and reconfigured without physical hardware changes)