Compute: VMs Flashcards

1
Q

Virtual Machine Extensions

A

Small applications that provide post-deployment config and automation tasks on Azure VMs.

(e.g., software installation, anti-virus protection, configuration script inside)

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

Naming VMs

A

A good convention is to include environment, location, instance, product/service, role.

(e. g., devusc-webvm01) dev environment, located in US south central, for web dev
(e. g., prodausse-sql03) prod in Australia south east, for sql, 3rd instance.

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

VMs - Compute costs

A

Priced per hour
Charged per minute

Stopping and deallocating a VM releases the hardware and incurs no cost

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

VM Storage costs

A

Charged for the storage a VM uses.

Status of VM has no relation to storage charges (i.e., a stopped/deallocated VM still incurs storage costs)

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

VMs disks

A

All Azure VMs have at least two disks.

OS disk (C:\)
Temp disk (D:\)
Can have one or mare data disks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Connecting to virtual machines - windows os

A

Remote Desktop Protocol (RDP) - establish a GUI

Windows Remote Management (WinRM) - establish a command line session to an Azure VM that runs any supported version of windows.

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

connecting to virtual machines (linux)

A

SSH is an encrypted connection protocol that allows secure sign-ins over unsecured connections. SSH is the default connection protocol for Linux VMs hosted in Azure.

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

VMs : Update Domain

A

An update domain (UD) is a group of nodes that are upgraded together during the process of a service upgrade (rollout).

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

VMs: Fault Domain

A

A fault domain (FD) is a group of nodes that represent a physical unit of failure. A fault domain defines a group of virtual machines that share a common set of hardware, switches, that share a single point of failure.

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

Availability Zones: Zonal Services

A

Pins the resource to a specific zone (for example, virtual machines, managed disks, Standard IP addresses).

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

Availability Zones: Zone-redundant services.

A

Platform replicates automatically across zones (for example, zone-redundant storage, SQL Database).

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

Custom Script Extensions (CSE)

A

used to automatically launch and execute virtual machine customization tasks post configuration.

Your script extension may perform simple tasks such as stopping the virtual machine or installing a software component. However, the script could be more complex and perform a series of tasks.

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

Desired State Configuration (DSC)

A

is a management platform in Windows PowerShell. DSC enables deploying and managing configuration data for software services and managing the environment in which these services run.

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

Containers vs VMs: Isolation

A

Container: lightweight isolation from the host and other containers

VMs: Complete isolation from the host OS and other VMs (strong security boundary)

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

Containers vs VMs: OS

A

Containers: Runs the user mode portion of an operating system and can be tailored to contain just the needed services for your app.

VMs: Runs a complete operating system including the kernel, thus requiring more system resources (CPU, memory, and storage).

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

Containers vs VMs: Deployment

A

Containers: Deploy individual containers by using Docker via command line; deploy multiple containers by using an orchestrator such as Azure Kubernetes Service.

VMs: Deploy individual VMs by using Windows Admin Center or Hyper-V Manager; deploy multiple VMs by using PowerShell or System Center Virtual Machine Manage

17
Q

Containers vs VMs: Persistent Storage

A

Containers: Use Azure Disks for local storage for a single node, or Azure Files (SMB shares) for storage shared by multiple nodes or servers.

VMs: Use a virtual hard disk (VHD) for local storage for a single VM, or an SMB file share for storage shared by multiple servers.

18
Q

Containers vs VMs: Fault Tolerance

A

Containers: If a cluster node fails, any containers running on it are rapidly recreated by the orchestrator on another cluster node.

VMs can fail over to another server in a cluster, with the VM’s operating system restarting on the new server.