Question

Difficulty: MediumImplement Azure Cache for Redis Configuration and Data Patterns

You are configuring database persistence for a newly provisioned Azure Cache for Redis instance in the Premium tier to ensure data can be recovered in the event of a cache failure. You decide to implement Redis database (RDB) persistence.

Which sequence of steps must you perform in the Azure Portal to configure and enable RDB persistence?

  1. 1Navigate to the Premium Azure Cache for Redis resource in the Azure Portal and select Data persistence from the Resource menu.
  2. 2Select RDB to enable Redis database persistence.
  3. 3Choose a backup interval from the Backup Frequency dropdown.
  4. 4Click Storage Account to specify the destination storage account, container, and access key.
  5. 5Click Save on the command bar to apply the data persistence settings.

Answer

To configure RDB database persistence in the Azure Portal, you must navigate to the Data persistence menu of the Premium tier cache, select the RDB option, set the Backup Frequency, choose the Storage Account and container, and click Save.
Configuring RDB persistence requires first navigating to the Data persistence section of a Premium cache, enabling the RDB option, specifying the backup interval, configuring the target Azure Storage Account, and finally saving the changes to apply them.

Step-by-Step Solution

1
Navigate to the Data persistence settings.
The Data persistence blade is opened, displaying options for Disabled, RDB, and AOF.
This is the entry point for configuring persistence in Azure Cache for Redis.
2
Enable RDB persistence.
The RDB configuration options are exposed.
RDB is disabled by default; enabling it is required to expose the backup parameters.
3
Select a backup frequency.
A specific backup interval (e.g., 15 minutes) is configured.
This defines the snapshot interval for taking point-in-time backups.
4
Configure the storage account destination.
The destination container is linked to the cache instance.
Azure Cache for Redis requires a storage account in the same region to store the backup files.
5
Save the configuration.
The configuration is committed and the cache begins RDB persistence.
Any changes made in the Azure Portal are pending until explicitly saved.

Key Concept

Redis Database (RDB) Persistence Configuration
Rate this question