AZ-204 Developing Solutions for Microsoft Azure

AZ-204 exam preparation: learning paths, Cloud Shell reference, and App Service deployment walkthrough.

Learning Paths

  • Create serverless applications 1
  • Store data in Azure 2
  • Connect your services together 3
  • Deploy a website with Azure virtual machines 4
  • Manage resources in Azure 5
  • Deploy a website to Azure with Azure App Service 6
  • Secure your cloud data 7

Cloud Shell Runtime Reference

List available built-in stacks for web apps:

az webapp list-runtimes --os-type linux
az webapp list-runtimes --os-type windows --show-runtime-details

Linux Runtimes

Runtime Versions
DOTNETCORE 9.0, 8.0, 7.0, 6.0
NODE 22-lts, 20-lts, 18-lts, 16-lts
PYTHON 3.13, 3.12, 3.11, 3.10, 3.9, 3.8
PHP 8.4, 8.3, 8.2, 8.1, 8.0
JAVA 21, 17, 11, 8
JBOSSEAP 8 (java17, java11), 7 (java17, java11, java8)
TOMCAT 11.0, 10.1, 10.0, 9.0, 8.5 (various Java versions)

Windows Runtimes

Runtime Versions
dotnet 9, 8, 7, 6
ASPNET V4.8, V3.5
NODE 20LTS, 18LTS, 16LTS
JAVA 21.0.x, 17.0.x, 11.0.x, 1.8.x
TOMCAT 11.0.2, 10.1.34, 10.1.31, 10.0.27, 9.0.98, 8.5.100 (various Java versions)

CLI Help

az webapp list-runtimes -h
# Arguments:
#   --os --os-type    Limit output to linux or windows runtimes
#   --show-runtime-details  Show detailed versions

App Service Deployment via Local Git

End-to-end walkthrough deploying a .NET app to Azure App Service using local Git:

# 1. Set deployment user
az webapp deployment user set --user-name <username> --password <password>

# 2. Create resource group
az group create --name <rg-name> --location francecentral

# 3. Create App Service plan (Free tier, Linux)
az appservice plan create --name <plan-name> --resource-group <rg-name> --sku F1 --is-linux

# 4. Create web app with local Git deployment
az webapp create \
  --resource-group <rg-name> \
  --plan <plan-name> \
  --name <app-name> \
  --runtime "DOTNETCORE|3.1" \
  --deployment-local-git

# 5. Get the Git deployment URL
az webapp deployment source config-local-git \
  --name <app-name> \
  --resource-group <rg-name>

# 6. Get SCM URI for publishing credentials
az webapp deployment list-publishing-credentials \
  --name <app-name> \
  --resource-group <rg-name> \
  --query scmUri --output tsv

# 7. Add Azure remote and push
git remote add azure https://<username>@<app-name>.scm.azurewebsites.net/<app-name>.git
git push azure master

# 8. Clean up
az group delete --name <rg-name>

The app is accessible at https://<app-name>.azurewebsites.net. Deployment logs are available at the SCM site under /newui/jsonviewer?view_url=/api/deployments/<commit>/log.

Azure Free Tier

  • 12 months of free products — VMs, storage, and databases after upgrading to pay-as-you-go
  • 170 EUR credit — experiment with any Azure service in the first 30 days
  • 25+ always-free products — serverless, containers, and AI services
  • No automatic charges — upgrade is opt-in
< «