Transactions & Scripting interview questions

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.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is MULTI/EXEC block?

Junior
  1. A.watching one or more keys so a queued transaction aborts automatically if any watched key changed before it ran
  2. B.queuing several commands so they run sequentially as an isolated unit with no other client interleaved between them
  3. C.the guarantee that no other command runs while an embedded server-side program executes, blocking the single event loop until it finishes
  4. 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
  1. A.Functions library
  2. B.Optimistic locking
  3. C.MULTI/EXEC block
  4. D.Script atomicity

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.MULTI/EXEC block — a persisted, named collection of server-side procedures registered once and invoked by name, surviving restarts unlike ad hoc scripts
  2. B.MULTI/EXEC block — watching one or more keys so a queued transaction aborts automatically if any watched key changed before it ran
  3. C.MULTI/EXEC block — queuing several commands so they run sequentially as an isolated unit with no other client interleaved between them
  4. 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
  1. A.queuing several commands so they run sequentially as an isolated unit with no other client interleaved between them
  2. B.embedding server-side logic that executes atomically as a single step, reducing round trips and race conditions
  3. C.the guarantee that no other command runs while an embedded server-side program executes, blocking the single event loop until it finishes
  4. 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
  1. A.Optimistic locking
  2. B.Lua scripting
  3. C.MULTI/EXEC block
  4. D.Script atomicity

Answer + AI explanation with Pro

6. Which statement is correct?

Mid
  1. A.Optimistic locking — watching one or more keys so a queued transaction aborts automatically if any watched key changed before it ran
  2. B.Optimistic locking — a persisted, named collection of server-side procedures registered once and invoked by name, surviving restarts unlike ad hoc scripts
  3. 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
  4. 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
  1. A.watching one or more keys so a queued transaction aborts automatically if any watched key changed before it ran
  2. B.embedding server-side logic that executes atomically as a single step, reducing round trips and race conditions
  3. C.the guarantee that no other command runs while an embedded server-side program executes, blocking the single event loop until it finishes
  4. 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
  1. A.Lua scripting
  2. B.Script atomicity
  3. C.MULTI/EXEC block
  4. D.Optimistic locking

Answer + AI explanation with Pro

9. Which statement is correct?

Mid
  1. A.Lua scripting — a persisted, named collection of server-side procedures registered once and invoked by name, surviving restarts unlike ad hoc scripts
  2. B.Lua scripting — watching one or more keys so a queued transaction aborts automatically if any watched key changed before it ran
  3. C.Lua scripting — queuing several commands so they run sequentially as an isolated unit with no other client interleaved between them
  4. 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
  1. A.embedding server-side logic that executes atomically as a single step, reducing round trips and race conditions
  2. B.the guarantee that no other command runs while an embedded server-side program executes, blocking the single event loop until it finishes
  3. C.a persisted, named collection of server-side procedures registered once and invoked by name, surviving restarts unlike ad hoc scripts
  4. 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
  1. A.Functions library
  2. B.Script atomicity
  3. C.MULTI/EXEC block
  4. D.Optimistic locking

Answer + AI explanation with Pro

12. Which statement is correct?

Senior
  1. A.Script atomicity — a persisted, named collection of server-side procedures registered once and invoked by name, surviving restarts unlike ad hoc scripts
  2. B.Script atomicity — watching one or more keys so a queued transaction aborts automatically if any watched key changed before it ran
  3. C.Script atomicity — queuing several commands so they run sequentially as an isolated unit with no other client interleaved between them
  4. 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
  1. A.embedding server-side logic that executes atomically as a single step, reducing round trips and race conditions
  2. B.watching one or more keys so a queued transaction aborts automatically if any watched key changed before it ran
  3. C.a persisted, named collection of server-side procedures registered once and invoked by name, surviving restarts unlike ad hoc scripts
  4. 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
  1. A.Script atomicity
  2. B.MULTI/EXEC block
  3. C.Optimistic locking
  4. D.Functions library

Answer + AI explanation with Pro

15. Which statement is correct?

Senior
  1. A.Functions library — a persisted, named collection of server-side procedures registered once and invoked by name, surviving restarts unlike ad hoc scripts
  2. B.Functions library — embedding server-side logic that executes atomically as a single step, reducing round trips and race conditions
  3. 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
  4. 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.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers