Complete the code to start a Redis transaction.
redis_client.[1]()The MULTI command starts a transaction block in Redis.
Complete the code to execute all commands in the Redis transaction.
redis_client.[1]()The EXEC command executes all commands queued in the transaction.
Fix the error in the code to watch keys for changes before starting a transaction.
redis_client.[1]('key1', 'key2') redis_client.MULTI()
The WATCH command monitors keys for changes to ensure transaction consistency.
Fill both blanks to discard a transaction and unwatch keys.
redis_client.[1]() redis_client.[2]()
DISCARD cancels the transaction, and UNWATCH stops watching keys.
Fill all three blanks to watch keys, start a transaction, and execute it.
redis_client.[1]('keyA', 'keyB') redis_client.[2]() redis_client.[3]()
First, WATCH monitors keys, then MULTI starts the transaction, and finally EXEC executes it.
