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).
Practice questions
Which cloud service type does Azure Virtual Machines belong to?
- Software as a service (SaaS)
- Platform as a service (PaaS)
- Infrastructure as a service (IaaS)
- 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.
Which resources does every Azure VM need in order to run?
- At least one network interface (NIC)
- A public IP address
- A virtual network with a subnet
- A network security group (NSG)
- 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.
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.
