H13-711_V3.5 · Question #395
Commands in Redis are case sensitive.
The correct answer is B. False. Redis commands are case-insensitive, making B (False) correct. You can write SET, set, or Set and Redis will treat them identically - the server normalizes command names before processing. Why A is wrong: Confusing command case-insensitivity with key case-sensitivity trips up…
Question
Commands in Redis are case sensitive.
Options
- ATrue
- BFalse
How the community answered
(26 responses)- A19% (5)
- B81% (21)
Explanation
Redis commands are case-insensitive, making B (False) correct. You can write SET, set, or Set and Redis will treat them identically - the server normalizes command names before processing.
Why A is wrong: Confusing command case-insensitivity with key case-sensitivity trips up many learners. While SET mykey and SET MYKEY are the same command, the keys mykey and MYKEY are different - keys are case-sensitive. The question is specifically about commands, not keys.
Memory tip: Think of Redis commands like SQL keywords - SELECT and select both work in most SQL engines. Redis follows the same convention: commands are forgiving, but data (keys/values) is not.
Topics
Community Discussion
No community discussion yet for this question.