AI Interview Assistant for Backend Developers

Explain how your API protects customer data, how its queries behave and what you would test. Hiintly uses interview audio and screenshots you take to suggest responses as backend questions and follow-ups come up.

What backend interviews assess

In an API design round, expect to explain what a request can read or change and how you would test those rules. In a debugging round, show how you would narrow down a slow request before changing the code or the database.

To prepare, pick an endpoint you have worked on. Trace one request from the handler to the database, then find a query plan or trace that shows where the time goes. Capture it in Hiintly and ask aloud what would change if the endpoint started returning ten times as many rows. Use the suggested response to practice naming the measurement you would check next.

If the service is written in Go, also trace where work stops when a request is canceled. Walk through the Go interview example on request cancellation to explain how a blocked worker can outlive the caller.

Design an invoice API for multiple accounts

An interviewer asks you to review an API for a billing app. A user may belong to several accounts. They can read and list invoices for the account they select only if they have permission to read invoices there. What would you check before returning any data?

If the role also owns production access, practice explaining when privileges should expire in the security engineering interview exercise.

Scope every lookup to the account

Authenticate the caller and check their invoice permission for the requested account before querying. A URL can name an account without proving the caller belongs to it. Once authorized, query by both account ID and invoice ID. For callers with permission, a missing invoice and an invoice owned by another account return the same 404.

Prove the boundary

Seed invoice 17 only in A and test with a user who can read invoices in both A and B. Changing the account in the URL must never return A’s invoice. Also test with a caller who has no access to A and verify that they cannot list its invoices.

If the implementation uses Java map keys, the Java interview walkthrough of equality and tenant-specific keys shows how to keep the tenant in an in-memory lookup too.

RequestServer decisionExpected response
Read invoice 17 as an authorized member of account ALook for invoice 17 within A.200 with the invoice if it belongs to A.
Read invoice 17 in account B as an authorized member of BThe same ID has no match within B.404, the same as for an unknown invoice.
List invoices in B using a cursor issued for AThe cursor does not match the authorized account.400 with an invalid cursor error.

What if two invoices have the same timestamp?

Sort by creation time and invoice ID, both descending. Put both values from the last row into a signed cursor tied to the account. After rechecking access and validating the cursor, fetch only rows in that account with an older timestamp or with the same timestamp and a smaller ID. An index on account ID, creation time and invoice ID supports that query.

Test with three invoices in A that share a timestamp and have IDs 43, 42 and 41. With a page size of two, expect 43 and 42 on page one, then 41 on page two. A timestamp-only cursor would skip 41 if it asked for strictly older timestamps. Replay the cursor against B and expect 400. If the interviewer adds requirements such as a fixed view while new invoices arrive, use the system design interview guide to practice defining the consistency requirement before expanding the design.

To practice a write operation after reviewing these read endpoints, try the Stripe engineering interview exercises on retrying a payment after a timeout and testing that it only goes through once.

If the job involves Salesforce Platform, the Salesforce Developer interview exercise covers grouping Apex queries and updates when a batch changes several records on the same account.

Rehearse the API follow-up with Hiintly

Choose Software Engineer when setting up the session. In Extra Instructions, specify what you want the response to cover: “Explain who can make this request, how to scope the query and which test would catch a leak.”

Capture the sample schema or the interviewer’s query. Then say the follow-up aloud: “A user belongs to both accounts. Can they reuse a cursor from account A in B?” Use the suggestion to check whether your answer explains both the cursor check and the account filter on every request.

For a .NET role, practice how you would fetch the page in EF Core. The ASP.NET Core interview questions walk through a projection, a result limit and what to check when the endpoint is slow.

Another backend interview question to practice

How would you rename a column during a rolling deployment?

Suppose you need to replace customer_ref with billing_ref. Add the new column first and keep reads on the old one. Deploy a version that writes both columns. Once the old version has stopped writing, backfill the new column from the old one in batches. Make the backfill safe to retry and guard it against overwriting newer writes.

Check that both values match, then switch reads to the new column while keeping both writes during the rollback window. Drop the old column only after no running or rollback version needs it. If a follow-up asks what happens when a deployment fails halfway through, explain which versions can still read and write at that stage.

For the operational side of that decision, work through a stalled Kubernetes rollout and its rollback conditions. The example shows why restoring an image also requires checking the configuration it expects.

Backend developer interview FAQ

What should I study for a backend developer interview?

Start with an endpoint that reads or writes real data. Practice explaining who can call it, what the database query does and what happens when a dependency fails. If the role involves production support, prepare an example of how you narrowed down a failure using logs or metrics.

How do I practice Python backend interview questions?

Pick the framework in the job description and write a small endpoint with one integration test. For a Django or FastAPI role, try a list endpoint that returns each invoice and its line items. Check how many SQL queries it runs as you increase the page size, then explain how you would avoid one extra query per invoice.

What should I ask before adding a cache to an API?

Ask how stale a response can be and whether different callers are allowed to see different data. For an invoice balance that must reflect the latest payment, start by measuring and improving the database read. If a separate report can lag, agree on a freshness window and test what happens when an update arrives during that window.

Can Hiintly use a schema shown in a backend interview?

Capture the relevant part of the schema with Hiintly and say the requirement aloud. For example, show the invoice and account keys and explain that account members can read only their own invoices. Hiintly can use the screenshot and spoken context to suggest a response.

Get ready for your backend interview

Bring a schema or endpoint from a practice problem. Use Hiintly to work through what the API should do, how you would implement it and which test would prove it.