Running .NET 10 in the cloud: the Azure services Australian employers use most (plus AWS equivalents), containers and Kubernetes, reverse proxies and gateways, CI/CD with GitHub Actions and Azure DevOps, and infrastructure as code.
-
Code review: a teammate's Azure DevOps YAML pipeline builds a .NET 10 API and deploys it straight to production on every push to any branch. It has no test step, a SQL admin password in a pipeline variable, an Owner-level service connection and no environment approvals. What do you flag, in what order, and what does the fixed pipeline look like?
Reviews an unsafe Azure DevOps pipeline: missing test gate, plain-text secrets, over-privileged service connection, no environments or approvals, deploys from any branch, rebuilds per stage, and shows the corrected pipeline.
Senior
CodeReview
CI/CD
Β· π 3 follow-ups Β· π 1 real-world
-
What is infrastructure as code, and why does click-ops in the Azure Portal fail as a team grows? Explain declarative versus imperative IaC, idempotency and drift, and how IaC changes go through pull requests and pipelines like application code.
Covers what infrastructure as code is, declarative versus imperative tools, idempotency, drift, environment parity and the pull-request workflow for infrastructure, compared with manual portal changes.
Junior
Theory
Infrastructure as Code
Β· π 3 follow-ups
-
Write Bicep that deploys a .NET 10 API to Azure Container Apps with a Key Vault and an Azure SQL database, using a managed identity instead of any connection-string secrets. How do you assign RBAC roles in Bicep, structure parameters per environment, and what can Bicep not do for you?
Covers a Bicep template for Container Apps, Key Vault, Azure SQL with Entra-only authentication, a user-assigned managed identity, role assignments with deterministic guid names, .bicepparam files, what-if, and the database user step Bicep cannot perform.
Intermediate
Coding
Infrastructure as Code
Β· π 3 follow-ups
-
How do you choose between Bicep, ARM templates, Terraform (or OpenTofu) and Pulumi for a .NET team? Compare how each handles state, multi-cloud and non-Azure resources, the skills it needs, and the Terraform licence change, and tell me what you would pick for an Azure-first Australian organisation.
Covers Bicep, ARM JSON, Terraform, OpenTofu and Pulumi compared on state management, provider coverage, multi-cloud, language and team skills, licensing (Terraform BSL, IBM ownership, OpenTofu MPL), previews and the decision for an Azure-first team.
Mid-Level
Theory
Infrastructure as Code
Β· π 3 follow-ups Β· π 1 real-world
-
What is GitOps, and how do Flux or Argo CD deploy a .NET service to Kubernetes? Explain pull-based versus push-based deployment, how drift is detected and corrected, how a new image version gets promoted between environments, and when GitOps is not worth it.
Covers GitOps principles, pull-based reconciliation with Flux and Argo CD, drift detection and self-heal, image promotion through a config repo, secrets in GitOps, AKS's Flux extension, and when push-based pipelines are the better choice.
Mid-Level
Theory
Infrastructure as Code
Β· π 3 follow-ups Β· π 1 real-world
-
A pipeline ran `terraform apply` on production after a refactor, and the Azure SQL database was destroyed and recreated empty. Someone had also changed settings in the portal the week before. How do you recover the data, find out why the plan deleted it, and stop drift and destructive changes reaching production again? Mention plans, Bicep what-if, resource locks and state.
Covers recovering a deleted Azure SQL database, diagnosing why Terraform planned a destroy (missing moved blocks, ForceNew attributes, drift), importing restored resources into state, and preventing recurrence with plan gates, prevent_destroy, resource locks, deployment stacks deny settings and scheduled drift detection.
Senior
Debugging
Infrastructure as Code
Β· π 3 follow-ups Β· π 1 real-world