Olete.in
Articles
Mock Tests
🧪 Redis MCQ Quiz Hub
Redis MCQ Questions And Answers
Choose a topic to test your knowledge and improve your Redis skills
1. Redis is a?
NoSQL database
Relational database
End-user database
Commercial database
2. Redis Developer?
C. Redis
P. Redis
Redis Labs
Z. Redis
3. Redis is very fast and can perform about ___________ SETs per second?
10000
110000
1000000
111000
4. To update configuration, you can edit redis.conf file directly or you can update configurations via?
CONFIG update command
CONFIG put command
CONFIG alter command
CONFIG set command
5. ow many types of data types redis supports?
3
4
5
6
6. Which of the following is a key in string? SET name "letsfindcourse"
name
get
set
None of the above
7. What is time complexity for sets in redis?
O(N)
O(N*N)
O(NLOGN)
O(1)
8. Which of the following basic syntax of Redis client?
$redis-client
$redis cli
$redis-cli
$redis client
9. The below command is used to? DEL letsfindcourse
The command used to delete the command.
The command is used to delete the key.
The command is used to set the keys.
None of the above
10. Which of the following command is used to Changes the key name?
RENAME key newkey
RANDOMKEY
RENAMENX key newkey
TYPE key
11. Redis Initial release in?
2008
2009
2010
2011
12. Which of the following is true about Redis?
Redis is an open source
Redis advanced key-value store
Redis scalable web applications
All of the above
13. Which of the following is correct syntax of Redis CONFIG command?
CONFIG SET CONFIG_SETTING_NAME
CONFIG PUT CONFIG_SETTING_NAME
CONFIG GET CONFIG_SETTING_NAME
All of the above
14. Which of the following file available at the root directory of Redis?
redis.conf
redis.txt
redis.set
redis.config
15. A string value can be at max ________ megabytes in length.
128
256
512
1024
16. You can add elements to a Redis List on the?
Head
leaf
Both A and B
None of these
17. Which of the following is an unordered collection of strings?
Sorted Sets
Sets
Lists
Strings
18. we connect to Redis server running on the local machine and execute a command ?
help
redis-server
ping
redis-connect
19. Which of the following command used to Sets the expiry of the key after the specified time?
EXISTS key
EXPIRE key seconds
EXPIREAT key timestamp
PEXPIRE key milliseconds
20. Redis Sorted Sets are similar to Redis Sets, non-repeating collections of Strings
TRUE
FALSE
Can be true or false
Can not say
Submit