The hiring problem. A recruiter has forty minutes with you and one decision to make: can this person be dropped into a customer's messy systems, trusted with the keys, and left alone long enough to ship something the customer will actually use?
She does not have a whiteboard full of trick puzzles. She has a backlog of real failures she has seen engineers mishandle — an API that silently dropped records, a validation rule that blocked the intake pipeline at 3 a.m., a dashboard that looked right and was wrong. She is going to walk you through versions of those failures and listen for how you think. Note: the people and companies in this bank's scenarios are illustrative composites based on common patterns — the situations are the point, not the names.
This is Part A of the FDE Interview Question Bank: thirty-seven technical questions across four groups, each one the pattern an FDE interview loop is really testing. Practice them aloud.
The principle
A technical answer that ignores the customer is only half an answer. Every question below can be answered with a correct mechanism. The strong candidates also name who the mechanism serves, what breaks for the customer when it goes wrong, and what they would check first in production. Answer the mechanism, then say why it matters to the person on the other end.
How to use this bank
These are practice prompts, not an answer key — deliberately. FDE loops are not trivia contests; interviewers change the details of every question, and a memorized paragraph shatters on contact with a follow-up. So:
- Rehearse aloud. Say your answer to a human or to your phone recorder, the way you will say it in the room. If you cannot explain it in plain words, you do not know it yet.
- Time-box it. Give yourself two to three minutes per question, the length of a real spoken answer. Long rambles read as uncertainty.
- The FDE twist: after your technical answer, add one sentence about customer impact — who feels the failure, what it costs them, or what changes for them when it works. That single sentence is often the difference between a "yes" and a "strong yes."
- Cover the hint second. Under each question, in italics, is what good looks like: a sentence or two describing the shape of a strong answer. Draft your own answer first, then compare.
Group 1 — APIs: design, versioning, auth, pagination, retries, webhooks, and debugging someone else's API
This is the heaviest group, and that is no accident. An FDE lives inside other people's systems, and most of that contact happens through APIs — yours and theirs. The pattern these loops test: can you design a contract someone else can trust, and can you diagnose one that is already lying to you?
Study these lessons first
- You are designing a REST endpoint that lets a city agency submit 311 service requests — potholes, missed garbage, broken streetlights. How do you choose between
POST /requestsand aPOST /requests/batchendpoint for agencies that file thousands of reports a day?
What good looks like: talk about the cost of one request per record (latency, rate limits, client complexity) versus batch semantics — partial success, atomicity, error reporting per item — and pick a threshold where the batch endpoint earns its complexity. - A partner team's API returns
200 OKwith an error message inside the JSON body, and sometimes500with a perfectly usable response. How do you write a client that survives this?
What good looks like: don't argue with the API — define your own explicit success contract (verified against the vendor's documented behavior, with tests), and never treat a usable-looking 500 body as success without that contract. Log diagnostically, not raw: structured logs with redaction, request IDs, sanitized response samples, and restricted access — raw payloads leak API keys, tokens, and PII. - Your API has been in production for six months when the agency asks for a field you cannot add without breaking existing clients. Walk through your versioning strategy — and when would you refuse to version at all?
What good looks like: explain additive changes versus breaking changes, why additive usually wins, and name the breaking case — changing field semantics, auth, or error contracts — where refusing to version is just accepting silent corruption. - Compare API keys, OAuth 2.0 client credentials, and mutual TLS for a server-to-server integration with a city vendor. What would push you to each?
What good looks like: trade security guarantees against operational cost — keys are simple but shared secrets leak, OAuth gives scoped short-lived tokens with rotation, mTLS gives strong identity but heavy ops — and tie the choice to the sensitivity of the data crossing the wire. - You paginate a large result set with
?page=3. A client reports missing and duplicated records when new rows arrive during their crawl. What is happening, and how do you fix it?
What good looks like: explain that offset pagination shifts as rows insert or delete, then describe cursor-based pagination as the fix — and note the customer-visible symptom that motivated it, not just the mechanism. - A third-party API rate-limits you at 100 requests per minute and returns
429with aRetry-Afterheader. Your nightly sync must move 50,000 records. How do you design the client?
What good looks like: clarify before calculating — how many records per request (page size)? any separate throughput limits? Only then do the arithmetic: minimum minutes = required API requests ÷ 100. Then add a concurrency budget, exponential backoff with jitter, and respect forRetry-After— retries that hammer a struggling server help no one. - When would you retry a failed request, and when would you never retry?
What good looks like: retries belong on idempotent, safe-to-repeat operations with timeouts and bounded attempts; never blindly retry non-idempotent writes like payments or record creation — design idempotency keys instead and say why the customer's money is the reason. - The agency wants real-time updates when a request's status changes, and they ask for webhooks. What does a production-grade webhook receiver need before you trust it?
What good looks like: verify → durably record → acknowledge → process idempotently → reconcile. Signature verification first; acknowledge200only after the event is durably accepted (persistent queue or inbox table) — a 200 followed by a crash is a lost event. Event IDs give idempotent dedup, not ordering — status updates can still arrive out of sequence, so design for that. An unverified webhook is an open door into your system. - You inherit an integration with a legacy vendor API that has no documentation, returns undocumented error codes, and changes behavior without notice. What is your debugging playbook?
What good looks like: capture and log raw requests and responses first, build a characterization test suite that pins current behavior, diff behavior over time to detect silent changes, and write your own contract layer so the vendor's chaos stays out of your domain code. - An interviewer asks: "Design rate limiting for the public 311 intake API." Where do you put the limiter, what does it key on, and what happens to legitimate users who trip it?
What good looks like: name the placement tradeoffs (edge/gateway versus application), key on something meaningful like API key or tenant rather than raw IP where you can, return429withRetry-After, and protect the citizen-facing path — the customer impact is a resident who cannot report a flooded street.
Group 2 — Python: data wrangling, validation, testing, packaging, datetimes
Python is the FDE's field language: pipelines, glue, ETL, CLIs, the copilot's tools. Loops do not test syntax puzzles here — they test whether your code survives the messy real world, where inputs lie and time zones hate you.
Study these lessons first
- You get a CSV of 311 reports from a vendor. Some dates are
03/04/2026, some are2026-03-04, some say"last Tuesday". Walk through your wrangling approach.
What good looks like: profile the formats before parsing anything, try strict parsers in priority order, quarantine the unparseable rows with the reason recorded — never silently guess which of day and month comes first, because a wrong guess corrupts the customer's timeline. - When do you reach for pandas, and when is it the wrong tool for the job?
What good looks like: pandas earns its place for interactive exploration and medium tabular transforms. For large files, reach for chunked processing and memory-efficient dtypes first — only switch tools (DuckDB, Polars, Spark) when the signal says pandas genuinely can't do it: true streaming ingestion, distributed scale, or explicit schema enforcement across a pipeline. - A vendor changes a field from a number to a string with currency symbols, and your pipeline crashes at 2 a.m. What do you change so this class of failure cannot page you again?
What good looks like: validate at the boundary with a schema like Pydantic before the data touches business logic, reject or quarantine with a clear reason, and explain that the 2 a.m. page was the cost of trusting an input you never measured. - An interviewer asks you to write a test for a function that retries a flaky HTTP call. What do you actually test?
What good looks like: not the network — mock the transport, test the attempt count, the backoff growth, that it stops retrying, and that it succeeds on a late success; the point is testing your logic, not the vendor's availability. - Your teammate's pipeline passes on their laptop and fails on yours. Then it fails in CI. What is your debugging order of operations?
What good looks like: check the environment before the code — dependency versions, lock files, environment variables, Python version — because "works on my machine" is almost always an environment fact wearing a code costume. - What belongs in a Python package's lock file, and what is the customer-facing consequence of shipping without one?
What good looks like: pinned exact versions of every transitive dependency; without them, a deploy months later can resolve different packages and behave differently — and the customer gets the incident for a change nobody made on purpose. - Two timestamps arrive for the same event:
2026-03-08T02:30:00with no zone, and2026-03-08T07:30:00Z. One of them is during a daylight-saving transition. How do you handle this without corrupting the record?
What good looks like: refuse to guess. March 8, 2026 is a spring-forward transition — 02:30 is a nonexistent local time, not an ambiguous one. Teach both cases: spring forward creates times that don't exist; fall back creates times that occur twice. And a timezone-naive timestamp can't be interpreted reliably without knowing its originating timezone — require timezone-aware datetimes at ingestion. - You are asked to build a small CLI tool the agency's field crew will run on Windows laptops. What do you build into it from day one?
What good looks like: clear help text, structured logging with log levels, sane defaults, explicit error messages that say what to do next, and reproducible packaging — because your user is a tired crew lead, not a developer, and the tool must fail helpfully. - A data file arrives with 40 columns, and only 6 of them matter. Do you keep all 40 through the pipeline?
What good looks like: land on minimizing data early — drop what you don't need at ingestion, document why, and tie it to real costs: storage, schema drift surface, and privacy exposure you are now responsible for carrying.
Group 3 — SQL & data: joins, aggregation, reconciliation queries, schema design for messy data
SQL is where a candidate's honesty gets tested. A wrong join does not throw an error — it quietly returns a wrong number, and someone makes a budget decision on it. These questions probe whether you can write queries that deserve trust.
Study these lessons first
- A query joins
requeststowork_ordersand the row count explodes — the dashboard shows ten times more open requests than yesterday. What went wrong, and how do you prove it?
What good looks like: recognize a fan-out from a one-to-many join multiplying rows, then prove it by counting before and after the join and by aggregating at the right grain — the strong answer checks the grain before blaming the data. - When do you use
LEFT JOINversusINNER JOIN, and what does each choice silently claim about the data?
What good looks like: an inner join claims every row has a match and quietly drops the rest; a left join keeps unmatched rows and introduces NULLs you must handle downstream — name which rows each choice hides, because the hidden rows are usually the ones the customer needed to see. - The operations dashboard says 1,240 requests were completed last month. The finance export says 1,198. Both queries "look right." How do you reconcile them?
What good looks like: don't pick a winner — write queries that isolate the difference set, check definitions (what counts as "completed"? which timezone cutoffs?), and explain that two numbers disagreeing is a definitions problem first and a data problem second. - Write the approach — not the full query — for: "average days to close, by request type, excluding requests reopened more than once." What is the trap?
What good looks like: the trap is averaging over the wrong rows — reopened requests inflate the average, and NULL close dates must be excluded explicitly; sketch the filter-before-aggregate order and name the rows that would distort the number if you forget. - You need a deduplication query for service requests where the same pothole gets reported by three different residents. How do you decide what counts as "the same" report?
What good looks like: admit this is a business decision, not a SQL one — propose matching on proximity, type, and time window, show how you'd surface near-duplicates for a human, and note that over-aggressive dedup silently deletes citizens' voices from the record. - A table stores request status as free text:
"open","Open","OPEN","in progress","In-Progress","done","closed". The agency wants reliable status reporting. What is your plan?
What good looks like: profile the distinct values first, define a canonical status enum with the data owner — not alone — migrate with a mapping table you can audit, and constrain the column so the mess cannot regrow. - Explain the difference between a query that is fast and a query that is correct, and give a case where chasing speed broke correctness.
What good looks like: a fast query returns quickly, a correct query returns the right rows at the right grain. Name a real failure mode: LIMIT without ORDER BY, joining a one-to-many table and multiplying totals, filtering before vs. after aggregation, an inner join silently excluding unmatched rows, or a summary table that drifted from source. (A compliant optimizer can change join order or use indexes without changing semantics — don't blame the plan for application-level mistakes.) Verify correctness first, then optimize. - How would you design a schema for ingesting messy vendor data you do not control — formats change, columns appear and vanish, some rows are half-empty?
What good looks like: a raw landing zone that stores exactly what arrived, a validated clean layer with typed schema, quarantine for rejected rows with reasons, and an audit trail — because you cannot fix what you cannot replay. - The agency asks for a single "requests resolved on time" metric to report to the mayor's office. What do you clarify before you write a single line of SQL?
What good looks like: pin down the definition — resolved means what, on time against which SLA clock, paused statuses, reopened cases, the timezone of the cutoff — and get it in writing, because a metric you cannot define is a metric you cannot defend when the number is challenged.
Group 4 — Debugging scenarios: "the pipeline broke overnight"
This is the group that decides most FDE interviews. Nobody expects you to know the system — they expect a method. Each scenario is a composite drawn from the CityOps spine: the 311 pipeline, the API, the Ask CityOps copilot, the deploy. Walk the interviewer through your investigation the way a detective works a case, not the way a trivia player works a flashcard.
Study these lessons first
- Debugging Like a Detective: Reading Errors, Logs & Finding the Real Cause
- Health Checks, Logs & Monitoring: Know Before the Customer Does
- Milestone 2: The CityOps Intake Pipeline
- Spine Milestone 3: The CityOps API
- Milestone 4: The Ask CityOps Pilot
- Spine Milestone 5: CityOps Goes Live
- Networks for Builders: What "The Site Is Down" Really Means
- Calling LLM APIs in Production
- You wake up to a page: the nightly 311 intake pipeline processed zero records. No errors in the job log — it finished "successfully" in four seconds. Walk through your investigation.
What good looks like: start with the success that wasn't one — check the upstream file (arrived? renamed? empty?), the source counts versus landed counts, the job's own record-count assertions; the strongest answers name what monitoring should have caught this before a human did. - The pipeline ran fine, but this morning the agency's operations dashboard shows yesterday's numbers cut in half. The data team says "the pipeline is fine." How do you find the real cause?
What good looks like: treat "fine" as a claim to test — diff row counts at every stage boundary, check the dashboard's query and filters, look for a timezone or date-boundary shift, and reconcile the dashboard number against the raw source independently. - Citizens report the public 311 API returns their submitted requests fine, but the request they filed yesterday has vanished from the status page. It is in the database. Where do you look?
What good looks like: narrow the gap between "in the database" and "not on the page" — caching, read replicas lagging, a filter the status query applies, pagination cutting it off — and explain why you bisect the stack from both ends instead of guessing in the middle. - The Ask CityOps copilot starts giving confident, wrong answers about garbage pickup schedules. The RAG retrieval is unchanged. What changed, and how do you prove it?
What good looks like: unchanged retrieval still means changed grounding — check the source documents for silent edits, version the prompt and model, inspect citations against the retrieved evidence, and run the eval set to show when the regression appeared. - After a Friday deploy, the API is up, health checks pass, but every write returns
200 OKwhile nothing is actually saved. Walk through it.
What good looks like: distinguish liveness from readiness — a health GET only proves the server responds — check the write path end to end, the deploy diff, feature flags, and whether the deploy migrated the write target; name the missing readiness check that would have caught this before customers did. - The vendor's legacy system starts returning garbage data once a week — and only on Monday mornings. Your code is untouched. How do you handle an intermittent upstream failure you cannot reproduce on demand?
What good looks like: log and timestamp every raw payload, correlate the failures with the vendor's schedule (Monday-morning batch windows are a classic), build a characterization test from captured samples, and add validation plus quarantine so their bad morning stops being your incident. - Your logs show a spike of
429responses from the LLM API at 9 a.m. every weekday, and the copilot slows to a crawl for the agency's busiest hour. What is the fix — and what is the trap?
What good looks like: budget the concurrency, queue and shed load gracefully, cache repeatable calls — and the trap is that retries against a rate-limited API at peak hour make the spike worse; back off instead of hammering. - A teammate says "the database is slow" because their query takes two minutes. How do you decide whether the database, the query, or the expectation is the problem?
What good looks like: measure first — check the query plan, row counts, and whether this ran faster yesterday — because "slow" is a comparison, and the answer changes completely depending on what changed: the data volume, the plan, or the traffic around it. - It is your first week at a client site. A production pipeline nobody fully understands has been failing intermittently for a month, and the on-call engineer is burned out. Nobody can give you a runbook. Where do you start?
What good looks like: show humility before heroics — read the logs before touching anything, map the pipeline's stages and owners, talk to the burned-out on-call person first because they hold the context, and produce a written map of what you found before you change a single line.
Do not memorize
- Do not memorize the hints as scripted answers — interviewers vary the details, and a rehearsed paragraph that doesn't fit the follow-up reads worse than a rough but honest answer.
- Do not answer mechanism-only. Every group rewards the candidate who adds the customer-impact sentence: who is hurt, what it costs them, what changes when it works.
- Do not fake certainty. "I don't know, but here's how I'd find out" is a complete, strong answer — especially in Group 4.
Worked examples: what separates good from excellent
APIs — the 429 question, scored
Good (6/10): "I'd add retries with exponential backoff and respect Retry-After."
Excellent (10/10): "First I'd determine the page size and records-per-request — the arithmetic is meaningless without it. Then: minimum minutes = required requests ÷ 100, a concurrency budget so retries don't compound the load, backoff with jitter, and an honest conversation with the customer if the math says the sync can't finish in the window. Retries that hammer a struggling server help no one."
Follow-up: "The vendor offers a higher tier on an enterprise contract the customer hasn't signed. Do you build assuming it?"
Python — the DST question, scored
Good (6/10): "I'd make everything timezone-aware."
Excellent (10/10): "March 8, 2026 is spring-forward — 02:30 doesn't exist in America/New_York, it's not ambiguous, it's invalid. Fall-back is the ambiguous case. A naive timestamp can't be interpreted without its originating timezone, so I'd quarantine the record, require tz-aware datetimes at ingestion, and document which transition rule applied."
Follow-up: "The source system can't send timezones. The business needs the report tomorrow. What do you do?"
SQL — fast vs. correct, scored
Good (6/10): "I'd check the query plan and add an index."
Excellent (10/10): "Correctness first: I'd verify the grain — is this LIMIT without ORDER BY? A join multiplying totals? Filtering before aggregation? A summary table that drifted from source? Then I'd write a reconciliation query proving the result before touching performance. The optimizer doesn't silently drop rows; application logic does."
Follow-up: "The correct query takes 40 minutes and the dashboard needs it hourly. Now what?"
Debugging — the silent pipeline, scored
Good (6/10): "I'd check the logs and rerun it."
Excellent (10/10): "A pipeline reporting success on zero records is a monitoring failure, not a data failure. I'd check what 'success' actually asserts — row counts? schema checks? — then add the missing invariant, backfill the gap, and tell the customer what was missing and for how long before they ask. The customer sentence matters as much as the fix."
Follow-up: "You find the pipeline has been silently empty for three weeks. The customer already presented the numbers. What's your first call?"
Field check
Pick any three questions — one from Group 1, one from Group 3, one from Group 4. Record yourself answering all three aloud in under eight minutes total. Then play it back and grade yourself against these checks:
- Did you state the mechanism clearly before any opinion?
- Did you add the one customer-impact sentence?
- Did you name what you would check first in production?
- Did you avoid inventing numbers or claiming certainty you don't have?
What a passing rehearsal feels like
You sound like someone who has been paged before — calm about the unknown, specific about the next step, and always able to say whose problem it really is. If your answers run long, cut the preamble; the mechanism and the customer sentence are the whole answer.
Next in the bank
Part A covered the technical half. The rest of the bank is live:
- Part B: The FDE Interview Question Bank — System Design & Integration, 32 questions on data pipelines, API integration, RAG systems, and deployment.
- Part C: The FDE Interview Question Bank — Behavioral & Customer Judgment, 32 questions on owning ambiguity, saying no to a customer, and the stories that actually land.
Comments
Post a Comment