Complete the code to check if the key 'user:1' exists in Redis.
EXISTS [1]The EXISTS command requires the key name as a string without quotes in Redis CLI. Using user:1 without quotes is correct.
Complete the code to check if the key stored in variable 'keyName' exists.
EXISTS [1]When using a variable, do not put quotes around it. Just use the variable name.
Fix the error in the code to correctly check if the key 'session:123' exists.
EXISTS [1]The key name must be provided as is without quotes in Redis CLI. session:123 is correct.
Fill both blanks to check if the keys 'user:1' and 'user:2' exist in one command.
EXISTS [1] [2]
EXISTS can check multiple keys by listing them as key names without quotes.
Fill all three blanks to check if keys stored in variables 'key1', 'key2', and 'key3' exist.
EXISTS [1] [2] [3]
When using variables, do not use quotes. Just list the variable names separated by spaces.