Deploy and manage Azure compute resources Flashcards
What cloud service model does an Azure VM classify as?
infrastructure as a service (IaaS).
What is the responsibility of the cloud service provider in the infrastructure as a service (IaaS) cloud service model?
Datacenter/physical networking and hosts.
By default, do Azure VMs and networks communicate with external IPs?
No; Services outside the virtual network can’t connect to services within the virtual network.
How is the VM name determined?
Computer name set in the OS.
What is the max amount of characters that a VM name can be?
15 for windows, 64 for linux.
When choosing a VM name what is best practice?
Choose names that are meaningful and consistent to identify what the virtual machine does and where it is located.
What are common elements that can be included in the VM name?
Environment/purpose; Location; Instance/version; Service/Role.
When utilizing an Azure VM, what two components make up the total cost of VM usage?
Compute and Storage.
To better keep track of the compute and storage costs of an Azure VM, what is best practice?
Separate billing costs to better understand usage.
How are VM compute resources priced and billed?
Priced on a per-hour basis but billed on a per-minute basis.
What determines the ultimate cost of VM compute resources?
Price varies based on the virtual machine config and and operating system.
What are the two compute expense payment options?
- Consumption-based
- Reserved Virtual Machine Instances
Describe ‘Consumption-based’ compute expensing for Azure VMs
Pay for compute capacity by the second and able to scale/stop at any time.
What is the best use case for consumption based compute expensing for Azure VMs?
Applications with short-term or unpredictable workloads that can’t be interrupted.
Describe ‘Reserved Virtual Machine Instances’ compute expensing for Azure VMs
An upfront purchase of a VM for one or three years in a specified region.
What is the benefit of using reserved VM Instances?
72% price savings compared to pay-as-you-go pricing.
Can a reserved VM instance be terminated early or scaled?
Yes; Exchanged or returned for an early termination fee.
What is the best use case for reserved VM Instances?
If the virtual machine has to run continuously, or you need budget predictability.
How are storage expenses priced and billed for Azure VM instances?
Charged separately for the Azure Storage used by the virtual machine.
If a VM is powered off, or deleted, how is storage priced/billed?
Status of the VM has no relation to the Azure Storage charges incurred; Always charged for any Azure Storage used by the disks.
Can Azure VM host more than Windows/Linux OS?
Yes; Azure marketplace has install images for a variety of OS and other virtual systems/networking images.
How are VM capabilities determined?
Azure provides different configs that come with different levels of CPU, Memory, and storage instead of specifying them independently.
What is best practice when determining VM sizing and capabilities?
Consider the type of workload your virtual machine needs to run.
What are the Azure provided VM size classifications?
General purpose; Compute optimized; Memory optimized; Storage optimized; GPU; High performance computes.
By default, how many virtual disks (VHDs) are allocated to a VM?
Two disks: an operating system disk and a temporary disk.
Can additional virtual hard disks (VHDs) be added to a VM?
Yes; Also known as data disks.
Describe an OS virtual hard disk (VHD)
A pre-installed operating system registered as a SATA drive; Labeled “c:” by default.
What is best practice for utilizing a temporary disk?
Any data on the temporary drive shouldn’t be data that’s critical to the system or any application on the system.
What does Azure register a data disk as?
Registered as SCSI drives and are labeled with a letter you choose.
What is the max amount of VM storage Azure provides?
256TB
What is an Azure-managed virtual hard disk (VHD) stored as in Azure storage?
Stored as page blobs
Define ‘Azure Bastion’
Fully managed PaaS; Provides RDP/SSH connectivity to your virtual machines directly over SSL without the need for a public IP.
What is the best use case for a general purpose VM classification?
Testing/development; Small DBs; Low-Med traffic web servers.
What is the best use case for a compute optimized VM classification?
Medium traffic web servers; Network appliances; App servers.
What is the best use case for a memory optimized VM classification?
Relational DBs; med-large caches; in-memory analytics.
When managing an Azure VM, how should maintenance and downtime be considered?
An availability plan should be created; Include strategies for unplanned hardware maintenance, unexpected downtime, and planned maintenance.
Describe an availability set and its purpose
Logical grouping/deployment to ensure a group of related virtual machines are deployed and managed together.
What is best practice when placing VMs in an availability set?
All VMs should perform the identical set of functionalities and have the same software installed.
To ensure availability, how does Azure manage VMs in an availability set?
VMs in an availability set run across multiple physical servers, compute racks, storage units, and network switches.
Can a VM and an availability set be created at the same time?
Yes.
Can a VM be added to an availability set after its created?
No; Can only be added to an availability set when the virtual machine is created.
How/where can availability sets be created?
Azure portal, Azure Resource Manager (ARM) templates, scripting, or API tools.
Does Microsoft Azure provide SLAs for VMs?
Yes.
In regards to a VM availability set, what are the two node concepts Azure uses to ensure high availability when deploying or upgrading applications across an availability set?
Update domains and fault domains.
Define an “update domain”
A group of nodes that are upgraded together during the process of a service upgrade (or rollout).
What is the purpose/function of an update domain?
Allows Azure to perform incremental or rolling upgrades across a deployment.
How should VMs be organized into update domains?
a set of VMs and associated physical hardware that can be updated and rebooted at the same time.
When there is planned maintenance, how many update domains are updated at a time?
One at a time.
How many default update domains does Azure provide?
5