Show List

Quiz - Redis - 3

72%

Public Average Score
Select the right answer for below questions:

What is the maximum number of elements that can be stored in a Redis list?
2^31 - 1
2^32 - 1
2^63 - 1
2^64 - 1
2^63 - 1

Which Redis command is used to insert an element before or after a given element in a list?
LINSERT
INSERT
ADD
PUT
LINSERT

Which Redis data structure is used for storing a collection of unique strings?
Strings
Lists
Sets
Hashes
Sets

What is the Redis command used to retrieve the difference between multiple sets?
SDIFF
DIFF
SETDIFF
DIFFSET
SDIFF

Which Redis command is used to move a member from one set to another?
SMOVE
MOVE
SETMOVE
TRANSFER
SMOVE

Which Redis data structure is used for storing a collection of key-value pairs where the values can be sorted?
Strings
Lists
Sets
Sorted sets
Sorted sets

What is the Redis command used to retrieve the elements of a sorted set within a score range?
ZRANGEBYSCORE
GETRANGEBYSCORE
SORTEDRANGE
ZSCORE
ZRANGEBYSCORE

Which Redis command is used to add one or more values to a sorted set?
ZADD
ADD
SETADD
SET
ZADD

Which Redis command is used to retrieve the score of a member in a sorted set?
SCORE
GETSCORE
SORTEDSCORE
ZSCORE
ZSCORE

Which Redis command is used to remove a member from a sorted set?
REM
DELETESCORE
SORTEDREMOVE
ZREM
ZREM

Submit
Retry
{"qz1-409000":"2^63 - 1","qz1-409001":"LINSERT","qz1-409002":"Sets","qz1-409003":"SDIFF","qz1-409004":"SMOVE","qz1-409005":"Sorted sets","qz1-409006":"ZRANGEBYSCORE","qz1-409007":"ZADD","qz1-409008":"ZSCORE","qz1-409009":"ZREM"}

    Leave a Comment


  • captcha text