Hard Backend Developer questions
32 questions · 20 points each for a correct first answer.
- 1.Safe retries for paymentsidempotency, api-design, paymentshard
- 2.CAP during a network partitiondistributed-systems, system-designhard
- 3.Lost update on a wallet balancetransactions, concurrency, sqlhard
- 4.Cache stampede on a hot keycaching, performance, system-designhard
- 5.Saving to DB and publishing an eventevent-driven-architecture, microservices, transactionshard
- 6.One slow route freezes Node.jsnodejs, concurrency, performancehard
- 7.Connection pools and autoscalingdatabases, scalability, performancehard
- 8.Why a lock alone is not enoughdistributed-systems, concurrencyhard
- 9.NOT IN with a NULL in the listsql, debugginghard
- 10.Workers block each other on a jobs tablepostgresql, concurrency, message-queueshard
- 11.Deadlocks between two transfersconcurrency, transactionshard
- 12.Two doctors go off call at oncetransactions, concurrency, postgresqlhard
- 13.Account events processed out of orderkafka, distributed-systemshard
- 14.JWT verified with an attacker-chosen algorithmjwt, securityhard
- 15.Comparing secrets with ===security, cryptographyhard
- 16.Retries stacked at every layerreliability, distributed-systemshard
- 17.Profile shows old data after savingdatabases, consistency, system-designhard
- 18.Adding a fifth cache nodesystem-design, caching, distributed-systemshard
- 19.Sharding orders by creation datesystem-design, databases, scalabilityhard
- 20.Table bloat that VACUUM will not fixpostgresql, performance, debugginghard
- 21.Stale value returns after cache deletecaching, concurrency, redishard
- 22.Work continues after the client gives upreliability, distributed-systems, performancehard
- 23.Trusting a Bloom filter answerdata-structures, performancehard
- 24.Index for the few pending rowsindexing, postgresql, performancehard
- 25.Inserts slow down with UUID keysdatabases, indexing, performancehard
- 26.Burst at a fixed window boundaryrate-limiting, system-designhard
- 27.return versus return await in trynodejs, async-programming, debugginghard
- 28.Sorting by a user-chosen columnsql, securityhard
- 29.Pool exhausted during paymentsdatabases, performance, system-designhard
- 30.Deep merge of untrusted JSONsecurity, nodejshard
- 31.Concurrent requests from throughputperformance, system-designhard
- 32.Adding an index to a live big tablepostgresql, indexing, deploymenthard