Bitzu

AZ-900 ยท Compute and application hosting

Azure Virtual Machines and their resources

When to use Azure VMs (IaaS, full OS control) and the resources a VM needs: size, disks, virtual network, network interface, public IP and network security group.

Key points

  • Azure VMs are IaaS: you control the OS and installed software, and you still patch and configure the guest OS.
  • Uses: full OS control, custom software, lift-and-shift, dev/test, datacenter extension, disaster recovery.
  • Required: size (family, vCPUs, RAM), OS disk, virtual network with a subnet, at least one NIC.
  • Optional: public IP, network security group (NSG: allow/deny rules on a subnet or NIC).

Source: https://learn.microsoft.com/en-us/training/modules/describe-azure-compute-networking-services/2-virtual-machines

Practice questions

Single choice

Which cloud service type does Azure Virtual Machines belong to?

  1. Software as a service (SaaS)
  2. Platform as a service (PaaS)
  3. Infrastructure as a service (IaaS)
  4. Function as a service (FaaS)
Show answer

Answer: C. Infrastructure as a service (IaaS)

Azure VMs are infrastructure as a service: Azure provides the virtualized hardware and you manage the OS and everything above it. PaaS and SaaS hide the operating system from you.

Select all that apply

Which resources does every Azure VM need in order to run?

  1. At least one network interface (NIC)
  2. A public IP address
  3. A virtual network with a subnet
  4. A network security group (NSG)
  5. An operating system disk
Show answer

Answer: A. At least one network interface (NIC), C. A virtual network with a subnet, E. An operating system disk

Every VM has an OS disk, at least one network interface, and that NIC connects to a subnet of a virtual network. A public IP address is optional (a VM can be reached privately), and a network security group is recommended but optional.

True or false

When you run an Azure VM, Microsoft patches and updates the guest operating system inside it for you.

Show answer

Answer: False

False. VMs are IaaS: Azure maintains the physical hardware, but patching, updates and configuration inside the VM remain your job. Handing OS patching to Azure is what PaaS services such as App Service offer.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More AZ-900 topics in this module