Skip to content

Senior Engineering Interview Handbook / Chapter 134

Ethics, Inclusion, and Responsible Decisions

A behavioral interview chapter about making user harm concrete, widening an incomplete risk model, finding a safer path, and leaving responsibility attached to the decision.

A modeled product team has a fraud problem in account recovery. Attackers who control a user’s email address can sometimes persuade support to reset the second factor. Losses are rising, and a large customer has threatened to leave. The proposed fix is attractive because it is simple: require an SMS code and an identity check in the same session, remove support exceptions, and measure the reduction in fraudulent recoveries.

In design review, an engineer asks what happens to a legitimate user who no longer has the registered phone. The question initially sounds like an edge case. The deadline is close, the current path is being abused, and every alternative route gives an attacker another surface to probe.

Then support produces recent cases: a stolen phone, a reassigned number, a shared household device, an error state that a screen-reader user could not complete, and several sessions abandoned when unstable connectivity forced the identity step to restart. None proves how large the affected population is. Together they expose a fact the proposed metric would conceal. The team could report less recovery fraud while silently increasing legitimate lockout.

This is the kind of conflict an ethics or inclusion interview is trying to reach. The difficult part is not saying that fraud and exclusion both matter. It is making both harms precise enough that the organization can choose a path and remain answerable for what follows.

Make the second harm as concrete as the first

The fraud case already has a mechanism: an attacker controls one factor, exploits a support exception, and acquires an account. It may also have incident counts and financial loss. “This flow may exclude people” cannot yet compete with that account. It names a value, but not a system behavior.

The engineer’s first useful move is to trace legitimate lockout with the same care:

lost phone -> mandatory SMS -> no alternate proof -> recovery denied
unstable connection -> session restart -> repeated identity check -> abandonment
inaccessible error -> user cannot choose a next step -> support has no exception

Now the concern can be investigated. Which assumptions does the ordinary path make about device ownership, phone-number stability, connectivity, language, and the ability to complete a timed interaction? Which users encounter the failed states? Can they understand what happened? Is there an appeal or support route? What does support see? Which result is currently absent from telemetry?

Specificity also disciplines the candidate. It prevents a story from growing into “I represented every user” or “the design was biased.” A senior answer can say something narrower and more credible: the team had optimized one measured harm while failing to observe another harm created by the control itself.

This is often where inclusion enters engineering decisions. Exclusion may be produced by a default rather than an explicit rule: one supported device, one language, one body, one time zone, one data source, one interview format, one definition of normal behavior. The candidate should be able to identify the default and follow it to a consequence. Sentiment is not a substitute for that trace.

Use evidence without asking it to settle the values

The support cases justify investigation and may justify slowing the release. They do not establish the prevalence of lockout or prove which recovery design is safe. Treating a handful of examples as conclusive would merely replace one weak claim with another.

The team therefore broadens its evidence. It separates suspected fraud from legitimate recovery, examines repeat attempts and abandonment by state, reviews support contacts, tests the critical flow with keyboard and assistive technology, and checks whether errors explain a recoverable next step. It asks privacy and security reviewers what additional data can be collected for this purpose without turning identity evidence into another liability.

The wording of the concern matters:

We do not yet know how many legitimate users will be locked out. We do know
that the proposed flow has no viable path for several conditions already
visible in support cases, and our launch metric would count none of them. I am
asking us to add a measurable legitimate-recovery outcome and to review a
bounded alternate path before broad release.

That statement separates observation, inference, uncertainty, and request. It does not require the engineer to claim legal, policy, accessibility, fraud, or identity expertise they do not possess. It gives the appropriate specialists something concrete to review while keeping the engineering work attached to the concern.

An interview answer should name those collaborators by the part of the decision they owned. Product owns the outcome and release trade-off. Security or fraud specialists challenge the abuse model. Design and accessibility review the recovery interaction. Support contributes failure evidence and must be able to operate the result. Privacy reviewers constrain collection and retention of identity evidence. The exact functions differ by organization; the principle is to involve accountable expertise without using referral as a way to disappear.

Let the safer alternative face the attacker

“Add another recovery method” is not yet a responsible proposal. Every route that helps a legitimate user may help an attacker. Manual review can become inconsistent, slow, invasive, or vulnerable to persuasion. More identity data can create a privacy and security burden. A support exception can restore the very bypass the team is trying to close.

The modeled team compares three defensible choices. It could ship the strict flow broadly and accept lockout while it learns. It could delay every change until alternate recovery is complete, leaving the known fraud path open. Or it could narrow the initial claim: strengthen the ordinary path now for a limited cohort, retain a deliberately constrained review route, and widen only after both fraud and legitimate recovery can be observed.

The third option is not automatically correct. Its credibility depends on the details. An alternate route might require a waiting period, notification through existing channels, risk-based limits, review by trained staff, and an audit trail that records the evidence considered without copying sensitive documents into ordinary logs. High-risk cases may remain blocked. Reviewers need a decision policy and an escalation path rather than permission to improvise identity rules case by case.

The proposed rollout now has two kinds of stop condition. The team pauses if fraud escapes through the alternate route. It also pauses if legitimate users are being denied without a usable next step, if the critical flow fails its accessibility review, or if support cannot explain recovery state. A rollback or feature flag matters only if someone owns it and the signals arrive soon enough to act.

This is stronger interview evidence than a story in which the candidate simply won an argument. The candidate improved the decision by refusing a false choice, then allowed the safer proposal to be tested against the risk that made the original shortcut tempting.

Keep responsibility attached when authority is elsewhere

Suppose the launch date remains fixed. The customer escalation is real, and the accountable product leader believes the limited rollout will not produce enough evidence quickly enough. This is where a polished answer often becomes vague: “I escalated, and leadership made the final call.”

Final authority may indeed sit elsewhere. The engineer’s responsibility is to make the choice honest before it moves. A decision record for this case should state the user groups and harm paths, the evidence and unknowns, the options considered, the controls in the chosen scope, the signals and support path, the residual risk, the person accepting it, and the date or evidence that will force reconsideration.

Documentation alone is not courage, and it cannot redeem a decision that should not proceed. Its value is operational: the concern reaches the people with authority, disagreement cannot be mistaken for silence, launch operators know what to watch, and the organization cannot later pretend that an unmeasured outcome was unforeseeable.

There is also a boundary beyond ordinary disagreement. If a request still creates serious unowned risk after the appropriate review, a candidate should not imply that professionalism requires quiet implementation. A credible answer names the concrete objection, uses the established escalation path, asks for a safer scope or explicit accountable decision, and refuses to conceal or falsify what the system will do. Depending on the domain and facts, further action may require qualified legal, compliance, safety, security, HR, or other advice. The interview is not the place to invent a universal rule for every such case.

Show what the release taught the organization

In the modeled story, the team launches to a small cohort. Fraud attempts fall, but the alternate route reveals a new problem: reviewers interpret one evidence category inconsistently, and some users receive different outcomes for similar cases. The team pauses expansion, tightens the policy, samples decisions for review, and gives users a clearer status and appeal path. It also removes an identity field that reviewers collected but did not use.

This turn matters. Ethical foresight is rarely complete. The candidate’s claim should not be that the team designed a perfectly inclusive system before release. The stronger claim is that it made both kinds of failure observable, bounded the first release, and responded when reality exposed another harm.

The durable change is correspondingly modest. Future changes to high-impact recovery controls must name the affected users, trace both abuse and legitimate denial, identify the accountable owner, review the critical interaction, give support a usable state, and define signals for widening or stopping. Those questions enter the design and release path; they are no longer dependent on one engineer remembering to object in one meeting.

An interviewer can now see senior behavior without being asked to accept a claim of virtue. The candidate noticed a missing outcome, made the harm inspectable, found evidence without inflating certainty, brought in authority and expertise, improved the available choices, and stayed through the consequences.

Tell the story at its true scale

Begin your own answer with the pressure that made the risky choice plausible. If the deadline, revenue, safety, cost, or operational burden was trivial, the story will not reveal much judgment. Then name the people affected and trace the harm through the actual system or process. “It felt wrong” can be an honest starting point; it cannot carry the finished answer.

Recover the evidence available at the time. What did you observe directly? What did other people know? What remained uncertain? Explain how the concern changed a design, metric, rollout, support path, access boundary, review, or owner. If you recommended an alternative, give the original goal a fair hearing and show how your proposal handled its hardest objection.

Be exact about authority. Say which analysis, artifact, design, or intervention you owned; which decision you influenced; who accepted the product, personnel, security, safety, or policy trade-off; and what you learned after the choice. Do not turn collaborators into scenery or opponents into villains. Serious ethical decisions often contain competing duties rather than one careless person and one enlightened one.

Expect the interviewer to press where a values story is easiest to polish:

  • How did you know the harm was real?
  • Whose account changed your understanding?
  • What risk did your alternative introduce?
  • What would have made you proceed with the original plan?
  • What happened when the accountable owner disagreed?
  • Who could stop the rollout, and on what evidence?
  • What did the affected people experience after launch?
  • Which mechanism remained after you left?

Answer from the limits of the real story. If you raised the concern but did not own the resolution, say so. If measurement was incomplete, do not manufacture a percentage. If the organization accepted a risk you opposed, distinguish what you made visible from what you could decide. Accurate scope strengthens the answer because responsibility begins with refusing to hide the facts—including the facts about your own influence.

Prepare one concise version that reaches the decision and consequence quickly, and one longer version that can support questions about evidence, alternatives, authority, and follow-through. Do not memorize a declaration of values. Know the decision well enough to show where those values changed the work.