Backend track

Java interview questions and answers

Panel-ready Java Specialist questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.

226 Qs
128 Moderate Connection pooling Backend

What is HikariCP's role in Spring Boot?

Short take Full answer on next page

Simple meaning

HikariCP is the default JDBC pool.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
130 Moderate JPA Backend

What is the N+1 query problem in JPA?

Short take Full answer on next page

Simple meaning

You load N parents with one query, then lazy-load each collection with one extra query, for N+1 round trips.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
134 Moderate Node and Express Backend

How would you validate a JWT in an Express auth middleware?

Short take Full answer on next page

Simple meaning

Read the Authorization Bearer token, verify signature and expiry with the IdP public key or a shared secret, then attach req.user.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
137 Moderate Microservices Backend

What problem does an API gateway solve?

Short take Full answer on next page

Simple meaning

It is a single entry point for auth, TLS, rate limits, and routing to many backend services.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
140 Moderate Microservices Backend

What is a circuit breaker and what does it protect?

Short take Full answer on next page

Simple meaning

After a dependency fails past a threshold, the breaker opens and fails fast instead of waiting on timeouts.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
Prev Page 7 of 12 Next
Chat with us