H13-711_V3.5 · Question #338
Redis supports multiple databases.
The correct answer is A. True. Redis does support multiple logical databases within a single instance, numbered from 0 upward (defaulting to 16 databases, configurable via databases in redis.conf). You switch between them using the SELECT <index> command - for example, SELECT 1 moves you to database 1…
Question
Redis supports multiple databases.
Options
- ATrue
- BFalse
How the community answered
(60 responses)- A73% (44)
- B27% (16)
Explanation
Redis does support multiple logical databases within a single instance, numbered from 0 upward (defaulting to 16 databases, configurable via databases in redis.conf). You switch between them using the SELECT <index> command - for example, SELECT 1 moves you to database 1. Option B is incorrect because it contradicts this built-in Redis feature that has existed since the earliest versions. A helpful memory tip: think of Redis databases like numbered tabs in a spreadsheet - all within the same file (server instance), but each holds separate key spaces that don't interfere with one another.
Topics
Community Discussion
No community discussion yet for this question.