Real World Scenario Based Decision Making Questions
Applying infrastructure knowledge to realistic business scenarios: handling traffic spikes, migrations from on-premises to cloud, optimizing costs during resource constraints, responding to security incidents, and managing infrastructure during rapid growth. Making trade-off decisions when constraints conflict.
EasyTechnical
40 practiced
Write a Python function decide_scale(samples: List[int]) -> str that inspects a list of CPU percentage samples (one per minute). Return 'scale_up' if the last 3 consecutive samples are >75, return 'scale_down' if the last 5 consecutive samples are <30, otherwise return 'no_change'. Provide example inputs and outputs, and ensure O(n) time. Example: samples = [60, 78, 80, 82] -> 'scale_up'.
MediumSystem Design
39 practiced
Design an observability pipeline for logs, metrics, and traces for a microservices platform processing ~100k events/sec. Cover ingestion, labeling/enrichment, sampling, storage choices (hot vs cold), alerting architecture, and cost controls. Suggest open-source or managed components and justify trade-offs.
EasyTechnical
48 practiced
Explain differences between a Layer 4 Network Load Balancer (NLB) and a Layer 7 Application Load Balancer (ALB). Cover TLS termination, connection handling (TCP/HTTP), sticky sessions, WebSocket support, path/host-based routing, and considerations for source-IP preservation. Recommend which to use for a microservices REST API vs a WebSocket chat service.
EasyTechnical
32 practiced
You observe anomalous outbound traffic from a production VM suggesting possible data exfiltration. Describe the immediate containment and assessment steps you would take within the first hour, prioritizing actions to protect customer data, preserve forensic evidence, and maintain critical services. Indicate which actions are reversible and which will cause downtime.
HardTechnical
47 practiced
Your metrics bill is exploding due to high cardinality labels. Propose a concrete plan to reduce observability costs while preserving SLOs: include label normalization and removal, aggregation/rollups, sampling strategies, histograms vs gauges, and application instrumentation changes. Provide examples of acceptable transformations and their trade-offs.
Unlock Full Question Bank
Get access to hundreds of Real World Scenario Based Decision Making interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.