Java
What is a singleton as a design pattern?
[Name] asked: Did you work under an employment contract?
Are there any adjustments to events? For example, 10 rubles were credited, but it should have been 9. What should be done?
How would you perform a complex migration (adding a mandatory column to a table with 300 million records) using Liquibase?
How do you feel about AI potentially replacing developers? How do you see development in 2-3 years?
Is it necessary to wrap the transferMoney method in @Transactional and why?
How to implement a many-to-many relationship in a relational and document-oriented database?
Compare XML and JSON: pros and cons of each format.
What is the MVC pattern?
What is the main problem of this implementation - Connection to Redis is hardcoded - There is a connection pool for Redis - Unverified call to `jedis.get` may return null - Using the `KEYS` command causes server load - No Redis events
What is the main problem of this implementation - Index may not be mandatory - Incorrect index type used to achieve the desired goals. - There is a composite index - The table is not normalized - No use of transactions
[имя] спросил: Как снять heap dump с Java-процесса в Kubernetes? Опиши по шагам в bash-консоли.
Where is the @RequestHeader annotation placed?
When might the finally block not execute?
Tell in detail about event-driven interaction between services using Kafka.
Is implementing idempotent event processing an achievement for a senior, or is it something that is expected of them a priori?
On which projects or products have you worked at [company]?
Tell us about multithreaded programming in Java: what did you use?
Can tests be improved, for example by reducing the amount of code?
How was the team glued together?