nerdexam
Microsoft

AZ-204 · Question #302

Drag and Drop Question You develop and deploy an Azure App Service web app. The web app accesses data in an Azure SQL database. You must update the web app to store frequently used data in a new Azure

The correct answer is set; list; channel. In Azure Cache for Redis, a 'set' is used to store unique, unordered collections of strings - ideal for tracking distinct items like unique user sessions or tags without duplicates. A 'list' is an ordered collection of strings that supports push/pop operations, making it perfect

Submitted by certguy· Mar 30, 2026Develop for Azure Storage - Implement caching for solutions using Azure Cache for Redis, including selecting appropriate Redis data types and features for specific application requirements.

Question

Drag and Drop Question You develop and deploy an Azure App Service web app. The web app accesses data in an Azure SQL database. You must update the web app to store frequently used data in a new Azure Cache for Redis Premium instance. You need to implement the Azure Cache for Redis features. Which feature should you implement? To answer, drag the appropriate feature to the correct requirements. Each feature may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point. Answer:

Exhibit

AZ-204 question #302 exhibit

Answer Area

Drag items

horizontal partitioningchannellistset

Correct arrangement

  • set
  • list
  • channel

Explanation

In Azure Cache for Redis, a 'set' is used to store unique, unordered collections of strings - ideal for tracking distinct items like unique user sessions or tags without duplicates. A 'list' is an ordered collection of strings that supports push/pop operations, making it perfect for queues or ordered data like activity feeds or message queues. A 'channel' is used for Pub/Sub messaging, enabling real-time communication where publishers send messages and subscribers receive them - suitable for event-driven notifications. 'Horizontal partitioning' (sharding) is a Premium tier infrastructure feature for scaling data across multiple nodes, not a data structure feature mapped to application requirements.

Topics

#Azure Cache for Redis#Redis Data Structures#Pub/Sub Messaging#Azure App Service

Community Discussion

No community discussion yet for this question.

Full AZ-204 Practice