Complete the code to find all keys starting with 'user:'.
KEYS [1]The pattern user:* matches all keys that start with 'user:'.
Complete the code to find all keys that have exactly 5 characters.
KEYS [1]The pattern ????? matches keys with exactly 5 characters, each ? matches one character.
Fix the error in the code to find keys ending with ':id'.
KEYS [1]The pattern *:id matches keys that end with ':id'.
Fill both blanks to find keys that start with 'session:' and have exactly 8 characters after the colon.
KEYS [1][2]
The pattern session:???????? matches keys starting with 'session:' followed by exactly 8 characters.
Fill all three blanks to find keys that contain 'cache' anywhere and end with a digit.
KEYS [1][2][3]
The pattern *cache*[0-9] matches keys containing 'cache' anywhere and ending with a digit.