QA Interview Hub · Knowledge base · Quizzes · Українська
19 Product Engineering questions that come up in QA interviews, with short answers. Open the topic in the knowledge base for a deeper explanation.
A user story is a short requirement from the user’s point of view: "As a <role>, I want <action>, so that <value>". Acceptance criteria are attached to it, the conditions on which stakeholders accept the implemented story, and QA derives test cases from them. An MVP (minimum viable product) is the minimal version of a product that already gives the user value and lets the team test a hypothesis with real data before investing more. Example story: "As a buyer, I want to save a card so that I can pay faster". If the criteria are missing or vague, I ask questions at grooming, before development.
A spec says what to build, while a product must solve the user problem. QA checks both levels: was it built right and was the right thing built. It tests the user journey, not only separate screens, asks the PM questions (which problem we solve, what the success metric is, what is out of scope) and describes a defect impact in the language of the user and the business.
Given is the initial state (the user is signed in, there is one item in the cart), When is the single action under test (clicks "Checkout"), Then is the observable result (sees a confirmation, an email arrives). One scenario, one behaviour. Vague words such as "fast" are replaced with a number and conditions, and edge cases and errors are described as separate scenarios.
A bug is a deviation from the expected behaviour (the spec or a reasonable user expectation). If the product behaves as promised and the user wants a new capability, it is a change request and the product owner sets the priority. Test priority: how bad a failure would be (money, data, reputation, law) times how likely it is. Payment, access rights and personal data go first. What was checked only on the surface is stated out loud.
DAU/MAU are active users per day and per month; their ratio shows what part of the audience returns daily. Conversion is the share of those who completed a target action. A funnel is steps with their own conversion (view → cart → payment) showing where people drop off. Retention is the share who came back after N days, by cohorts. Churn is the share who left. A metric is useful when a decision depends on it.
We compare with the tracking plan: the event goes when it should and does not when it should not; the name, required properties and types are right; there are no duplicates (reload, double click, retry); after sign-in events are tied to the user; without consent the restricted events are not sent; web, iOS and Android are consistent. We look in Network, in the tool debug mode (DebugView, live view) or intercept requests in automated tests.
Analytics is an input to decisions: what to develop, what to switch off, who won an A/B test. Duplicates, gaps or wrong properties distort metrics with no errors in the interface, so the team acts on false data without suspecting it. Data usually cannot be repaired retroactively, so such defects are sought before the release, not after.
The audience is randomly split into control and variant, the metric is compared and statistics check that the difference is not random. QA verifies: assignment is stable (sticky); each variant works functionally, visually and in analytics; the exposure event is sent once with the group name; there is a way to force a variant; overlapping experiments are separated or accounted for in the analysis. A test is not stopped at the first lead: duration and sample are set in advance.
We check both states (off without regression, on with the new behaviour), the transition between them with data that already exists, targeting (percentage, role, country, version), key flag combinations and the production value, not only dev. A kill switch is a flag for emergency shutdown of a risky function: it must work fast, without a deploy, gracefully (a fallback) and without losing data. Old flags are removed together with the dead code.
Canary: the new version next to the old one on a small percentage of traffic. Gradual rollout: 1% → 10% → 50% → 100% with pauses to observe. Blue-green: two full environments, traffic is switched entirely, rollback means switching back. Rollback when the impact is serious and the cause unclear. Fix-forward when the cause is known, the fix is small and a rollback is risky (an irreversible migration). Migrations are made compatible: expand / contract.
After a release: error rate and latency (p95/p99), crashes, business KPIs (conversion, orders per hour) against the same time last week, complaints and tickets, a production smoke with a test account. A post-mortem without blame: a timeline, impact, root causes, what worked, action items with owners and deadlines (a test, an alert, a checklist). People must not fear punishment so that they share the truth.
We delegate what is cheap to verify: small changes with clear boundaries, repetitive edits, test drafts, finding usages, analysing a failure from a log, a pull request description. A person keeps the decisions about what to build and why, architectural trade-offs, access rights, security, real data and the final "OK to merge". The higher the agent autonomy, the stricter the limits: a separate branch, minimal rights, verification in CI.
The engineer who accepted and merged the change answers for it: an agent does not take responsibility. A report "everything passed" is a claim, not evidence. It is verified in CI in a clean environment, by running it yourself and by reading the diff. Pay special attention to tests bent to fit the code, changes outside the task and a pull request that is too large.
What is needed in almost every session and cannot be seen from the code: build and test commands, conventions, constraints. The file is loaded as context, not as enforcement. A long file takes context every time, lowers rule adherence, and the agent interprets contradictions arbitrarily. We do not put in what a linter checks, long procedures (they belong in skills) or secrets. A rule that must not be broken is built as a hook.
A skill description is always in context and the full text loads only when the skill is needed, so procedures live in skills and short facts in the instruction file. A new session starts with an empty context, so lasting knowledge is written into a file loaded at the start and checked for staleness. Context is cleared between unrelated tasks, and after two fruitless corrections we start a new session with a brief record of the state.
The main session plans, hands out tasks and verifies results. A subagent has its own context and returns only a summary. We choose the model by complexity and the cost of a mistake: mechanical search goes to a cheaper one, design and review of risky changes to a stronger one. The brief is written for a colleague who saw nothing: goal, decided, files, done when, checks, out of scope. A subagent report is verified too.
We run only independent parts in parallel; work that depends on a contract starts after it is fixed. Two agents in one working copy can overwrite each other's edits and git will not help, so a file has one owner or each agent works in its own worktree (it has no git-ignored files such as .env and no dependencies, so we prepare them). For a small, tightly coupled change one agent is enough: the brief and merging cost more than the gain.
An instruction is context the model may skip. A hook is run by the tool: a blocking exit code stops the action and returns the reason to the agent. A deny has priority over an allow, and isolation (a branch, a sandbox, network, no production keys) limits damage. An "all green" report is verified in CI in a clean environment and in the diff: were checks weakened, skips added, exact values replaced. Changes to skills are verified with an eval set before and after.
The input becomes the text of an issue, a README, code comments, dependency documentation, a fetched page or an MCP server response. An agent with access to the repository and a shell may carry out an order hidden there. The defence is at the environment level: limits on network and commands, minimal rights, no secrets in context; a request to "ignore foreign instructions" is not a boundary. An MCP server is connected only when its owner, tools, data and whether it reads external content are known.