AZ-104
Azure scripts
AZ-104: PowerShell scripts for the Azure admin exam
A repository of Azure scripts for the Microsoft Azure Administrator Associate exam, updated to v2 with PowerShell 7 scripts aligned to the current topics.
What the repository is
The repo hosts scripts and resources for preparing for the AZ-104 exam, the Microsoft Azure Administrator Associate certification. A note up top says the repository has moved to v2, with refreshed scripts written in PowerShell 7 and aligned to the new course topics. The v1 directory stays around purely for reference. The exam itself covers identities and governance, storage, compute, virtual networking, and monitoring and backups.
The v2 refresh
The v2 scripts are the current path. They use PowerShell 7 and match the most recent exam topics. The v1 folder holds the older scripts based on the previous exam and is not under active development, so the README advises against using them for labs.
Folder structure and topics
The layout is simple: v1 for the original material and v2 for the updated set. Learners get a choice between the current topics and the historical ones. The practical use cases and exercises are spread across the administrative domains the exam tests.
The lab scripts in v2
The v2 lab scripts each build a small environment for one skill. A virtual networking script creates two workloads to practice network security group configurations, complete with a resource group, a virtual network, subnets, and four Ubuntu VMs. Another creates VMs in different regions to practice VNet peering. There are also labs for service endpoints, Application Gateway, load balancing, Azure Bastion, and monitoring and diagnostics. Every script keeps consistent defaults, including the region, VM size, and OS images, and prints the resource names and default credentials when done.
Caveats and contributions
The README carries real warnings. The scripts use hardcoded credentials for lab use only, they create billable Azure resources, and the subscription needs enough quota. Deleting resource groups after a lab avoids surprise charges. Issues and contributions are welcome, with the scripts organized so a specific admin task can be practiced in isolation.
Community notes