โ† All AZ-204 Flashcard Decks

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
  1. You need to store session state for an Azure App Service web app that scales across multiple instances. Which solution ensures consistent session data across all instances?

    Answer: Use Azure Cache for Redis as a distributed session provider

    Azure Cache for Redis provides a centralized, distributed session store that all App Service instances can share, ensuring session consistency without requiring sticky sessions.

  2. An Azure Function triggered by an HTTP request must call an external API and return the result. The external API sometimes takes 5+ minutes to respond. What should you do?

    Answer: Implement the Durable Functions async HTTP API pattern with status polling

    The Durable Functions async HTTP API pattern lets the caller receive a 202 Accepted with a status URL to poll, avoiding HTTP timeout limits on long-running operations.

  3. You are building a multi-tenant SaaS application on Azure. Each tenant's data must be completely isolated at the database level. Which Azure Cosmos DB feature best supports this?

    Answer: Use multiple databases within one Cosmos DB account, one per tenant

    Multiple databases within one Cosmos DB account provide logical isolation per tenant while sharing the account's infrastructure, balancing isolation with cost efficiency.

  4. Your Azure API Management instance must transform an XML backend response into JSON before returning it to clients. Where should you apply this transformation?

    Answer: In the outbound policy of the API operation

    Outbound policies execute after the backend response is received, making them the correct place to transform the response before it reaches the client.

  5. You need to run a containerized batch job on Azure that processes data for exactly 30 minutes and then terminates. Which service is most appropriate?

    Answer: Azure Container Instances with a restart policy of Never

    Azure Container Instances with a restart policy of Never will run the container once, allow it to run to completion, and not restart it โ€” ideal for short-lived batch jobs.

  6. A developer needs to authenticate an Azure Function to access Azure Key Vault without storing credentials in code or configuration. What is the correct approach?

    Answer: Enable a system-assigned managed identity on the Function App and grant it Key Vault access

    A system-assigned managed identity eliminates the need to manage credentials; Azure AD handles authentication between the Function App and Key Vault automatically.

  7. You are using Azure Event Grid to route events from Azure Blob Storage to an Azure Function. Events are not arriving at the function. What should you check first?

    Answer: Verify the Event Grid subscription filter matches the blob event types and container name

    Incorrect or overly restrictive Event Grid subscription filters are the most common reason events do not reach the subscriber; verifying subject/event type filters is the first step.

Technology & Digital Applications Flashcards โ€” AZ-204 Study Cards with Answers