Question IT-CLD-0068
HardA users table is sharded across 4 servers, numbered 0 to 3, by user_id mod 4. On which shard is user 1,027 stored?
- A.
Shard 0
- B.
Shard 3
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Cloud Computing question
A users table is sharded across 4 servers, numbered 0 to 3, by user_id mod 4. On which shard is user 1,027 stored?
Shard 0
Shard 3
Sign up free to see the answer and a step-by-step explanation.
Shard 1
Shard 2