Skip to content
Search lessons, topics, tests…
Esc

    ↑ ↓ moveEnter openEsc close

    Practice test

    Cache Concurrency: Admission, Cancellation and Cleanup

    Twelve focused questions on admission limits, cache refill races, cancellation ownership and cleanup. Read Concurrent Cache Misses and Bounded Stampede Protection: https://www.techinterviewnotes.com/courses/aspnet-core-cache-correctness-keys-expiration-concurrency?lesson=6e81c396-a08b-4926-b692-5d7a65b23f16 . For the custom BoundedSingleFlight implementation, read the Full Access companion at https://www.techinterviewnotes.com/notes/aspnet-core-cache-correctness-lab-companion , page 14 (scope and lifetime) and pages 28–30 (complete implementation). The scenarios are static traces of the supplied code and stated policies; no fresh runtime execution is claimed. Distinguish this wrapper from framework contracts and HybridCache. Allow about 20 minutes; there is no countdown. Practice target: 8 of 12, with +1 for a correct answer and no penalty for an incorrect answer.

    Questions
    12
    Time
    No limit
    Right answer
    +1
    Wrong answer
    0

    12 marks in all · pass mark 8

    This test comes with TechInterviewNotes Full Access

    Unlock all paid content on TechInterviewNotes.

    From the lesson Concurrent Cache Misses and Bounded Stampede Protection