InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which of the following commands is used to post the message to the channel? |
|
Answer» Which of the following commands is used to POST the message to the channel? |
|
| 2. |
_________ is the number of sentinels that need to agree the fact that the master is not reachable and make a failover procedure promoting slave to mas |
|
Answer» _________ is the number of sentinels that need to AGREE the fact that the master is not reachable and make a failover procedure promoting slave to master. |
|
| 3. |
In Redis context, senders are named as __________ and receivers are named as Subscribers. |
|
Answer» In Redis context, senders are named as __________ and RECEIVERS are named as Subscribers. |
|
| 4. |
Which configuration setting is used to specify the memory eviction policy in Redis? |
|
Answer» Which configuration SETTING is used to specify the memory eviction policy in Redis? |
|
| 5. |
Redis provides multi state architecture during replication where every instance can both read and write. |
|
Answer» Redis PROVIDES multi STATE architecture during replication where every instance can both read and write. |
|
| 6. |
__________ is an implementation of partitioning where you can send your query to a random instance, and the instance will forward your query to the ri |
|
Answer» __________ is an implementation of partitioning where you can send your query to a random instance, and the instance will FORWARD your query to the right node. |
|
| 7. |
Which among the following are the data structures that are commonly used in Redis? |
|
Answer» Which among the FOLLOWING are the data structures that are commonly used in Redis? |
|
| 8. |
__________ is used for failover process when a master is not working, promoting the slave to master. |
|
Answer» __________ is used for FAILOVER process when a master is not WORKING, PROMOTING the slave to master. |
|
| 9. |
Sets are unordered collection of strings |
|
Answer» Sets are unordered COLLECTION of strings |
|
| 10. |
Which is the best way for persistence in Redis? |
|
Answer» Which is the BEST way for persistence in Redis? |
|
| 11. |
Which of the following is not a Key Value database? |
|
Answer» Which of the following is not a Key VALUE database? |
|
| 12. |
When using Pipelining, will the additional memory used be high? |
|
Answer» When USING Pipelining, will the additional memory used be HIGH? |
|
| 13. |
Which configuration setting specifies the file to which RDB snapshot dump is saved to _______? |
|
Answer» Which configuration SETTING specifies the FILE to which RDB snapshot dump is SAVED to _______ |
|
| 14. |
Which among the following is a benefit of Pipelining? |
|
Answer» Which among the following is a BENEFIT of Pipelining? |
|
| 15. |
Which among the following does Redis Hashes stores? |
|
Answer» Which AMONG the following does REDIS Hashes stores? |
|
| 16. |
What are the 10 most important features of Redis |
|
Answer» What are the 10 most important FEATURES of Redis |
|
| 17. |
_______ sets the key to expire within the given number of seconds. |
|
Answer» _______ SETS the key to expire WITHIN the given number of seconds. |
|
| 18. |
_______ returns an array of values. |
|
Answer» _______ returns an ARRAY of values. |
|
| 19. |
Which is the best way to achieve persistence in Redis? |
|
Answer» Which is the best way to achieve persistence in Redis? |
|
| 20. |
___________ command will add elements to the set. |
|
Answer» ___________ COMMAND will ADD elements to the set. |
|
| 21. |
The configuration setting in redis.conf that could be configured to the number of samples of keys to be checked, to evict keys with the oldest access |
|
Answer» The configuration setting in redis.conf that COULD be CONFIGURED to the number of SAMPLES of keys to be checked, to EVICT keys with the oldest access time is ___________ |
|
| 22. |
The data structure commonly used in Redis is ___________. |
|
Answer» The data structure commonly USED in Redis is ___________. |
|
| 23. |
In-Memory database stores data in the memory |
|
Answer» In-Memory database stores data in the memory |
|
| 24. |
__________ is the technique of breaking down data into multiple parts. |
|
Answer» __________ is the technique of breaking down DATA into multiple parts. |
|
| 25. |
The environment continues to work even if a slave fails. |
|
Answer» The environment continues to work EVEN if a slave fails. |
|
| 26. |
__________ is the configuration setting that tells the maximum number of items allowed in a Hash table for ziplist encoding. |
|
Answer» __________ is the configuration setting that tells the maximum number of ITEMS allowed in a HASH table for ziplist encoding. |
|
| 27. |
Redis provides the output of all commands in ____________. |
|
Answer» Redis provides the output of all COMMANDS in ____________. |
|
| 28. |
Which of the following set commands removes and returns members of a set? |
|
Answer» Which of the following set commands removes and RETURNS MEMBERS of a set? |
|
| 29. |
__________ is/are used to store, retrieve and update data. |
|
Answer» __________ is/are used to STORE, retrieve and UPDATE data. |
|
| 30. |
Which is the mechanism to enforce limits on the access of a resource when multiple threads are executed? |
|
Answer» Which is the mechanism to enforce limits on the ACCESS of a resource when multiple threads are executed? |
|
| 31. |
Which one is a difference between Memcached and Redis? |
|
Answer» Which ONE is a DIFFERENCE between Memcached and Redis? |
|
| 32. |
Redis is widely used as a secondary database for ___________. |
|
Answer» Redis is widely used as a secondary DATABASE for ___________ |
|
| 33. |
Which is the default persistence mode in Redis? |
|
Answer» Which is the default persistence mode in Redis? |
|
| 34. |
The _________ command is used to remove the expiration from a key. |
|
Answer» The _________ command is USED to remove the EXPIRATION from a key. |
|
| 35. |
Redis is single threaded |
|
Answer» REDIS is single threaded Choose the correct option from below LIST (1)True (2)False Answer:-(1)True |
|
| 36. |
In a Redis transaction, we can use ________ command to enter into the transaction and queue the transaction commands instead of executing them. |
|
Answer» In a Redis TRANSACTION, we can use ________ command to enter into the transaction and queue the transaction commands INSTEAD of executing them. |
|