nerdexam
Microsoft

AZ-204 · Question #129

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals…

The correct answer is B. No. Instead use Azure Cache for Redis. Note: Azure Cache for Redis provides a session state provider that you can use to store your session state in-memory with Azure Cache for Redis instead of a SQL Server database. To use the caching session state provider, first configure your…

Submitted by jordan8· Mar 30, 2026Develop for Azure storage

Question

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution. Determine whether the solution meets the stated goals. You are developing and deploying several ASP.Net web applications to Azure App Service. You plan to save session state information and HTML output. You must use a storage mechanism with the following requirements: - Share session state across all ASP.NET web applications - Support controlled, concurrent access to the same session state data for multiple readers and a single writer - Save full HTTP responses for concurrent requests You need to store the information. Proposed Solution: Add the web applications to Docker containers. Deploy the containers. Deploy the containers to Azure Kubernetes Service (AKS). Does the solution meet the goal?

Options

  • AYes
  • BNo

How the community answered

(31 responses)
  • A
    29% (9)
  • B
    71% (22)

Explanation

Instead use Azure Cache for Redis. Note: Azure Cache for Redis provides a session state provider that you can use to store your session state in-memory with Azure Cache for Redis instead of a SQL Server database. To use the caching session state provider, first configure your cache, and then configure your ASP.NET application for cache using the Azure Cache for Redis Session State NuGet package. https://docs.microsoft.com/en-us/azure/azure-cache-for-redis/cache-aspnet-session-state-

Topics

#session state#Azure Cache for Redis#distributed caching#App Service

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice