Deployment Patterns 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 Deployment Patterns flashcards as text
In a ring deployment, what is the primary purpose of 'Ring 0'?
Answer: Deploy to internal Microsoft/team users first for early validation
Ring 0 targets internal users (dogfooding) so the team validates changes before any external exposure.
Which Azure DevOps feature allows you to gate a deployment stage until specific work items are linked to the release?
Answer: Release gates with work item query
Release gates can query Azure Boards work items so a stage only proceeds when required items are in the correct state.
A team uses feature flags to decouple deployment from release. Which tool is natively integrated with Azure DevOps for feature flag management?
Answer: Azure App Configuration with feature management
Azure App Configuration provides a feature management library that integrates natively with Azure DevOps pipelines and .NET applications.
During a canary deployment in AKS, you want to route exactly 20% of traffic to the new version. Which Kubernetes resource controls this traffic split?
Answer: Ingress with NGINX annotations or a service mesh weight
NGINX Ingress canary annotations or a service mesh (like Istio) VirtualService weights control the percentage of traffic routed to each deployment.
What does 'deployment frequency' measure in DORA metrics, and what does a 'Elite' rating require?
Answer: How often code is deployed to production; on-demand or multiple times per day
Deployment frequency measures how often an organization successfully releases to production; Elite performers deploy on-demand or multiple times per day.
You need to perform a blue-green deployment for an Azure App Service. Which App Service feature enables zero-downtime slot swaps?
Answer: Deployment slots with swap
Azure App Service deployment slots let you warm up the new version and then swap slots atomically, achieving zero-downtime blue-green deployments.
In a shadow deployment, what happens to traffic sent to the shadow (dark) service?
Answer: Responses are discarded and users receive responses from the live service only
Shadow deployments mirror real traffic to the new version but discard the shadow's responses so users are unaffected while production behavior is tested.