15 Transactions & Scripting questions from the Redis bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Free to start: the 2-minute IT readiness check — six questions and a result.
A.watching one or more keys so a queued transaction aborts automatically if any watched key changed before it ran
B.queuing several commands so they run sequentially as an isolated unit with no other client interleaved between them
C.the guarantee that no other command runs while an embedded server-side program executes, blocking the single event loop until it finishes
D.embedding server-side logic that executes atomically as a single step, reducing round trips and race conditions
Answer + AI explanation with Pro
2. Which term means: "queuing several commands so they run sequentially as an isolated unit with no other client interleaved between them"?
Junior
A.Functions library
B.Optimistic locking
C.MULTI/EXEC block
D.Script atomicity
Answer + AI explanation with Pro
3. Which statement is correct?
Junior
A.MULTI/EXEC block — a persisted, named collection of server-side procedures registered once and invoked by name, surviving restarts unlike ad hoc scripts
B.MULTI/EXEC block — watching one or more keys so a queued transaction aborts automatically if any watched key changed before it ran
C.MULTI/EXEC block — queuing several commands so they run sequentially as an isolated unit with no other client interleaved between them
D.MULTI/EXEC block — embedding server-side logic that executes atomically as a single step, reducing round trips and race conditions
Answer + AI explanation with Pro
4. What is Optimistic locking?
Mid
A.queuing several commands so they run sequentially as an isolated unit with no other client interleaved between them
B.embedding server-side logic that executes atomically as a single step, reducing round trips and race conditions
C.the guarantee that no other command runs while an embedded server-side program executes, blocking the single event loop until it finishes
D.watching one or more keys so a queued transaction aborts automatically if any watched key changed before it ran
Answer + AI explanation with Pro
5. Which term means: "watching one or more keys so a queued transaction aborts automatically if any watched key changed before it ran"?
Mid
A.Optimistic locking
B.Lua scripting
C.MULTI/EXEC block
D.Script atomicity
Answer + AI explanation with Pro
6. Which statement is correct?
Mid
A.Optimistic locking — watching one or more keys so a queued transaction aborts automatically if any watched key changed before it ran
B.Optimistic locking — a persisted, named collection of server-side procedures registered once and invoked by name, surviving restarts unlike ad hoc scripts
C.Optimistic locking — the guarantee that no other command runs while an embedded server-side program executes, blocking the single event loop until it finishes
D.Optimistic locking — embedding server-side logic that executes atomically as a single step, reducing round trips and race conditions
Answer + AI explanation with Pro
7. What is Lua scripting?
Mid
A.watching one or more keys so a queued transaction aborts automatically if any watched key changed before it ran
B.embedding server-side logic that executes atomically as a single step, reducing round trips and race conditions
C.the guarantee that no other command runs while an embedded server-side program executes, blocking the single event loop until it finishes
D.queuing several commands so they run sequentially as an isolated unit with no other client interleaved between them
Answer + AI explanation with Pro
8. Which term means: "embedding server-side logic that executes atomically as a single step, reducing round trips and race conditions"?
Mid
A.Lua scripting
B.Script atomicity
C.MULTI/EXEC block
D.Optimistic locking
Answer + AI explanation with Pro
9. Which statement is correct?
Mid
A.Lua scripting — a persisted, named collection of server-side procedures registered once and invoked by name, surviving restarts unlike ad hoc scripts
B.Lua scripting — watching one or more keys so a queued transaction aborts automatically if any watched key changed before it ran
C.Lua scripting — queuing several commands so they run sequentially as an isolated unit with no other client interleaved between them
D.Lua scripting — embedding server-side logic that executes atomically as a single step, reducing round trips and race conditions
Answer + AI explanation with Pro
10. What is Script atomicity?
Senior
A.embedding server-side logic that executes atomically as a single step, reducing round trips and race conditions
B.the guarantee that no other command runs while an embedded server-side program executes, blocking the single event loop until it finishes
C.a persisted, named collection of server-side procedures registered once and invoked by name, surviving restarts unlike ad hoc scripts
D.watching one or more keys so a queued transaction aborts automatically if any watched key changed before it ran
Answer + AI explanation with Pro
11. Which term means: "the guarantee that no other command runs while an embedded server-side program executes, blocking the single event loop until it finishes"?
Senior
A.Functions library
B.Script atomicity
C.MULTI/EXEC block
D.Optimistic locking
Answer + AI explanation with Pro
12. Which statement is correct?
Senior
A.Script atomicity — a persisted, named collection of server-side procedures registered once and invoked by name, surviving restarts unlike ad hoc scripts
B.Script atomicity — watching one or more keys so a queued transaction aborts automatically if any watched key changed before it ran
C.Script atomicity — queuing several commands so they run sequentially as an isolated unit with no other client interleaved between them
D.Script atomicity — the guarantee that no other command runs while an embedded server-side program executes, blocking the single event loop until it finishes
Answer + AI explanation with Pro
13. What is Functions library?
Senior
A.embedding server-side logic that executes atomically as a single step, reducing round trips and race conditions
B.watching one or more keys so a queued transaction aborts automatically if any watched key changed before it ran
C.a persisted, named collection of server-side procedures registered once and invoked by name, surviving restarts unlike ad hoc scripts
D.the guarantee that no other command runs while an embedded server-side program executes, blocking the single event loop until it finishes
Answer + AI explanation with Pro
14. Which term means: "a persisted, named collection of server-side procedures registered once and invoked by name, surviving restarts unlike ad hoc scripts"?
Senior
A.Script atomicity
B.MULTI/EXEC block
C.Optimistic locking
D.Functions library
Answer + AI explanation with Pro
15. Which statement is correct?
Senior
A.Functions library — a persisted, named collection of server-side procedures registered once and invoked by name, surviving restarts unlike ad hoc scripts
B.Functions library — embedding server-side logic that executes atomically as a single step, reducing round trips and race conditions
C.Functions library — the guarantee that no other command runs while an embedded server-side program executes, blocking the single event loop until it finishes
D.Functions library — queuing several commands so they run sequentially as an isolated unit with no other client interleaved between them
Answer + AI explanation with Pro
Free to start
Start with a free readiness check
Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Transactions & Scripting question come with Pro.