How to Pass a Midterm Interview | Java Mock Interviews

Опубликовано: 11 Май 2026
на канале: Павел Сорокин
6,009
185

FREE Java learning and interview preparation materials from me: https://t.me/JavaLearnBot?domain=Java...

My course on Java development and getting your first job: https://sorokin.school/?utm_source=yo...

Telegram channel: https://t.me/S0R0KlN

In this video, I show the interview process for a mid-level Java developer.
What questions might be asked and how to answer them.

Timecodes:
00:00 – Introduction
00:46 – Interview begins
01:43 - What is garbage collection in Java? What types of garbage collectors are there and how do they work?
06:47 - What are the ACID properties of transactions? Provide examples of each ACID characteristic.
10:09 - What are the different transaction isolation levels?
15:36 - Explain the difference between vertical and horizontal database scaling. What are the pros and cons of each?
18:12 - What approaches are used for horizontal database scaling?
21:58 - What is the difference between synchronous and asynchronous service communication?
26:10 - Case Study
31:12 - How does Kafka work? Explain topics, partitions, and consumer groups.
33:51 - How does message distribution work in Kafka? What is replication and why is it needed?
38:02 - What patterns are used in microservice architecture? Explain the Saga and ApiGateway patterns.
43:24 - What are the disadvantages of microservice architecture? How can they be addressed?
47:29 - What is Hibernate? Why is it needed?
48:41 - What are the main problems encountered when using Hibernate? How can they be solved?
51:24 - What are the different types of entity loading?
53:00 - Case Study
59:27 - What is volatile in Java? When is its use justified?
01:04:57 - How does the AtomicInteger class work? What methods does it provide for atomic operations?
01:05:21 - What is CompletableFuture in Java? What problems does it solve and how to use it?
01:09:15 - Conclusion