23questions
AdvancedDevOps
23 subjects
2 easy11 medium10 hard
When does a Bash script stop being the right tool, and what would you rewrite it in?
Start practising31 easy79 medium24 hard
// 134 of 134 questions · 132 subjects
Latency and throughput are not the same thing. How do they interact?
mediumPerformance
Explain the CAP theorem — and why "pick two of three" is misleading.
mediumCAPDistributed systems
Where is weak consistency the right choice?
easyConsistency
What does strong consistency cost you, and how do systems pay it?
hardConsistencyReplication
You have built fail-over. How do you know it works?
mediumOperations
What makes active-active harder than active-passive?
hardFail-overReplication
How does master-slave (leader-follower) replication work, and what does it not give you?
mediumReplication
Master-slave or master-master replication — how do you choose?
mediumReplication
What does 99.9% availability allow in downtime?
easyAvailability
What goes wrong with scheduled jobs in a multi-instance deployment?
easyAsyncScheduling
Can DNS be used for load balancing, and what are its limits?
mediumDNSLoad balancing
How do you keep a CDN from serving stale assets after a deploy?
mediumCDNCaching
How is a reverse proxy different from a load balancer?
easyLoad balancing
Which load-balancing algorithm would you use, and why not round-robin?
mediumLoad balancing
What is the difference between layer 4 and layer 7 load balancing?
mediumLoad balancing
When is a layer 4 load balancer the better choice?
mediumLoad balancing
Vertical versus horizontal scaling: when do you choose each?
easyScalability
Why separate the web tier from the application tier?
mediumArchitecture
When are microservices a bad idea?
hardMicroservicesArchitecture
How do services find each other when instances come and go?
mediumMicroservicesInfrastructure
In what order do you scale a relational database?
mediumSQLScalability
What is federation (functional partitioning), and how is it different from sharding?
mediumFederation
When is denormalising worth it?
mediumSchema
A query got slow. What is your SQL tuning checklist?
easyPerformance
How would you design a distributed key-value store?
hardNoSQLDesign
Why add a cache, and what does it cost you?
easyCaching
What is caching at the web server or reverse proxy, and when is it the right layer?
mediumReverse proxyCaching
What caching does your database already do, and when do you need more?
mediumDatabaseCaching
What do you cache in the application layer, and at what granularity?
mediumRedisCaching
Explain cache-aside, and its main weaknesses.
mediumPatternsCaching
When would you choose write-through caching?
mediumPatternsCaching
What is write-behind, and what can go wrong?
hardPatternsCaching
How does refresh-ahead differ from a plain TTL, and is it worth it?
hardPatternsCaching
How is a task queue different from a plain message queue?
mediumQueuesWorkers
What is back pressure, and what happens without it?
hardQueuesResilience
What does HTTP give a system designer, and what should you know about its versions?
easyHTTPNetworking
What does TCP guarantee, and what does that cost?
mediumTCPNetworking
When would you choose UDP over TCP?
easyNetworking
REST, gRPC or GraphQL — how do you decide?
mediumAPI design
How do you make a payment endpoint safe to retry?
hardReliabilityAPIs
What is the Busy Database antipattern?
mediumDatabasePerformance
What is the Busy Front End antipattern and how do you fix it?
mediumPerformanceAsync
What is chatty I/O, and how do you recognise it?
mediumPerformanceNetwork
easyPerformanceDatabase
What is the Improper Instantiation antipattern?
mediumPerformanceResources
What is monolithic persistence, and when does it stop working?
hardDatabaseArchitecture
When is not caching a mistake?
easyCachingPerformance
What is the Noisy Neighbor problem, and how do you contain it?
mediumMulti-tenancyPerformance
How can retries make an outage worse, and how do you prevent it?
hardResiliencePerformance
What is the Synchronous I/O antipattern?
mediumPerformanceConcurrency
What is monitoring for, and how does it differ from observability?
easyObservability
What should a health check actually verify?
mediumMonitoringReliability
How do you measure availability honestly?
mediumMonitoringSLOs
Which performance metrics matter, and why not averages?
mediumMonitoringMetrics
What does security monitoring add to a system design?
mediumSecurityMonitoring
Why monitor usage, not just health?
easyMonitoringProduct
What are the three pillars of instrumentation, and how do you correlate them?
mediumObservabilityTracing
What makes an alert good, and how do you avoid alert fatigue?
mediumAlertingOperations
What is the sequential convoy pattern?
hardMessagingOrdering
How does the scheduler-agent-supervisor pattern coordinate a multi-step workflow?
hardMessagingReliability
How does queue-based load leveling protect a service?
mediumMessagingScalability
When does publish-subscribe beat point-to-point messaging?
mediumMessagingEvents
What is pipes and filters, and when does it help?
mediumMessagingArchitecture
How do competing consumers scale message processing?
mediumMessagingScalability
Choreography versus orchestration: how do you choose?
hardMessagingArchitecture
What is the claim check pattern?
mediumMessaging
How do you implement request-reply over an asynchronous channel?
hardMessagingAPIs
When do you use a materialized view, and how does it stay correct?
mediumDataPerformance
What is the index table pattern, and why would you need it?
mediumNoSQLData
What is CQRS, and when is it overkill?
hardDataArchitecture
What is a sidecar, and what problems does it solve?
mediumMicroservicesInfrastructure
How does leader election work, and what is the danger?
hardCoordinationDistributed systems
easyGateway
Which concerns belong in a gateway (offloading), and which do not?
mediumGatewaySecurity
What is gateway aggregation and what are its risks?
mediumGatewayPerformance
Why move configuration to an external store?
mediumConfiguration
When should you consolidate tasks onto shared compute?
mediumCostInfrastructure
Why have a separate backend for each frontend?
mediumAPIArchitecture
What is an anti-corruption layer?
hardDomain-driven designMigration
How does the ambassador pattern differ from a sidecar?
mediumMicroservicesResilience
What does designing for reliability assume about failure?
easyReliability
What are the main levers for improving availability in a cloud design?
mediumAvailability
How does throttling protect a service, and how should clients behave?
mediumResilienceAPIs
How do you design a highly available service in practice?
mediumAvailability
What is the deployment stamps pattern?
hardMulti-tenancyScalability
What are geodes, and what is the hard part?
hardMulti-regionAvailability
How should a health endpoint be designed?
easyMonitoringReliability
How does the bulkhead pattern limit failure?
mediumResilience
How does a circuit breaker work?
mediumResilience
How do resiliency patterns combine into one call path?
mediumResilience
When is retrying correct, and how should it be done?
mediumResilience
How do you undo a multi-service operation without a distributed transaction?
hardDistributed transactionsResilience
Why delegate authentication to an external identity provider?
mediumSecurityIdentity
What is the gatekeeper pattern?
mediumSecurity
How does the valet key pattern let clients upload large files safely?
mediumSecurityStorage
23questions
Advanced23 subjects
2 easy11 medium10 hard
When does a Bash script stop being the right tool, and what would you rewrite it in?
Start practising19questions
Advanced19 subjects
3 easy10 medium6 hard
How do application, solution and enterprise architecture differ, and which decisions belong at each level?
Start practising24questions
Advanced24 subjects
4 easy12 medium8 hard
Why do most engines run physics on a fixed timestep while rendering at a variable rate, and how do you avoid stutter?
Start practising