Medium1 markMultiple Choice
Domain 4.2: Application ArchitectureDomain 4App ArchitectureRedisCaching

AZ-305 · Question 46 · Domain 4.2: Application Architecture

You are designing a caching strategy for a high-traffic e-commerce website using Azure Cache for Redis.

The cache will store product catalog data. The database is heavily loaded, so if the Redis cache fails and loses its data, the sudden flood of queries to the backend database will cause an outage. You must ensure that the Redis cache data survives a node failure or reboot.

Which feature of Azure Cache for Redis should you configure?

Answer options:

A.

Redis Clustering

B.

Data Persistence (RDB or AOF)

C.

Geo-replication

D.

Virtual Network Integration

How to approach this question

Identify the feature that saves in-memory data to disk so it can survive a reboot.

Full Answer

B.Data Persistence (RDB or AOF)✓ Correct
Data Persistence (RDB or AOF)
Azure Cache for Redis is an in-memory data store. By default, if a node reboots, the data in memory is lost. To prevent the 'cache stampede' problem (where a sudden loss of cache overloads the backend database), you should enable Data Persistence. Redis supports RDB (Redis Database) snapshots or AOF (Append Only File). This feature persists the cache data to an Azure Storage account, allowing the cache to quickly reload its state after a reboot.

Common mistakes

Choosing Clustering. Clustering is for scaling out memory and throughput, not for persisting data to disk.

Practice the full Azure Solutions Architect Expert AZ-305 Practice Exam 5

55 questions · hints · full answers · grading

More questions from this exam