This interview did not ask too many cliché questions, but rather some divergent questions.
Position: DevOps Development
Time: 2023-05
Interview Duration: 52 minutes
Project#
- Talk about a challenging project where you gained a lot of experience
- When migrating the database, did you consider and compare other databases besides MySQL and PostgresSQL?
- What aspects are considered when comparing databases (besides performance, have you considered if the future increase in data volume will cause bottlenecks)? How do you make decisions and considerations based on different points? Can you explain?
- How does the scalability of containers compare to physical servers?
- What are vertical and horizontal database scaling?
- How is horizontal scaling implemented in MySQL and PostgresSQL databases, and what are the differences between them?
- How is data consistency ensured after database scaling (explain commonly used methods in the industry)?
Java#
- Which open-source components in the Java community are you familiar with? Explain your understanding.
- Explain your understanding of object-oriented and procedural programming.
- How is the implementation logic of Spring AOP aspect-oriented programming?
- What is the core logic of Spring dependency injection and what are the benefits it brings?
Logic Question#
There are 100 employees in a company. 75 of them know C++, 90 know Java, and 60 know Go. What is the maximum and minimum number of people who know all three languages?
Algorithm Question#
Ask for the time and space complexity of the implementation.
Find the kth largest element in an unsorted array. Example: Input: [3,2,3,1,2,4,5,5,6], k = 4 Output: 4.