Scrivio Interview library
ScenarioFoundations6 min read · updated 12 November 2026

You are interviewing a candidate for a Java backend role for the first time. How do you prepare and run a fair technical interview?

A fair technical interview starts before the candidate arrives: we learn what the role needs and which of those skills our interview is meant to assess, then prepare a structured set of questions with written criteria for weak, good and strong answers. During the interview we let the candidate think aloud and ask questions, give hints the same way to everyone, take notes on evidence rather than impressions, and score before talking to other interviewers. We avoid trivia that has nothing to do with the job and anything about personal matters.

Why this question is asked

The first time we interview someone, it is easy to copy what was done to us: a few favourite questions, a gut feeling, and a quick 'yes' or 'no' in the hallway afterwards. That approach is unfair to candidates and bad for the team, because it hires people who resemble the interviewer rather than people who can do the work. Interviewers ask this question to see whether a mid-level engineer understands that interviewing is a skill with a method. In this answer, we will prepare by understanding the role, build a structured question set with a rubric, run the interview so the candidate can show their best thinking, record evidence, and score independently, with a worked Java example along the way.

1Knowing What the Role Needs and What Your Slot Assesses

Start with the role. A Java backend role on a payments team might need solid Java and Spring Boot, good SQL and transaction understanding, the habit of writing tests, and the ability to explain decisions to colleagues. Read the job description and ask the hiring manager which three or four skills matter most at this level.

Then find out which of those skills your interview covers. In most companies, an interview loop has several stages, and each interviewer has a focus: one covers coding, another system design, another collaboration. If you are the coding interviewer and you spend half the time on architecture opinions, the loop ends up with two opinions on architecture and no evidence about code. Your slot has a job; know it before you write a single question.

2Writing Structured Questions With Written Criteria

A structured interview means every candidate for the role gets the same core questions in the same order, with the same time. This sounds rigid, but it is what makes candidates comparable. Follow-up questions can vary, because they follow the candidate's answer, but the starting point is the same.

Next to each question, write down before any interview what a weak, a good and a strong answer looks like. This written description is called a rubric. Writing it in advance protects us from a common trap: deciding what a good answer is after we have already formed an impression of the person.

For a Java backend role, a realistic coding question might be to implement a small service method and its test, rather than a puzzle. The table shows a rubric for such a task.

Rubric for: add a 'transfer between accounts' method with a test
LevelWhat we see
WeakHappy path only; no validation; no test, or a test that asserts nothing
GoodValidates amount and balance; uses a transaction; tests success and failure
StrongAlso raises concurrent transfers, lock order or idempotency; tests edge cases
Criteria are written before the first interview, so every candidate is judged against the same bar.

3Running the Interview So Candidates Can Show Their Thinking

Open with a minute of introduction and explain the format: how long the task takes, that you care about their reasoning, and that questions are welcome. Nervous candidates perform far below their real level, and a calm start costs nothing.

Ask the candidate to think aloud. What we want to assess is their reasoning, and silent typing hides it. Encourage clarifying questions; in real work, asking 'what should happen if the balance is not enough?' is a strength, not a weakness. Notice that a candidate who asks good questions often reveals more about their seniority than one who rushes to code.

Hints need care. If one candidate gets a big hint after two minutes of silence and another gets nothing after ten, we are no longer measuring the same thing. Decide in advance what hints exist, such as 'what happens if two transfers run at the same time?', and when you give them, and note in your feedback that a hint was given.

Java
// What the candidate might write, and what we would note as evidence
@Transactional
public void transfer(long fromId, long toId, BigDecimal amount) {
if (amount.signum() <= 0) throw new IllegalArgumentException("amount"); // validated input
Account from = repo.findById(fromId).orElseThrow();
Account to = repo.findById(toId).orElseThrow();
from.withdraw(amount); // throws when balance is too low: handled the failure case
to.deposit(amount);
}
// Evidence noted: validated amount, used a transaction, did not mention concurrent transfers
// until hint 1 was given at minute 25

4Taking Notes on Evidence, Not Impressions

During the interview, write down what the candidate actually said and did: 'validated the amount without prompting', 'asked whether amounts can be negative', 'wrote a test for insufficient balance', 'did not mention concurrency until hinted'. These are pieces of evidence that anyone reading the notes can check against the rubric.

Impressions sound like 'seemed smart', 'not confident' or 'good culture fit'. They are where bias hides, because they mostly measure how similar the candidate is to us. If you catch yourself writing an impression, ask what the candidate did that made you feel that way, and write that instead.

5Scoring Before Talking to Other Interviewers

Right after the interview, while the details are fresh, score the candidate against the rubric and write a short justification that cites your evidence. Only then join the debrief with the other interviewers.

The reason for this order is a well-known effect: once a senior colleague says 'I loved this candidate' or 'I had doubts', everyone else's memory quietly bends towards that view. Independent scores, written first, keep each interviewer's evidence intact, and the debrief then compares evidence rather than moods.

Step throughA fair interview from preparation to score
  1. Learn the role and your slot's focus
  2. Prepare questions and a written rubric
  3. Run the interview: think aloud, same hints for all
  4. Note evidence, not impressions
  5. Score alone against the rubric
  6. Join the debrief and compare evidence

6 steps in order. Play them, or step through them one at a time.

The order matters: the rubric comes before the candidate, and the score comes before the debrief.

6What to Leave Out

Avoid trivia that does not predict job performance, such as the exact signature of a rarely used method or the order of JVM startup flags. A good engineer looks those up in seconds. Ask instead about things they will actually do: design a small API, debug a failing test, reason about a transaction.

Never ask about personal matters: age, family plans, religion, health, nationality or similar topics. Beyond being unfair, questions like these can be illegal in many countries, and even friendly small talk about them can influence our judgement. If the candidate raises something personal, acknowledge it politely and return to the work.

7Follow-up questions

What do you do if the candidate gets completely stuck?

Give the prepared hint for that point, the same one you would give anyone, and note that you gave it and when. If they are still stuck, move them to the next part of the task so you can still collect evidence about other skills. A stuck candidate who recovers well with a small hint often shows more about how they would work in a team than one who never got stuck.

How do you avoid favouring candidates who are similar to you?

Mainly through structure: the same questions, a rubric written in advance, notes on evidence and scoring before the debrief. It also helps to name the bias to yourself; when you feel strongly positive or negative, check which evidence supports it. If none does, the feeling is probably about familiarity, not ability.

Should you let the candidate use an IDE or search the internet?

Decide in advance and apply it to everyone. Using a normal IDE is closer to real work and makes the interview less about remembering syntax. If you allow searching, the rubric should focus even more on reasoning, testing and trade-offs, which are what you actually want to see.

8Conclusion

In this answer, we saw that a fair technical interview is built on preparation. We learned what the role needs and what our slot should assess, wrote structured questions with criteria for weak, good and strong answers, let the candidate think aloud and ask questions while giving hints the same way to everyone, recorded evidence instead of impressions, and scored independently before the debrief. We also left out job-irrelevant trivia and personal questions, which add unfairness without adding information.

What to say in the interviewAbout 80 seconds aloud

Open with

Before the interview, I would find out what the role really needs, say Spring Boot, SQL and transactions, and testing, and which of those my slot is supposed to assess, so I am not duplicating another interviewer.

Then, if they want more

Then I would prepare a structured set of questions that every candidate gets, close to real work, for example adding a transfer method to a small service with a test. For each question I would write down in advance what a weak, good and strong answer looks like, so I am judging against a bar I set before meeting anyone.

In the interview, I would explain the format, ask the candidate to think aloud, and welcome clarifying questions, because that is how I see their reasoning. I would prepare hints too and give them the same way to everyone, noting when I gave one.

While they work, I would write down evidence, like 'validated input without prompting' or 'did not consider concurrent transfers until hinted', rather than impressions like 'seemed confident'. Right afterwards, I would score against the rubric and write my justification before talking to the other interviewers, so I am not influenced by their views.

And I would avoid trivia unrelated to the job and never ask anything about personal matters.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the official documentation for the version you use. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "You are interviewing a candidate for a Java backend role for the first time. How do you...": https://scrivio-interview-library.netlify.app/architecture/technical-leadership/d16d40ef2a/