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
Question
Exhibit
Answer Area
Drag items
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
Community Discussion
No community discussion yet for this question.
