Spring Boot | Microservices Interview Questions Part 1 | Simple Programming
ฝัง
- เผยแพร่เมื่อ 15 ต.ค. 2024
- Hi All,
Welcome to Simple Programming,
Interview Questions,
First Round
1. Microservices Disadvantages, personal experience
2. Consider that there are 10 microservices in your architecture, how will you secure the communication between M1 and M2, etc.
3. Your experience on Microservice Design Patterns
4. Consider each microservice has individual data source, I have a requirement to join data from two data sources, how can I implement this?
5. @Component and @Bean
6. What do you know about Spring Transaction Management and how to implement it
7. Have you worked on Future and Completable Future
8. Future vs Completable Future
9. Crud Repository vs JPA Repository
10. Write an API to observe a list of students(name, age) do post, put and sort the list by name, and again sort it by age before sending back
public ResponseEntity(Student) insert(@RequestBody List Student students){}
• Serializable
• diff 1L vs generated
• Will you face any issues if all the classes have 1L
• Why ResponseEntity?
• Comparator vs Comparable
• Collections.sort()
• Multiple Comparator
• Method Reference
• Java 8 Lambda
• Put vs Patch
11. Containerization experience
12. Docker Swarms
13. Java Bean Mapping - BeanUtils, Dozer, MapStruct
14. non-singleton to Singleton Bean - prototype inside a singleton
15. SLF4j vs Log4J
16. Design Patterns - tell any 4 and explain with your experience
17. Spring Dependency Injection
18. Spring Boot Profiles
19. Functional Interfaces
20. what function inside predicate have to made use of other than isEqual()
21. .map() vs .flatmap()
22. Test Driven Development
#springboot #microservices #interviewquestions
man, I found ur channel today and I love it. keep making people love to learn Spring more w ur videos. good luck
Hi Sir, Can you create a series on Transaction management. Thanks
Very helpful.. Could you please start Spring Core series ? I see you have Spring Boot playlist, but if you can start Spring Core it will help a lot for junior developers.. Thanks in Advance :-)
Thank you for sharing.
This interview should be labeled as Java/Spring Expert not just API developer. What was the result ? Are the questions from one interview or collated from multiple ?
Please upload same way logical questions that's enough for interview as experience level
Thanks its a great help sir.
For which company this interview is for ?
Also for how much years of experience this interview is given?
What ever uploaded video very less but complete clarity there in video Thanks a lots
I am 3+ year exp . what microservices variety Questions I am likely to expect???
Please make video .
answer for 4th question is not much clear. Could you give clear example
You could write a new 3rd micro-service that does one of following
1. connects to both datasource to fetch data
2. connects to both microservice(1st & 2nd) to get data and consolidates it
3. For table level joins we can consider DB Link as well
Its all depends on db design and specific use case.
Experience level???
@@simpleprogramming1612 Thanks for sharing such a great experience with us.
Please also let us know if you were selected, so that we can ask for a party 😂😂
.test predicate?
Got Selected?
Sir I'm 8 plus in IT ... I can even understand the half of the things