Home » 
        MCQs » 
        Redis MCQs
    
        
    Which of the following commands will give you the index of a member in a sorted set?
    
    
    
	28. Which of the following commands will give you the index of a member in a sorted set?
    
      - INDEXSORTED KEY MEMBER
 
      - SINDEX KEY
 
      - ZINDEX KEY
 
      - ZRANK KEY MEMBER
 
    
    Answer: D) ZRANK KEY MEMBER
    Explanation:
    ZRANK Key member command will give you the index of a member in a sorted set.