Java Full Stack with React Technical Round Questions & Answers
40 questions for the technical round stage — 3 easy, 29 medium, 8 hard.
About the technical round round
The technical round is the core of a Java Full Stack with React interview: concept questions with follow-ups, a live hands-on task and a deep dive into one of your projects. Interviewers check depth, not just definitions.
Tips for the technical round round
- Say your approach out loud before you start writing.
- After a correct answer, expect 'why?' and 'what if?' follow-ups; go one level deeper than the question.
- Pick one project you can explain end to end, including what you would do differently.
- If you get stuck, explain what you would try next instead of going silent.
What is CORS and how do you configure it for a React frontend?
Show answer
Count the frequency of each word in a sentence.
Show answer
Return only a few columns using an interface-based projection.
Show answer
Inserting one lakh rows with saveAll takes many minutes. How do you speed it up?
Show answer
Your Spring Boot service crashes with OutOfMemoryError: Java heap space in production. How do you investigate?
Show answer
What is the difference between volatile and synchronized?
Show answer
What is the difference between == and equals() in Java?
Show answer
Write a record and use pattern matching in a switch expression.
Show answer
What triggers a re-render in React, and how does reconciliation decide what to update?
Show answer
What is the contract between equals() and hashCode()?
Show answer
Find the top 3 highest-paid employees in each department.
Show answer
Your application fails at startup with a circular dependency error between two services. What do you do?
Show answer
Explain the CSS box model.
Show answer
What are intermediate and terminal operations in Java Streams?
Show answer
Explain the difference between map and flatMap in streams.
Show answer
The application fails with NoSuchBeanDefinitionException for a service. How do you debug it?
Show answer
How do you version a REST API?
Show answer
A teammate replaced a simple for loop in a performance-critical path with a long stream pipeline. Is this a concern?
Show answer
Write a production-friendly Dockerfile for a Spring Boot application.
Show answer
Compare promises and async/await.
Show answer
What is event delegation and why is it useful?
Show answer
When should you use useMemo and useCallback?
Show answer
What is a custom hook and why would you write one?
Show answer
Create a protected route in React Router that redirects unauthenticated users to login.
Show answer
What roles do an API gateway and service discovery play in microservices?
Show answer
Compare HashMap, Hashtable and ConcurrentHashMap.
Show answer
Implement pagination and sorting for a product list API.
Show answer
What is a closure in JavaScript? Give a practical use.
Show answer
Database passwords and API keys are committed in application.properties. How do you fix this?
Show answer
Your public API is being hit by too many requests from a few clients. How do you add rate limiting?
Show answer
How does garbage collection work in modern Java?
Show answer
When would you use the Context API and when a state library like Redux Toolkit or Zustand?
Show answer
Write a debounce function in JavaScript.
Show answer
Call three APIs in parallel and handle failure of any one gracefully.
Show answer
Explain the JavaScript event loop, including microtasks and macrotasks.
Show answer
Write a query that shows daily sales with a running total for the month.
Show answer
In a search box, older API responses sometimes overwrite newer results. How do you fix this race condition?
Show answer
Your code has frequent NullPointerExceptions from repository lookups. How would you redesign it?
Show answer
What is Spring Boot Actuator used for?
Show answer
Frequently asked questions
What happens in the Java Full Stack with React technical round round?
The technical round is the core of a Java Full Stack with React interview: concept questions with follow-ups, a live hands-on task and a deep dive into one of your projects. Interviewers check depth, not just definitions.
How do I clear the technical round round?
Say your approach out loud before you start writing. After a correct answer, expect 'why?' and 'what if?' follow-ups; go one level deeper than the question. Pick one project you can explain end to end, including what you would do differently.
Which round comes next?
A typical order is online assessment, telephonic screening, one or two technical rounds, a managerial round and HR. Use the other round pages to practise each stage.