
Ultimate access to all questions.
Answer-first summary for fast verification
Answer: Use Multi-AZ Redis replication groups with shards that contain multiple nodes.
## Explanation **Correct Answer: A** **Why Option A is correct:** 1. **Multi-AZ Redis replication groups** provide high availability at the node level by automatically failing over to a read replica if the primary node fails. 2. **Shards that contain multiple nodes** provide data partitioning and distribution across multiple nodes, which helps maintain performance even during failures. 3. **Multi-AZ deployment** ensures that nodes are distributed across multiple Availability Zones within a region, providing protection against AZ-level failures. 4. **Redis replication groups** with shards provide both node-level and region-level high availability through automatic failover and data replication. **Why other options are incorrect:** **Option B:** While Redis AOF (Append Only File) provides data persistence by logging every write operation, it doesn't provide high availability at the node or region level. AOF is about data durability, not availability. **Option C:** A Multi-AZ Redis cluster with multiple read replicas provides node-level high availability, but the question specifically mentions "shards" which are part of Redis cluster mode enabled. This option doesn't explicitly mention shards, which are needed for horizontal scaling and partitioning. **Option D:** Auto Scaling helps with scaling compute resources based on demand, but it doesn't provide high availability or data protection. Auto Scaling is about capacity management, not failover protection. **Key AWS Concepts:** - **Amazon ElastiCache for Redis** offers two deployment options: Redis (cluster mode disabled) and Redis (cluster mode enabled). - **Cluster mode enabled** uses shards to partition data across multiple node groups. - **Multi-AZ with automatic failover** provides high availability by maintaining a primary and replica nodes in different Availability Zones. - **Redis replication groups** manage the replication between primary and replica nodes. This solution meets both requirements: node-level HA through automatic failover within a shard, and region-level HA through Multi-AZ deployment and data replication.
Author: LeetQuiz Editorial Team
No comments yet.
A solutions architect is designing a highly available Amazon ElastiCache for Redis based solution. The solutions architect needs to ensure that failures do not result in performance degradation or loss of data locally and within an AWS Region. The solution needs to provide high availability at the node level and at the Region level.
Which solution will meet these requirements?
A
Use Multi-AZ Redis replication groups with shards that contain multiple nodes.
B
Use Redis shards that contain multiple nodes with Redis append only files (AOF) turned on.
C
Use a Multi-AZ Redis cluster with more than one read replica in the replication group.
D
Use Redis shards that contain multiple nodes with Auto Scaling turned on.