0
0
LLDsystem_design~20 mins

Cancellation and refund policy in LLD - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Cancellation and Refund Policy Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding core components of a cancellation and refund system

Which component is essential for tracking user cancellation requests in a cancellation and refund policy system?

AUser Authentication Module
BPayment Gateway Integration
CCancellation Request Handler
DNotification Service
Attempts:
2 left
💡 Hint

Think about which part directly manages the cancellation actions initiated by users.

Architecture
intermediate
2:00remaining
Designing a scalable refund processing flow

Which architecture pattern best supports scalable and asynchronous refund processing in a cancellation and refund policy system?

AEvent-driven microservices with message queues
BMonolithic synchronous API calls
CDirect database triggers for refund updates
DClient-side refund calculation
Attempts:
2 left
💡 Hint

Consider how to handle many refund requests without blocking the system.

scaling
advanced
2:00remaining
Handling peak loads in cancellation requests

During a major sale, cancellation requests spike 10x. Which approach best ensures system stability under this load?

AIncrease database write capacity only
BImplement rate limiting and queue requests for processing
CProcess all requests synchronously to avoid backlog
DDisable cancellation temporarily
Attempts:
2 left
💡 Hint

Think about controlling request flow to prevent overload.

tradeoff
advanced
2:00remaining
Choosing refund timing strategies

Which refund timing strategy balances user satisfaction and operational cost best?

ARefunds processed after 7 days delay automatically
BInstant refunds processed immediately
CRefunds processed only after manual review
DBatch refunds processed once daily
Attempts:
2 left
💡 Hint

Consider a delay that allows fraud checks but does not frustrate users too much.

estimation
expert
3:00remaining
Estimating refund system capacity

Your platform has 1 million active users. On average, 2% request cancellations monthly, and 80% of those require refunds. Each refund request takes 500ms to process. What is the minimum number of concurrent refund processing workers needed to handle peak load assuming all requests come in a 1-hour window?

AApproximately 1480 workers
BApproximately 222 workers
CApproximately 444 workers
DApproximately 740 workers
Attempts:
2 left
💡 Hint

Calculate total refund requests, then divide total processing time by available time.