Have you had experience with RAG and vector search?
Java
What is Mutual TLS?
В чём разница между фабричным методом (паттерн) и фабричным классом?
How many partitions were usually in each topic?
-- There are tables with the following structure Employee id (PK) name salary dep_id(FK department.id) Department id (PK) name -- write a query that returns a list of all department names with the maximum salary in each department select d.name, MAX(e.salary) from Employee e join Department d on e.dep_id = d.id group by d.name
What professional development do you plan for yourself in the future?
Tell me more about microservice architecture at your last workplace: how many services, how they interacted.
Why is it not allowed to make an HTTP request inside a database transaction?
What mechanisms need to be implemented in a Mission Critical system? How to achieve fault tolerance?
How do you monitor that the system is working correctly? What metrics and monitoring do you use?
What design patterns do you use? Why are they needed?
How convenient would it be to have a dedicated Scrum Master?
How to implement rate limiting for an external API with RPS restrictions? How do virtual threads/coroutines differ from system threads?
What situations or circumstances can decrease your motivation at work?
All beans are singletons. Many requests arrive at the same REST method. How is thread safety ensured? Does Spring guarantee anything out of the box?
How to check that lists are equal in content, but order does not matter? List<String> actual = List.of("B", "A", "C"); List<String> expected = List.of("A", "B", "C");
What are optimistic and pessimistic locking? How to implement them?
How do hash indexes differ from B-tree indexes? Which is preferable for searching by last names?
What is the fork system call in Unix-like operating systems?
public class ClassA { int a; @Override public boolean equals(Object obj) { //implementation if (this == obj) return true; if (!(obj instanceof ClassA)) return false; ClassA other = (ClassA) obj; return this.a == other.a; } } public class ClassB extends ClassA { int b; @Override public boolean equals(Object obj) { //implementation if (this == obj) return true; if (!(obj instanceof ClassB)) return false; if (!super.equals(obj)) return false; ClassB other = (ClassB) obj; return this.b == other.b; } } ClassB b1 = new ClassB(10, 20); ClassB b2 = new ClassB(10, 20); assertTrue(b1.equals(b2));