Show List
Quiz - Redis - 2
Select the right answer for below questions:
Which Redis data structure is used for storing unique values?
Strings
Lists
Sets
Hashes
Sets
Which Redis command is used to retrieve the value of a key?
GET
SET
VAL
RET
GET
Which Redis command is used to retrieve a range of values from a list?
LRANGE
GETRANGE
LISTRANGE
RANGE
LRANGE
Which Redis command is used to remove and return the last element of a list?
LPOP
RPOP
POP
REMOVE
RPOP
Which Redis command is used to remove and return a random element from a set?
SRAND
RANDOM
SPOP
POP
SPOP
Which Redis command is used to retrieve the number of elements in a set?
SCOUNT
COUNT
SIZE
CARD
CARD
Which Redis command is used to retrieve the members of a set?
SMEMBERS
SETMEMBERS
MEMBERS
GETMEMBERS
SMEMBERS
Which Redis command is used to remove a member from a set?
SREMOVE
REMOVE
DELMEMBER
SREM
SREM
What is the Redis command used to check if a key exists or not?
EXISTS
CHECK
VALIDATE
VERIFY
EXISTS
Which Redis data structure is used for storing a collection of strings?
Strings
Lists
Sets
Hashes
Lists
Submit
Retry
{"qz1-498813":"Sets","qz1-498814":"GET","qz1-498815":"LRANGE","qz1-498816":"RPOP","qz1-498817":"SPOP","qz1-498818":"CARD","qz1-498819":"SMEMBERS","qz1-498820":"SREM","qz1-498821":"EXISTS","qz1-498822":"Lists"}
Leave a Comment