Home »
MCQs »
Redis MCQs
Suppose you are asked to remove all the keys from the current database, which of the following commands will you use?
39. Suppose you are asked to remove all the keys from the current database, which of the following commands will you use?
- FLUSHKEY
- FLUSHALLKEY
- FLUSHALL
- FLUSHDB
Answer: D) FLUSHDB
Explanation:
FLUSHALL will remove all the keys from the current databases.