Virtualization Concepts Flashcards

1
Q

What is virtualization?

A

Virtualization uses a single physical host to run multiple virtual machines (VMs) or guest operating systems via a hypervisor, which allocates resources like CPU, memory, and storage.

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

What are the types of hypervisors and their examples?

A

• Type 1 (Bare Metal): Runs directly on hardware. Examples: Hyper-V, ESXi, XenServer.
• Type 2 (Hosted): Runs on a host OS. Examples: VMware Workstation, VirtualBox.

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

What are the benefits of virtualization?

A

• Resource Efficiency: Reduces need for additional physical servers.
• Flexibility: Multiple OSes on one machine for testing or tasks.
• Management: Hypervisor efficiently allocates resources.

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

What are key security considerations for virtualization?

A

• Each VM requires independent updates and security configurations.
• Proper management of hypervisor and VM access is critical to prevent breaches.

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

What is containerization?

A

Containerization uses the host OS kernel to run isolated applications without separate OS instances, offering more efficient resource usage. Examples: Docker, Kubernetes.

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

What are the benefits of containerization?

A

• Resource Efficiency: Containers share the host OS, reducing storage needs.
• Isolation: Containers are isolated, adding a security layer.

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

What are the main security risks in virtualization?

A

• VM Escape: When an attacker bypasses VM isolation to access the hypervisor.
• VM Hopping: Moving between VMs in the same host environment.

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

What are the risks with hypervisor vulnerabilities?

A

Exploits in hypervisors can lead to widespread exposure if the platform is compromised. Regular patching and using multiple hypervisors can reduce risk.

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

What are the resource requirements for virtualization?

A

• CPU: Virtualization extensions (Intel VT-x or AMD-V) are required for optimal performance.
• RAM: Allocate sufficient memory for both the host OS and VMs (e.g., 4-8 GB for each VM).
• Storage: VMs need space for OS and files (20-50 GB per VM).

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

How do you prevent VM escape?

A

• Regularly update guest OS, host OS, and hypervisors.
• Use trusted hypervisors and avoid outdated software.

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

What is the risk of live migration in virtualization?

A

If migration occurs over an unencrypted network, sensitive data can be exposed.
Prevention: Encrypt migration traffic and ensure secure networks.

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

How do you configure a Windows 10 VM in VirtualBox?

A
  1. Download a Windows 10 VM from Microsoft’s website.
  2. Extract and import the OVF file into VirtualBox.
  3. Configure resources like CPU and RAM.
  4. Start the VM and log in with default credentials.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How do you secure a VM by encrypting its disk?

A
  1. Open VirtualBox and go to Settings > General tab > Disk Encryption.
  2. Enable encryption with a strong cipher (AES-256).
  3. Set a strong password to protect the VM data.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why should you disable shared folders in VirtualBox?

A

Shared folders could transfer viruses between the host and VM.
Prevention: Remove shared folders unless necessary, and use read-only mode if needed.

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