Skip to main content
1:1 mock interviews with Sumit, scored on a real hiring rubric.Book a slot →

6 topics · 0/6 read

Spring Security, Microservices & Testing

The Spring Security filter chain, JWT resource servers, microservice patterns with Spring Cloud, resilience with circuit breakers, Kafka with Spring, and testing Spring Boot apps.

  1. How Spring Security Works: The Filter Chain

    Spring Security protects your app with a chain of servlet filters that authenticate the request and then check authorization. Interviewers ask how a request flows through it, what the SecurityContext is, and how to confi

    Read now
  2. JWT Authentication in Spring Boot

    Most Spring Boot APIs authenticate with JWT bearer tokens, either issued by an identity provider such as Keycloak, Auth0 or Cognito, or by the app itself. Interviewers ask how tokens are validated, how roles map to autho

    Read now
  3. Microservices Patterns with Spring Boot and Spring Cloud

    Java microservice interviews cover the building blocks: API gateway, service discovery, central configuration, inter-service calls, distributed tracing and data per service. Spring Cloud provides most of them, and Kubern

    Read now
  4. Resilience: Timeouts, Retries and Circuit Breakers

    In a distributed system other services will be slow or down. Timeouts, retries with backoff, circuit breakers, bulkheads and fallbacks keep one failing dependency from taking everything down. Resilience4j is the standard

    Read now
  5. Apache Kafka with Spring Boot

    Kafka is the most common event streaming platform in Java backends. Interviewers ask about topics, partitions, consumer groups and offsets, delivery guarantees, and how to produce and consume with Spring for Apache Kafka

    Read now
  6. Testing Spring Boot Applications

    Spring Boot testing covers plain unit tests with JUnit 5 and Mockito, sliced tests like @WebMvcTest and @DataJpaTest, full @SpringBootTest integration tests, and Testcontainers for real databases. Interviewers ask which

    Read now