What to Say When You Don't Know the Answer in an Interview (2027)
Why bluffing backfires, a five-step way to handle questions you cannot fully answer, and phrases to use in technical interviews.
Every developer, at every level, will get asked something in an interview they don't know. A senior engineer gets asked about a database they've never used. A fresher gets asked about a design pattern they've only heard of. It happens in nearly every interview, and interviewers expect it.
What separates strong candidates isn't knowing everything. It's how they handle the moment they don't. Panicking, bluffing or going silent all hurt you. Staying calm, being honest and reasoning out loud can actually leave a better impression than a memorised answer would have.
Why bluffing is the worst option
When you don't know something, the temptation is to say something confident and hope it sounds right. This almost always backfires.
Interviewers usually ask about topics they know well. If you bluff, they'll notice, and they'll often ask a follow-up that exposes it. Now the problem isn't "doesn't know this one thing". It's "makes things up when unsure", which is a serious concern for anyone who'll be working on production systems.
Honesty, by contrast, is a positive signal. Teams want people who say "I'm not sure, let me check" rather than people who guess and break things.
A simple approach that works
When you hit a question you can't answer fully, try these steps.
1. Pause and think
It's fine to take a few seconds. Saying "Let me think about that for a moment" is completely normal and much better than filling the silence with nonsense.
2. Say what you do know
You rarely know nothing at all. Start from the parts you're confident about.
I haven't used Cassandra directly, but I know it's a distributed NoSQL database designed for high write throughput, and it trades some consistency for availability.
3. Be honest about the gap
I'm not sure about the details of how it handles conflicts between replicas.
4. Reason it out loud
This is the most valuable part. Show how you'd think about it, using related knowledge.
If I had to guess, since it's built for availability across nodes, I'd expect it to resolve conflicts with something simple like timestamps, where the latest write wins. And it probably lets you choose how many replicas must respond for a read or write, so you can tune consistency. Is that close?
Even if your reasoning is partly wrong, the interviewer sees how you approach unfamiliar problems, which is exactly what you'll do every week on the job.
5. Say how you'd find out
In practice, I'd check the documentation on its consistency levels before designing anything around it.
Phrases you can use
Having a few phrases ready makes this feel much less stressful.
- "I haven't worked with that directly, but here's how I'd approach it."
- "I don't remember the exact syntax, but the idea is..."
- "I'm not sure, but my best guess would be... and here's why."
- "I know the general concept, but not the specifics. Can I talk through what I do know?"
- "That's a gap for me. I've used X, which solves a similar problem, so let me compare."
- "I'd want to verify this, but I believe..."
Different situations, different responses
When you don't know a fact or definition
For example, "What's the default isolation level in PostgreSQL?"
I believe it's Read Committed, but I'd double-check before relying on it. I know it's not Serializable by default, because I've had to set that explicitly when we needed stricter guarantees.
If you genuinely have no idea, say so briefly and move on. Don't spend two minutes on a trivia question.
When you don't understand the question
Ask for clarification. This isn't a weakness. In real work, clarifying requirements is a core skill.
Just to make sure I understand, are you asking how I'd design the caching layer, or how I'd handle cache invalidation once it exists?
When you're stuck in a coding problem
Talk through where you are. Interviewers can only help if they know what you're thinking.
I've got the brute-force approach working in O(n²). I think there's a way to do it in one pass with a hash map, but I'm stuck on how to handle duplicates. Let me try a small example.
If they give you a hint, take it gracefully and build on it. Using hints well is a positive sign, not a failure. Our guide to thinking out loud in coding interviews covers this in more detail.
When you realise you made a mistake earlier
Correct it as soon as you notice.
Actually, I want to go back to what I said earlier about HashMap being thread-safe. That was wrong. It isn't, and for concurrent access you'd use ConcurrentHashMap.
Correcting yourself shows care and honesty. Interviewers often remember it as a highlight.
When it's something on your resume
This is the tricky one. If you listed it, you should know it. If you don't, be honest about your level.
I used Kafka in one project, but mostly as a consumer. Someone else set up the cluster and topics, so I'm less sure about the partitioning strategy we used.
Then go and update your resume so it reflects what you can really discuss. See how to explain your project for why every item listed should be something you can talk about.
What to do after the interview
Write down the questions you couldn't answer, then look them up that evening. This turns every interview into practice. You'll be surprised how often the same topics come up again in later interviews.
You can also mention it in a follow-up email if it was a significant question:
Thanks again for today. I looked up the Cassandra consistency question afterwards. You can set the consistency level per query, like QUORUM or ONE, and conflicts are resolved by timestamp. Really interesting to read about.
This isn't required, but it can leave a good impression, especially for smaller companies.
Mindset matters
It helps to remember that interviewers often push until you hit something you don't know. They're trying to find the edges of your knowledge, not trick you. Reaching that edge is expected. A good interview isn't one where you answered everything. It's one where you were honest, thoughtful and showed how you think.
A calm "I don't know that one, but here's how I'd figure it out" is a sign of an experienced developer. Practise saying it, and those moments will stop feeling like failures.