Giving and Receiving Feedback Questions
Exchanging feedback constructively in both directions. Covers delivering specific, actionable, and respectful critique to peers, juniors, senior colleagues, cross-functional partners and direct reports, including written review comments on code, documents and analyses that separate must-fix from minor points; receiving feedback and criticism without defensiveness, asking for clarification, pushing back with reasons, and closing the loop afterwards; choosing the channel and setting (live or written, public or private) and adapting to cultural norms; handling defensive reactions; and building feedback loops and habits on a team. Assesses the ability to help others improve without damaging the relationship. Excludes the candidate's own coachability and growth after being given feedback, stories of the candidate's own mistakes, sustained mentoring and development plans, resolving disputes between parties, design-critique craft, and code-review policy and process standards.
You leave critical comments on a pull request and the author responds defensively. How do you de-escalate in the thread and in a follow-up conversation so the relationship holds and the issue still gets fixed?
Sample Answer
Direct answer
I would reply once in the thread to lower the temperature (acknowledge, restate my goal, ask a question), stop the back-and-forth after about two exchanges, and move to a short call or pairing session (two people work through the problem together, live, often sharing a screen). I would bring evidence, listen first, and leave with agreed next steps, then post a summary in the pull request (PR) so the record shows what was decided. The risky issue stays marked as must-fix; the tone around it softens.
In the thread
- Acknowledge the effort and the feeling: "Thanks for the quick reply. I can see this took a lot of work."
- Restate the goal in shared terms: "My worry is the retry loop can double-charge on timeout, and I want us both to be confident it is safe."
- Turn a claim into a question or a reproducible fact: "Could you check what happens when the second call times out? Here is a test that fails on my machine."
- Avoid: all caps, sarcasm, restating the same point louder, public escalation.
- Cut off the thread after two rounds: "This may be easier to talk through. Can we do 15 minutes today?"
The follow-up conversation (a short script)
- Listen first. Ask "what is your reasoning here?" and repeat back what you heard. Often a constraint I did not know about appears.
- Bring evidence. A failing test, a log line, a documented incident, a link to the team standard, rather than opinion.
- Agree next steps and an owner. Fix now, fix in a follow-up PR with a ticket, or decide together the risk is acceptable. Write the decision down.
Worked example
Thread: "Thanks for the detailed explanation. I think the retry is fine for normal cases; I am worried about the timeout case. Here is a test that shows a double write. Could we spend 15 minutes on it?"
Call: they explain the downstream API is idempotent (repeating a request has the same effect as sending it once), which I did not know; I ask them to add that to a code comment and a test. Posted summary: "Agreed on call: retry stays; added comment plus test for the timeout path. Merging after CI (the automated tests that run on every change) passes."
When the disagreement is real
If they are still sure and I still see risk, I ask a third person (the tech lead, the engineer who guides the team's technical decisions, or the owner of that area, the person responsible for that part of the code) for a second opinion on the specific question, rather than escalating the person.
Trade-offs and pitfalls
- Dropping the comment to keep the peace: the risk survives and the next review gets harder.
- Winning the argument and losing the relationship: next time they will hide changes from you.
- Calls leave no record, so a written summary in the PR matters.
- Separate "must fix before merge" from "I would prefer" so the defensive reaction is spent only on what matters.
During a review you spot a change by a respected senior engineer that will likely perform badly at scale. How do you word the comment and handle the follow-up so the risk is surfaced and the relationship stays intact?
Sample Answer
Direct answer
I write the comment around evidence and a question, in the pull request (PR) so there is a record, not around the person's seniority: describe the specific code path, the scale where it breaks, and ask about their assumptions. I mark it as a real concern, offer a way to test it, and if we still disagree I take it to a design conversation with the right owner. Respect shows in the evidence and the tone, not in staying silent.
How to word it
- Name the behavior and the scale. "This loop issues one query per order row (the N+1 problem: one query to list N rows, then N more to fetch details). With 2,000 rows that is 2,001 queries per request."
- Ask about assumptions, don't accuse. "What volume do we expect for this endpoint? If it stays small, this is fine."
- Offer a test. "I can try it against the staging dataset (a test copy of realistic data) and share numbers." Measured results settle debates better than seniority.
- Suggest a direction. "A single joined query (one query that combines the orders and customers tables), or batching the lookups (fetching many customers in one request instead of one at a time), would avoid it."
- Label it, with a reason for the line. "Blocking if volumes are expected above ~100 rows; otherwise Consider." The ~100 is a team judgement, not a law. Illustrative arithmetic: if each query costs about 3 ms of round trip, 101 queries add roughly 0.3 s to a request, while 2,001 queries add roughly 6 s. Pick the line from your own latency budget and measured query time, and say so in the comment.
Follow-up
- If a reply is slow, a quick message: "Happy to pair on this if useful."
- If they disagree with evidence on their side, I update my view and say so.
- If we disagree and cannot resolve it: bring both views to the code owner (the person responsible for that part of the code) or the tech lead as a neutral question ("which risk is acceptable?") and write down the decision. Another compromise: merge behind a feature flag (a switch that turns the new code on or off without a new release) with a latency alert (a metric that warns if requests slow down), plus a follow-up ticket.
- Afterwards, keep the relationship warm: acknowledge when they were right about something else.
Worked example
Comment: "Possible performance issue at scale: get_orders calls fetch_customer inside the loop, so 2,000 rows means 2,001 queries (1 for the list plus 2,000 lookups). Is the expected volume small? If not, could we fetch customers in one query with a join? I can run this on the staging data and post the timing. I would treat it as blocking above roughly 100 rows and as a suggestion below that; the 100 is a team judgement, so tell me if the real volume sits on the other side."
Result: they point out the endpoint is limited to 50 rows by pagination (the API returns results in pages of at most 50). That is below the ~100-row line I set, so it is no longer blocking: 50 rows means 51 queries, not 2,001. I say, "Great, that changes it. Could we add a comment noting the limit?" and approve.
Trade-offs and pitfalls
- Deferring to rank lets known risks ship; ignoring rank creates friction. The evidence-first approach handles both.
- Do not make it public theatre: the PR is visible, so keep the tone neutral.
- Being wrong is possible. Ask first; they may know a constraint.
You are reviewing a pull request from a new hire that has several real problems. How do you give feedback that is specific and actionable without discouraging them? Include how you would word the key comments.
Sample Answer
Direct answer
I make each comment specific (point at the line), explain the reason, offer a way forward, and phrase it about the code, not the person. I include one true, specific piece of praise, mark which items must change, and offer to pair (work through it together, live) on the hard one. The aim is that the new hire knows exactly what to do next and feels the review was about their work getting good, not about them being judged.
Principles
- Comment on the code, never the developer (Google's code-review guidance): "this function" instead of "you wrote".
- Explain why: the reader learns a rule for next time, not only this fix.
- Prefer a question or a suggestion with a reason over a command.
- Label severity (Blocking, Consider, Nit) so they can plan.
- Limit the volume. Pick the three most important problems first; the rest can follow in a later round.
Key comments, worded
- Weak: "This is wrong, you forgot null handling (a null is a missing value)."
Better: "Blocking: ifemailis null here, line 42 will throw and the request fails. Could we check for null first, or return a clear error? Example:if email is None: return error(...)." - Weak: "Why did you copy this?"
Better: "Consider reusingparse_datefromutils. It already handles the time zone case, so we avoid two copies to keep in sync." - Praise that is real: "The tests for the happy path (the normal case where everything works) are clear, thank you for adding them."
ML-model review example
Terms first: a scaler rescales numbers using the data's average and spread. Fitting it means calculating that average and spread. A train and test split holds some data back so the model can be scored on rows it never saw. Data leakage is when information from the held-back rows sneaks into training, like seeing the exam answers before the exam. Tiny example: training values 10, 20, 30 have average 20; if a held-back value of 100 is included in the calculation, the average becomes 40. The test set has quietly shaped the training.
Blocking: "The scaler is fitted on the whole dataset before the train and test split. That lets test data influence the training statistics (data leakage), so the reported accuracy can look better than production. Could we fit it on the training split only and apply it to the test split? It's an easy mistake, and I can show you the pattern." This balances correctness (it is blocking) with encouragement (the mistake is named as common, with help offered).
Unclear commit messages (short role-play)
Reviewer: "Thanks for fixing the blocking items. Can we talk about the commit message?"
New hire: "Is it too long?"
Reviewer: "It's long, but the main point is hidden. A reader skimming history needs the 'what' in the first line."
Before (for the null-email fix above): "fixed stuff and changed the config so the thing works now, also tried some other approach"
After: "Fix null email crash in signup handler" plus a one-line body: "Check email before normalizing; add test for empty email." The config change and the other approach, if they belong in the PR at all, get their own commits with their own first lines.
Trade-offs and pitfalls
- Praise that is generic ("nice job!") reads as a cushion; specific praise teaches.
- Fixing everything for them in the review stops the learning. Offer to pair on one hard point and let them write the rest.
- Do not water down a real bug: if it is a blocker, say so plainly and kindly.
In a code review you find many minor style issues and one potentially risky bug. How do you structure and sequence your feedback so the author knows what must change before merge and what is optional?
Sample Answer
Direct answer
I lead with the risky bug, label it clearly as blocking, explain why it matters and suggest a fix, and then mark everything else as non-blocking (nits and optional ideas) so the author can see what must change before merge. I keep the minor style issues short, grouped, or handled by an automated formatter, so they do not bury the one comment that matters.
Sequence and structure
- Top summary comment: "One blocking item: possible race condition in
save_order(a bug where two requests running at the same time interfere with each other). Everything else is non-blocking: nits and optional suggestions that will not hold the merge." - The bug comment, first and prominent: say what could happen, when, and a possible fix. "Blocking: two requests can both pass the stock check and both decrement, leaving negative stock. Could we do the check and update in one transaction (a group of database steps that succeed or fail together)? Happy to pair."
- Label the rest. Google's engineering practices recommend prefixing comments with a severity label: "Nit:" for a minor point (their wording: "Technically you should do it, but it won't hugely impact things"), "Optional" or "Consider" for an idea that is "not strictly required", and "FYI" for something to think about later. Note the difference: a Nit is small and worth fixing at some point (at the latest the next time the author touches that code) but never holds up the merge, while Optional is genuinely skippable. On my team I would say in the top summary which labels I will not hold the merge for, so the author is never guessing.
- Reduce the volume. Instead of ten comments on the same naming habit, leave one: "Nit: several variable names use abbreviations; same throughout, optional to fix." Better still, ask for a linter or formatter (an automatic tool that enforces style) so humans stop discussing spacing.
Worked example
Out of 12 observations, 1 is the race, 8 are naming and spacing, 3 are small refactors. What the author sees: 1 comment labeled Blocking, 1 grouped Nit: comment covering the 8 style points, and 3 comments labeled Optional. In the review tool, "Request changes" is a status that blocks the merge until the author responds, and "Approve" lets it go ahead. The status is "Request changes" only because of the one blocking item; if the author fixes it, I approve even if the nits remain.
Trade-offs and pitfalls
- A pile of equal-weight comments hides the one important one.
- Marking everything blocking trains authors to argue about everything.
- If the nits are really about unclear code, they might be maintainability concerns; promote those to "Consider" with a reason rather than "Nit".
Tell me about a time you gave a peer critical feedback that risked damaging the working relationship. How did you prepare, what did you actually say, and where did the relationship stand afterwards?
Sample Answer
Direct answer
I'll tell this as a story (illustrative skeleton). A peer on my team kept merging changes (adding code to the shared codebase so it goes live) late on Friday afternoons without telling the on-call engineer (the person on the rota who responds to alerts outside working hours), so the weekend pager (the automatic alert that wakes that person) took the hit. We were friendly, so raising it risked the relationship. I prepared the facts, asked permission to talk, said specific words, and agreed a small change we could both check.
Situation and stakes
In three of the last five weekends, a page was traced to a Friday-evening change from this peer. Nobody had complained to him. I was the person on call, so I had standing to speak. The risk: he was senior in tenure, proud of his speed, and likely to hear "you are careless."
Preparation (what I did)
- Listed the three incidents (one per affected weekend) with dates and what each page cost (hours of weekend time), separating what happened from my theory of why.
- Checked my own part: did the team have a "no Friday deploys" norm? No, so he had broken no rule. That changed my goal from "stop doing this" to "agree a norm together."
- Chose a private one-to-one meeting on a Tuesday, not a Friday or in a public channel, and sent a neutral invite: "Want to talk about how we handle late changes and on-call?"
What I actually said
"When changes land after 4pm Friday without a heads-up, on-call finds out from the pager. That happened on three of the last five weekends, including the cache change on the 14th. I'm not saying the changes were wrong. I'm saying I can't be ready for something I don't know about. How do you see it?"
He bristled for a minute ("they were small changes"), so I agreed they were small and asked what would make telling on-call easy. He suggested a one-line note in the on-call channel before merging.
Where the relationship stood afterwards
Slightly awkward for about a week, then normal. We wrote the "tell on-call before a late merge" line into the team's runbook (the shared how-to document). Two weeks later I told him the weekend pages from changes had stopped and thanked him. The follow-up check was simple: count pages tied to late changes each month.
What made it work
- It built psychological safety (people feel safe to speak and be corrected without punishment) by keeping it private, specific, and about the effect on on-call.
- I owned my uncertainty and invited his view.
Pitfalls
Do not deliver it by chat while angry, do not use "always," and do not skip the follow-up; feedback without a check is just a one-time complaint.
Unlock Full Question Bank
Get access to all 16 Giving and Receiving Feedback interview questions and detailed answers.
Sign in to ContinueJoin thousands of developers preparing for their dream job.