Use versioned artifacts — keep your last working package and redeploy it. Example: If your new API build breaks production, you can quickly redeploy the previous successful release version from Azure DevOps → Releases → “Redeploy”. 8⃣ How do you deploy infrastructure using ARM templates or Bicep in Azure DevOps?
Short answer: You can deploy Infrastructure as Code (IaC) directly from your pipeline using ARM or Bicep files.
Explain a bit more
Follow: Example (YAML): task: AzureResourceManagerTemplateDeployment@3 inputs: deploymentScope: 'Resource Group' azureResourceManagerConnection: 'MyServiceConnection' subscriptionId: 'xxxx-xxxx-xxxx' action: 'Create Or Update Resource Group' resourceGroupName: 'my-rg' location: 'East US' templateLocation: 'Linked artifact' csmFile: 'infrastructure/main.bicep' overrideParameters: '-appName myapp -sku S1' Example scenario: Before deploying your .NET app, your pipeline provisions a new App Service, SQL Database, and Storage Account automatically.
Say this in the interview
- Define — one clear sentence (the short answer above).
- Example — relate it to a project like ShopNest or your real work.
- Trade-off — when you would not use it.
Share this Q&A
Share preview image: https://www.toolliyo.com/images/toolliyo-logo.png