0
0
Redisquery~10 mins

UNSUBSCRIBE behavior in Redis - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to unsubscribe from a single channel in Redis.

Redis
UNSUBSCRIBE [1]
Drag options to blanks, or click blank then click option'
ASUBSCRIBE
BPUBLISH
Cchannel1
DCLIENT
Attempts:
3 left
💡 Hint
Common Mistakes
Using commands like PUBLISH or SUBSCRIBE instead of a channel name.
Leaving the channel name blank.
2fill in blank
medium

Complete the code to unsubscribe from multiple channels at once.

Redis
UNSUBSCRIBE [1] [2]
Drag options to blanks, or click blank then click option'
Achannel1
Bchannel2
CPUBLISH
DCLIENT
Attempts:
3 left
💡 Hint
Common Mistakes
Including commands instead of channel names.
Using commas between channel names instead of spaces.
3fill in blank
hard

Fix the error in the UNSUBSCRIBE command to correctly unsubscribe from 'news'.

Redis
UNSUBSCRIBE [1]
Drag options to blanks, or click blank then click option'
Anews
BNEWS
Cpublish
Dsubscribe
Attempts:
3 left
💡 Hint
Common Mistakes
Using uppercase channel names when the channel is lowercase.
Using command names instead of channel names.
4fill in blank
hard

Fill both blanks to unsubscribe from 'sports' and 'weather' channels.

Redis
UNSUBSCRIBE [1] [2]
Drag options to blanks, or click blank then click option'
Asports
Bweather
Cnews
Dalerts
Attempts:
3 left
💡 Hint
Common Mistakes
Using incorrect channel names.
Separating channel names with commas.
5fill in blank
hard

Fill all three blanks to unsubscribe from 'news', 'sports', and 'weather' channels.

Redis
UNSUBSCRIBE [1] [2] [3]
Drag options to blanks, or click blank then click option'
Anews
Bsports
Cweather
Dalerts
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong channel names.
Using commas instead of spaces.