Home »
MCQs »
Memcached MCQs
What will happen if you use add command to assign a value to a new key, and the key already exists?
8. What will happen if you use add command to assign a value to a new key, and the key already exists?
- the output is NOT STORED.
- the output is STORED.
- the output is DUPLICATED
Answer: A) the output is NOT STORED.
Explanation:
The add command in Memcached is used to assign a value to a new key. If the key already exists, the output is NOT STORED.