DEEP DIVE — Virtual Machines (VMs) Flashcards

(30 cards)

1
Q

What is a Virtual Machine?

A

a simulated computer system that runs within a physical computer

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

What does a Virtual Machine Do?

A

create a virtual environment where you can run different operating systems and software. It’s like having multiple computers running on a single piece of hardware

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

what are the 5 types of Virtual Machines

A

B-Series, D-series. F-series. E-series, NC-series

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

B-Series

A

burstable, cheap, light workloads, small website

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

D-series

A

general purpose, balanced CPU/memory, App servers, databases

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

F-Series

A

Need Strong CPU for fast calculations

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

E-Series

A

Needs lots of Ram for big databases

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

NC-series

A

is a GPU VM, graphics heavy stuff (Ai, video rendering,)

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

Why use virtual machines?

A

flexibility, scalability, global access and cost savings

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

What is Flexible about virtual machines

A

can spin up a machine for 2 hours and shut it down (only pay for 2 hours)

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

what are the real world uses of VMs

A

Hosting Websites, Running Database servers, Setting up testing environments for new apps, hosting game servers, creating secure servers for remote work.

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

Components of a VM

A

Operating System, CPU, RAM (Memory), Storage, Network Interface.

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

Operating System

A

What system it runs, Windows server 2022, Ubuntu Linux

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

CPU

A

How much processing power

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

Ram (memory)

A

How much “desk space” for active work.

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

Storage

A

Virtual hard drives, SSD and HDD

17
Q

Network Interface

A

Virtual “ethernet port” for internet, connects to a Virtual Network (Vnet)

18
Q

Optional extras for a VM

A

Back up plans, monitoring/logging, Auto-shutdown settings (to avoid wasting money).

19
Q

How are VMs Billed?

A

billed per second or minute they are running.

20
Q

what do you Pay for on a running VM

A

Compute ( CPU + RAM usage, Storage (Vms disks), Networking (outbound data traffic if big enough).

21
Q

When you deallocate your VM, what do you still pay for?

A

You still pay for storage, but stop paying for compute.

22
Q

why should you turn off AND deallocate

A

because Azure keeps billing, the VM’s are still reserved for the user.

23
Q

What are 3 good security practices to secure a VM

A

Set strong passwords/SSH keys, use Network Security Groups (NSG), use Azure bastion.

24
Q

What does a Network Security Group (NSG) do?

A

blocks unwanted access (like a firewall).

25
What does Azure Bastion do
connects VM without exposing it to the internet
26
Availability set
Groups VMs in way that protects from hardware failures (high availability).
27
Availability Zone
Spread VMs across different physical locations inside a region (even safer).
28
Scale Set
Automatically scale VM numbers up/down based on demand (like auto-spawning Vms).
29
Managed Disk
Azure manages your VMs storage disks for you (more reliability).
30
Snapshots
backup copy of a VM disk at a point in time (for recovery).