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 Function that processes IoT telemetry from millions of devices with minimal latency. Which trigger and hosting plan combination is most appropriate?
Answer: Event Hubs trigger on Premium plan
Event Hubs trigger is optimized for high-throughput streaming data, and the Premium plan provides pre-warmed instances and VNet integration required for low-latency, high-scale IoT scenarios.
An application stores user-uploaded files in Azure Blob Storage. You need to allow users to download their files directly from Blob Storage without exposing the storage account key. What should you use?
Answer: Generate a Shared Access Signature (SAS) token with read permission scoped to the user's blob
A user-delegation or service SAS token grants time-limited, permission-scoped access to a specific blob without exposing the storage account key.
You are implementing a Saga pattern using Azure Durable Functions to coordinate a multi-step order fulfillment workflow with compensating transactions. Which Durable Functions pattern should you use?
Answer: Function chaining
Function chaining in Durable Functions sequentially calls activity functions in order, making it straightforward to implement Saga steps and call compensating activities if any step fails.
A .NET application deployed to Azure App Service needs to write logs that can be queried in Log Analytics. Which approach integrates natively with Azure Monitor?
Answer: Use Application Insights SDK with ILogger integration to send structured telemetry
The Application Insights SDK integrates with .NET's ILogger to capture structured logs and send them to Application Insights, which stores data in a Log Analytics workspace queryable via KQL.
Your Cosmos DB application experiences 429 (Too Many Requests) errors during peak traffic. You have provisioned 1000 RU/s. What is the recommended first step to address this?
Answer: Implement retry with exponential backoff in the client and review partition key design for hot partitions
Retries with exponential backoff handle transient 429s, while reviewing partition key design eliminates hot partitions that cause 429s even when total RUs are sufficient.
You need to expose a legacy SOAP backend service as a modern REST API using Azure API Management. Which APIM feature enables this?
Answer: Import the WSDL into APIM to create a SOAP API, then use the soap-to-rest policy to expose REST operations
APIM supports importing WSDL definitions and the soap-to-rest transformation policy to expose SOAP operations as RESTful endpoints without modifying the backend.
You need to implement content-based routing in an Azure Service Bus topic so that 'priority' orders go to a 'PrioritySubscription' and all others go to a 'StandardSubscription'. How do you configure this?
Answer: Define correlation filters on each subscription that match the message's custom 'Priority' property
Service Bus subscription filters, including correlation filters on user-defined message properties, route messages to the appropriate subscription based on content without consuming them from others.