Technology & Digital Applications Flashcards
7 cards from real AZ-204 practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 Technology & Digital Applications flashcards as text
You need to deploy an Azure Web App and ensure zero-downtime deployments. Which App Service feature should you use?
Answer: Deployment slots with slot swap
Deployment slots let you deploy to a staging slot, warm it up, then perform an atomic swap to production — eliminating downtime during the transition.
An application reads messages from an Azure Service Bus queue. Sometimes the same message is processed twice. Which Service Bus feature should you enable to prevent duplicate processing?
Answer: Duplicate detection
Service Bus duplicate detection uses a MessageId-based history window to discard messages that were already received within a configurable time period.
You need to secure communication between your Azure App Service and an Azure SQL Database so that neither traverses the public internet. What should you configure?
Answer: Deploy the App Service into a VNet and use a Private Endpoint for the SQL Database
VNet integration for App Service combined with a Private Endpoint for SQL Database routes all traffic over Azure's private network backbone, never touching the public internet.
A Cosmos DB container uses 'userId' as its partition key. A query needs to retrieve all orders across ALL users. What is a concern with this design?
Answer: The query will execute as a cross-partition fan-out, consuming more RUs and increasing latency
Cross-partition queries fan out to every partition, multiplying RU consumption and increasing latency — this is expected behavior but must be accounted for in capacity planning.
You are implementing retry logic for calls to Azure Blob Storage in a .NET application. Which library provides built-in retry policies including exponential backoff?
Answer: Azure.Storage.Blobs SDK (built-in retry pipeline)
The Azure.Storage.Blobs SDK v12+ includes a configurable retry pipeline with exponential backoff and jitter built in, requiring no external library.
Your Azure Logic App workflow must send an HTTP request to an external API and wait up to 48 hours for an asynchronous callback. Which pattern should you implement?
Answer: Webhook action that pauses the workflow until the callback URL is called
Logic Apps' Webhook action subscribes to a callback URL and pauses execution, resuming only when the external service calls back — supporting waits of days without polling.
You need to implement a feature flag system for an Azure App Service application to gradually roll out new features. Which Azure service is designed for this purpose?
Answer: Azure App Configuration with feature management
Azure App Configuration's feature management library provides built-in feature flag storage, targeting filters for percentage rollouts, and SDK integration for .NET and other platforms.