Bird
Raised Fist0

You have 500GB of data and want to keep shard sizes between 10GB and 40GB. Which shard count is best to set for your index?

hard🚀 Application Q15 of Q15
Elasticsearch - Performance and Scaling
You have 500GB of data and want to keep shard sizes between 10GB and 40GB. Which shard count is best to set for your index?
A5 shards
B10 shards
C50 shards
D100 shards
Step-by-Step Solution
Solution:
  1. Step 1: Calculate shard count range

    Minimum shards = 500GB / 40GB ≈ 13 shards; maximum shards = 500GB / 10GB = 50 shards.
  2. Step 2: Choose shard count within range

    To keep shard size between 10GB and 40GB, choose a shard count near 50.
  3. Final Answer:

    50 shards -> Option C
  4. Quick Check:

    500GB ÷ 50 shards = 10GB per shard [OK]
Quick Trick: Divide total data by desired shard size [OK]
Common Mistakes:
MISTAKES
  • Choosing too few shards causing large shard size
  • Choosing too many shards causing overhead
  • Ignoring shard size limits

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Elasticsearch Quizzes