AWS ElastiCache for Redis: Maximum Number of Shards and Read Replicas | DBS-C01 Exam Question Answer

Maximum Number of Shards and Read Replicas in Amazon ElastiCache for Redis

Question

A solution architect is planning a deployment of Amazon ElastiCache for Redis with cluster mode disabled.

What is the maximum number of shards and read replicas that the cluster can have?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer: A.

Amazon ElastiCache for Redis with cluster mode disabled cluster consists of a single shard with up to a maximum of 5 read replicas.

Therefore,

Option A is CORRECT, and other options are incorrect.

Reference:

https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Replication.html https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Replication.Redis-RedisCluster.html

If you are planning to deploy Amazon ElastiCache for Redis with cluster mode disabled, the maximum number of shards and read replicas that the cluster can have is 1 shard and 5 read replicas.

In Amazon ElastiCache for Redis, cluster mode is a feature that allows you to partition your data across multiple shards, which can be distributed across multiple nodes. Cluster mode can improve scalability and availability for Redis workloads with large amounts of data or high throughput requirements.

However, when cluster mode is disabled, your ElastiCache for Redis deployment consists of a single node that serves as both the primary and replica for your data. In this case, you can have up to 5 read replicas for your primary node. Each read replica is a copy of your primary node that can be used to offload read requests and improve read scalability.

Therefore, the correct answer is A. 1 Shard and 5 Read Replicas. Option B is incorrect because you cannot have shards with cluster mode disabled. Option C and D are also incorrect because they exceed the maximum number of read replicas allowed in a non-clustered ElastiCache for Redis deployment.