Prod Squad

Frontend vs backend vs mobile: who owns what, and where bugs live

How the layers of a product split responsibilities, why mobile is different, and how to triage bugs to the right team quickly.

6 min readAll levels#frontend#backend#mobile#architecture
Ask about this lesson
On this page

When a user says "the app is broken", the problem could live in the frontend, the backend, the mobile release, a third-party service or the data. PMs who understand the layers triage faster, write clearer bug reports, and plan releases realistically, especially on mobile, where you can't ship a fix instantly.

Why interviewers ask this

Execution and technical rounds probe how you'd handle bugs, plan cross-team work and estimate releases. Questions like "Users report X is broken. What do you do?" test whether you can locate a problem systematically. Interviewers also listen for whether you understand mobile constraints like app store review and old app versions.

The framework

The layers

flowchart LR
    subgraph Clients
        W["Web frontend<br/>browser"]
        M["Mobile apps<br/>iOS and Android"]
    end
    W --> G["API layer"]
    M --> G
    G --> B["Backend services<br/>business logic"]
    B --> D[("Databases")]
    B --> X["Third parties<br/>payments, maps, email"]
  • Frontend (web): what users see and interact with in a browser: layout, forms, client-side validation, state. Ships quickly; a fix can go live in minutes.
  • Mobile apps: native or cross-platform apps on iOS and Android. Releases go through app store review, users update slowly, and many old versions stay in use for months.
  • Backend: APIs, business rules (pricing, permissions, eligibility), data storage, and integrations. Shared by every client, so a backend fix helps everyone at once.
  • Infrastructure and data: servers, databases, queues, monitoring and analytics pipelines.

Who owns what

  • Business rules belong in the backend, so web and mobile behave the same and old app versions don't break them.
  • The frontend owns presentation, interaction and client-side performance.
  • Mobile teams own app releases, device compatibility and offline behaviour.

Where bugs usually live

  • Only on one platform or app version? Likely the client (mobile release, browser-specific).
  • Everywhere at once, starting at a specific time? Likely backend, a config change, or a third party.
  • Only for some users? Data issues, permissions, feature flags, or region.
  • Intermittent? Timeouts, load, race conditions or flaky third parties.

Triage questions

What platform, version, user, time, and steps? Is there an error message or a status code? What changed recently, such as releases, flags or config?

Worked example

Question: "Users report that discount codes aren't working at checkout. Walk me through how you'd handle it."

Sample answer:

"First, size and locate the problem.

Size: how many users and orders are affected? Is coupon redemption down overall in our dashboards, and since when? If redemption dropped sharply at a specific time, that's my starting point.

Locate, by asking the layer questions:

  • Platform: only Android? Only app version 6.2, released yesterday? Then it's probably the client, which matters because a mobile fix needs an app release.
  • Everyone, all platforms: probably backend: a pricing service change, a config error, or an expired promotion.
  • Some codes only: probably data, such as the code's validity dates set wrong in the admin tool.
  • Error shown to the user: a 4xx from the API suggests the backend rejected the code; a 5xx means the service failed.

Act based on where it lives:

  • Backend or config: fix and deploy quickly, or roll back the change.
  • Mobile client: check if we can mitigate from the backend (for example, accepting the format the buggy app sends) or disable the feature with a flag, while a fixed version goes through app review. Communicate to affected users.
  • Data: correct the promotion and re-run affected orders if needed.

Communication: update support with a script and timeline, tell marketing if a campaign is affected, and consider compensating affected users.

Prevention: a post-mortem: why didn't tests or monitoring catch it? Perhaps add an alert on coupon redemption rate."

Common mistakes

  • Escalating to "engineering" without narrowing down the layer.
  • Assuming a mobile fix ships instantly.
  • Putting business rules in the client, so platforms disagree and old versions misbehave.
  • Forgetting old app versions when changing APIs.
  • No impact sizing before deciding on urgency.

Interviewer tips

What "great" sounds like:

  • "Is it one platform and version, or everywhere at once? That tells me which layer."
  • "Mobile fixes need app review, so I'd look for a backend or feature-flag mitigation."
  • "Business rules should live in the backend, so every client behaves the same."
  • "Old app versions stay around for months, so API changes must stay compatible."
  • "After the fix, I'd add monitoring so we catch this before users do."

Practice questions

Answer one in a mock interview and get graded instantly.

  1. 1.Users report discount codes aren't working at checkout. Walk me through how you'd handle it.

    Practice this →
  2. 2.Why do mobile releases need different planning from web releases?

    Practice this →
  3. 3.Should a new pricing rule be implemented in the app or the backend? Why?

    Practice this →

Finished reading?