InterviewLegend

Java, Spring & Kafka Questions

Alex Chen40 min readGuide updated 60 real interview reports

Citi's Java interviews ask what you know about Java and Spring at least as often as they ask you to code. The coding is usually easy to medium. In experienced Java loops, the gap between candidates shows up in how fast and how precisely they answer questions about the language and the framework. Those questions arrive in two places, and each one wants a different length of answer.

Karat comes first. From July 2025 to November 2026, the Karat hour has opened with 10 to 15 minutes of rapid questions on the stack in the job post. In the team round after Karat, a senior engineer or the hiring manager spends real time on Spring internals, Kafka and microservice patterns. Below are short answers for both, sized the way each round wants them, and one practice drill you can run.

The Citi angle
Match the answer to the round. A sentence or two per question leaves time for the coding. In a team round the same question invites the mechanism, a failure case and something you shipped.

CitiPremium lesson · Coding round

The Citi problem is below.

  1. A Premium questionCoding · Easy

With hints, the follow-up and a tested solution.

Get the Citi questions

$49 a year · all 108 companies · instant access

20,000+ candidate reports

Citi interview guide

Know what Citi asks before you walk in.

26 coding · 6 system design · 20 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your Citi interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.