QuizzesACID vs BASE — Concept Check
intermediate
system-design

ACID vs BASE — Concept Check

Questions on ACID vs BASE. ACID (Atomicity, Consistency, Isolation, Durability) guarantees strict transactional correctness in relational databases. BASE (Basically Available, Soft state, Eventually consistent) trades strict consistency for availability and scalability in distributed systems.

6 minutes 6 questions Pass at 70%
Time Limit
6 minutes - timer starts when you begin
Change Answers Freely
Revisit and change any answer before submitting
Full Review After Submit
Correct answers and explanations shown for every question
Auto-submit on timeout
Quiz submits automatically when time runs out

Questions in this quiz

6 questions on ACID vs BASE — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.A bank application uses a relational database for transactions. During a transfer, the system crashes after deducting money from one account but before adding it to another. Which ACID property ensures the transaction is not partially completed?

    • AIsolation
    • BConsistency
    • CAtomicity
    • DDurability
  2. 2.In a distributed e-commerce system, an order is placed but the payment service is temporarily unavailable. Which BASE property allows the system to continue accepting orders?

    • ASoft State
    • BStrong Consistency
    • CBasically Available
    • DEventually Consistent
  3. 3.A social media platform uses a NoSQL database for user feeds. Sometimes, users see outdated posts. Which BASE property explains this behavior?

    • ASoft State
    • BImmediate Consistency
    • CEventually Consistent
    • DBasically Available
  4. 4.A financial application must prevent overselling inventory. Which database model should it use to ensure strict correctness?

    • ABASE
    • BEventually Consistent
    • CACID
    • DSoft State
  5. 5.In a microservices architecture, an order service uses BASE principles. What might happen if the inventory service is delayed in updating stock levels?

    • ATemporary inconsistency in stock levels
    • BSystem crash
    • CPermanent data loss
    • DImmediate consistency across services
  6. 6.A developer uses Cassandra with QUORUM for writes and ONE for reads. What is a potential consequence of this setup?

    • AImmediate consistency on all reads
    • BFast reads with possible stale data
    • CSlow writes due to high consistency
    • DNo availability during partition