Continuous Delivery Flashcards
7 cards from real AZ-400 practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 Continuous Delivery flashcards as text
Which approach best supports immutable infrastructure in a continuous delivery pipeline for Azure VMs?
Answer: Build a new VM image with Packer and swap it via a scale set rolling update
Building new images with Packer and updating scale sets treats infrastructure as immutable — never mutating running machines.
A pipeline artifact is published in one stage and consumed in a later deployment stage. Which YAML keyword downloads the artifact in the consuming stage?
Answer: - download:
The 'download' step in a YAML pipeline retrieves artifacts published earlier in the same or an upstream pipeline.
Your pipeline must deploy to 50 VMs defined in an Azure DevOps environment. Which deployment strategy minimizes risk by updating only 10 VMs at a time?
Answer: Rolling with maxParallel: 10
Setting maxParallel to 10 in a rolling strategy updates exactly 10 VM targets concurrently per iteration, limiting blast radius.
A team wants to automatically roll back a deployment if the error rate exceeds 5% within 10 minutes of release. Which combination of Azure services achieves this?
Answer: Application Insights + Azure Monitor release gate with auto-rollback script
Application Insights detects error rate spikes; a post-deployment gate queries the metric and can trigger a rollback pipeline on threshold breach.
Which Azure Pipelines variable scope is evaluated at queue time and can be set by the person triggering the pipeline run?
Answer: Runtime (queue-time) variable
Queue-time variables are defined with 'isReadonly: false' and can be overridden by the user when manually triggering a run.
A pipeline deploys to production every time a commit is pushed to the main branch. The team wants a 30-minute soak period after staging before production deploys automatically. How is this implemented?
Answer: Configure a pre-deployment gate with a delay gate of 30 minutes
The 'Delay' release gate pauses the pipeline for a configurable duration before re-evaluating other gates and allowing the stage to proceed.
Which Azure Container Registry feature enables you to automatically quarantine newly pushed images until a vulnerability scan completes?
Answer: Quarantine policy (preview)
ACR's quarantine policy holds newly pushed images in a quarantined state until a scanner (like Microsoft Defender) marks them as clean.