Thoughtworks — Java Backend Developer

58 yearsVirtual or offline2026-09-1028 questions

Reported, not verified

These are shared by candidates, not verified by us, and not endorsed or confirmed by the companies named. Everything else on this site is checked on every build; this section is reported rather than verified, and it is kept separate for exactly that reason. Process varies by team, by interviewer and by year, so treat a list as one loop that happened, not as a syllabus you can expect to be repeated.

Source: Shared publicly by a candidate on LinkedIn, September 2026. Reproduced as posted; not confirmed by Thoughtworks.

14 of 28 of these have a deep-dive answer on this site. The rest are not covered yet and are marked so — a gap you can see is more useful than one you cannot.

Java

5/9 answered here
  1. 01

    Explain HashMap internals and how collisions are handled in Java 8+.

    How does HashMap work internally? 9 min

  2. 02

    When would you use ConcurrentHashMap over synchronizedMap?

    How does ConcurrentHashMap achieve thread safety? 12 min

  3. 03

    How do Streams differ from traditional loops, and when can parallel streams hurt performance?

    When is parallelStream() a mistake? 11 min

  4. 04

    Explain CompletableFuture composition using thenCompose, allOf and exceptionally.

    Not covered on this site yet.

  5. 05

    How do virtual threads in Java 21 change concurrency and thread-pool design?

    How do you size a database connection pool? 11 min

  6. 06

    What JVM or GC issues can cause sudden latency spikes in production?

    Not covered on this site yet.

  7. 07

    How would you use Records, Sealed Classes and Pattern Matching in a backend domain model?

    Not covered on this site yet.

  8. 08

    Explain happens-before, volatile and atomic operations in concurrent Java code.

    What is the happens-before relationship? 12 min

  9. 09

    How would you diagnose a memory leak or excessive object allocation in a Java service?

    Not covered on this site yet.

Spring and Spring Boot

5/9 answered here
  1. 10

    Explain Spring IoC, bean scopes and the lifecycle of a singleton bean.

    Why is constructor injection preferred over field injection? 9 min

  2. 11

    How does Spring Boot 3 differ from earlier Boot versions in migration and runtime behaviour?

    Not covered on this site yet.

  3. 12

    Explain @Transactional propagation, isolation and common rollback pitfalls.

    How does @Transactional actually work, and when does it silently do nothing? 10 min

  4. 13

    How does Spring AOP work, and why can self-invocation bypass advice?

    How does Spring AOP work, and what are its limits? 11 min

  5. 14

    How would you design global REST exception handling and API validation?

    What is the difference between checked and unchecked exceptions? 10 min

  6. 15

    How would you secure REST APIs using Spring Security and OAuth2 or JWT?

    Not covered on this site yet.

  7. 16

    How do Spring Boot Actuator, metrics and distributed tracing support observability?

    Not covered on this site yet.

  8. 17

    How would you implement caching with Spring Cache while avoiding stale or inconsistent data?

    Not covered on this site yet.

  9. 18

    How would you configure resilience using timeouts, retries, circuit breakers and bulkheads?

    What does a circuit breaker actually do? 11 min

Microservices

1/7 answered here
  1. 19

    How would you define service boundaries and data ownership in a microservices architecture?

    Not covered on this site yet.

  2. 20

    Design an idempotent Kafka consumer handling retries, duplicates and ordering.

    Not covered on this site yet.

  3. 21

    How would you handle distributed transactions without using two-phase commit?

    What are the isolation levels, and what does each permit? 13 min

  4. 22

    Compare synchronous REST, asynchronous Kafka and event-driven communication.

    Not covered on this site yet.

  5. 23

    How would you diagnose latency across multiple services using correlation IDs and tracing?

    Not covered on this site yet.

  6. 24

    Design a scalable microservice deployment using Docker and Kubernetes.

    Not covered on this site yet.

  7. 25

    How would you implement service discovery, configuration and graceful shutdown?

    Not covered on this site yet.

Coding

3/3 answered here
  1. 26

    Find the first non-repeating character in a String using Java Streams.

    How do Collectors.groupingBy and toMap differ in failure modes? 10 min

  2. 27

    Merge overlapping intervals efficiently and return the consolidated ranges.

    Which sort does Arrays.sort use, and why does it depend on the type? 12 min

  3. 28

    Implement a thread-safe LRU cache with O(1) get and put operations.

    How does ConcurrentHashMap achieve thread safety? 12 min

What this list is worth

One loop, one team, one day. It is calibration, not a syllabus — useful for the shape and depth expected at 5–8 years, not as a prediction of what you will be asked. For patterns across many interviews rather than a single list, the company-type breakdowns are the better guide.

Every other page on this site compiles and runs its code on each deploy and diffs the output against what the page claims. This page cannot work that way — it reports what someone else said — so it is kept in its own section and labelled on every view.