makakmayumjava's profile picture. A Java+Microservices+System design interviewer's diary | I post scenario based questions asked in real interviews

Java Interviewer-Makakmayum

@makakmayumjava

A Java+Microservices+System design interviewer's diary | I post scenario based questions asked in real interviews

Pinned

If you are a backend engineer, you have to understand SOLID principle without any exception. I have received multiple dms asking me to explain it in an understandable way. So here we go. Save this, you'll thank me later. SOLID is a set of five design principles that help…


Java/Microservice interview question: ⇒How to debug and Optimize a Slow Microservice Due to External API Calls? 1. Diagnose and Confirm (Don't Guess) → confirm the external API is the true bottleneck. → Tracing: Use distributed tracing (Telemetry or Zipkin) to measure the…

makakmayumjava's tweet image. Java/Microservice interview question:

⇒How to debug and Optimize a Slow Microservice Due to External API Calls?

1. Diagnose and Confirm (Don't Guess)
→ confirm the external API is the true bottleneck.
→ Tracing: Use distributed tracing (Telemetry or Zipkin) to measure the…

Most important Springboot annotations that are used the most and also asked the most during interviews: ⇒Core Spring Boot Annotations → @ SpringBootApplication: Combines @ Configuration, @ EnableAutoConfiguration, and @ ComponentScan Entry point for a Spring Boot app → @…

makakmayumjava's tweet image. Most important Springboot annotations that are used the most and also asked the most during interviews:

⇒Core Spring Boot Annotations
→ @ SpringBootApplication: Combines @ Configuration, @ EnableAutoConfiguration, and @ ComponentScan Entry point for a Spring Boot app
→ @…

Java/Springboot interview question: Question: To build a fast API, you must fetch data from multiple microservices in parallel. How does this requirement influence your choice between RestTemplate, WebClient, and a Feign Client? RestTemplate: Best for a simple, blocking script…

makakmayumjava's tweet image. Java/Springboot interview question:

Question: To build a fast API, you must fetch data from multiple microservices in parallel. How does this requirement influence your choice between RestTemplate, WebClient, and a Feign Client?

RestTemplate: Best for a simple, blocking script…

In an actual Java interview, asking a simple question like below doesn't actually test in-depth knowledge of a candidate. So a scenario is introduced to check the same. Short Question: How can you force three threads—T1, T2, and T3—to execute in a specific sequence, one after…

makakmayumjava's tweet image. In an actual Java interview, asking a simple question like below doesn't actually test in-depth knowledge of a candidate. So a scenario is introduced to check the same.

Short Question: How can you force three threads—T1, T2, and T3—to execute in a specific sequence, one after…

Java interview scenario based questions on Exceptions: Short Question 1: Can a static block throw an exception? Scenario based: You have a class that initializes a critical static resource in a static block. This initialization process might fail and throw an exception. What…

makakmayumjava's tweet image. Java interview scenario based questions on Exceptions:

Short Question 1: Can a static block throw an exception?

Scenario based: You have a class that initializes a critical static resource in a static block. This initialization process might fail and throw an exception. What…

As a Java/backend engineer, at one point these system design concepts become inescapable. Understand these concepts properly to be a better engineer and also to perform better during interviews: → APIs (Application Programming Interfaces): A set of rules and protocols that…

makakmayumjava's tweet image. As a Java/backend engineer, at one point these system design concepts become inescapable. Understand these concepts properly to be a better engineer and also to perform better during interviews:

→ APIs (Application Programming Interfaces): A set of rules and protocols that…

Scenario based question of an actual Java/Springboot interview: Within a controller class, a service method annotated with the @Transactional annotation is being called. This method not only saves the entity but also sends two emails: one to the admin and another to the…


Java+Springboot scenario based questions which are asked in actual interviews I am providing multiple scenario based questions and their short answers below(TL,DR, you can save it for future references): Spring Bean Types and Stereotypes Scenario: Imagine you're designing a…

makakmayumjava's tweet image. Java+Springboot scenario based questions which are asked in actual interviews

I am providing multiple scenario based questions and their short answers below(TL,DR, you can save it for future references):

Spring Bean Types and Stereotypes
Scenario: Imagine you're designing a…

I have received multiple messages asking for a roadmap of how to prepare for becoming a complete Springboot developer. I have complied a 3-Phase Roadmap for the same, this will streamline the process from basics to advanced level, making it less daunting for a complete beginner.…

makakmayumjava's tweet image. I have received multiple messages asking for a roadmap of how to prepare for becoming a complete Springboot developer. I have complied a 3-Phase Roadmap for the same, this will streamline the process from basics to advanced level, making it less daunting for a complete beginner.…

One of the most asked Java/backend interview questions in an interview ⇒The N+1 Problem in JPA → 1 initial query: To fetch N parent entities. → N subsequent queries: For each of the N parent entities, a separate query is executed to fetch its related children. → Results in…

makakmayumjava's tweet image. One of the most asked Java/backend interview questions in an interview

⇒The N+1 Problem in JPA

→ 1 initial query: To fetch N parent entities.
→ N subsequent queries: For each of the N parent entities, a separate query is executed to fetch its related children.
→ Results in…

I am sharing the Tech stack of Netflix which is quite a complete one and these techs are the ones worth learning while preparing for a backend interview. From a backend perspective, below are the ones worth investing our time: API → GraphQL: Enables efficient communication…

makakmayumjava's tweet image. I am sharing the Tech stack of Netflix which is quite a complete one and these techs are the ones worth learning while preparing for a backend interview. 
From a backend perspective, below are the ones worth investing our time:

API
 → GraphQL: Enables efficient communication…

Java interview scenario based question: In a Spring Boot ProductController, you must handle two distinct scenarios: returning a simple 404 Not Found status when a product is missing, and returning a 201 Created status with a dynamic Location header upon successful creation. What…

makakmayumjava's tweet image. Java interview scenario based question:

In a Spring Boot ProductController, you must handle two distinct scenarios: returning a simple 404 Not Found status when a product is missing, and returning a 201 Created status with a dynamic Location header upon successful creation. What…

Loading...

Something went wrong.


Something went wrong.