Near the end of the new year, many students left messages saying that the interview was not going well recently. They were asking me if I had any interview questions that were frequently used by major companies in 19 years. I wanted to brush up on the questions during the holiday and try again after the year.
In fact, I usually collect interview information from major companies (for emergencies), and combined with the sharing of fans and friends, I have compiled dozens of interview questions from Tencent, Toutiao, Ali, Meituan and other companies in 19 years , The following is a display of some interview questions:
1. Redis interview questions (interview answers are attached at the end of the article)
- What is Redis?
- What are the benefits of using Redis?
- What are the advantages of Redis over Memcached and what are the differences?
- What is the persistence mechanism of Redis? Their advantages and disadvantages?
- Redis common performance problems and solutions:
- Redis recycling strategy (elimination strategy)?
- Do you understand the synchronization mechanism of Redis?
- Have you used Redis cluster? What is the principle of cluster?
- Under what circumstances will the Redis cluster solution cause the entire cluster to be unavailable?
- Talk about the concept of Redis hash slot?
2. Dubbo interview questions (interview answers are attached at the end of the article)
- What is Dubbo and why use Dubbo?
- What protocol does dubbo support and which one is recommended?
- What kind of service containers are built in Dubbo?
- Draw a flow chart of service registration and discovery
- What registry does Dubbo use by default, are there other options?
- What are the configuration methods of Dubbo and what are the core configurations?
- What happens if the dependent services are unavailable when Dubbo starts?
- What serialization framework Dubbo recommends and what else do you know?
- What kind of cluster fault tolerance solutions does Dubbo have, and which is the default?
- What kinds of load balancing strategies does Dubbo have, and which is the default?
3. Spring Boot interview questions (the interview answers are attached at the end of the article)
- What is Spring Boot?
- What are the advantages of Spring Boot?
- How to reload changes on Spring Boot without restarting the server?
- What is the monitor in Spring Boot?
- How to realize the security of Spring Boot application?
- How to integrate Spring Boot and ActiveMQ?
- What is Swagger? Have you implemented it with Spring Boot?
- What is a FreeMarker template?
- What is a CSRF attack?
- How do we monitor all Spring Boot microservices?
4. Spring Cloud interview questions (interview answers are attached at the end of the article)
- What is Spring Cloud?
- What are the advantages of using Spring Cloud?
- What does service registration and discovery mean? How to achieve Spring Cloud?
- What is the significance of load balancing?
- What is Hystrix? How does it achieve fault tolerance?
- What is a Hystrix circuit breaker? Do we need it?
- What is Netflix Feign? What are its advantages?
- What is Spring Cloud Bus? Do we need it?
5. JVM interview questions (interview answers are attached at the end of the article)
- Three JVM performance tuning parameters, how many important parameters are JVM?
- JVM memory management, JVM's common garbage collector, G1 garbage collector. GC tuning, Minor GC, Full GC trigger conditions
- Java memory model
- Java garbage collection mechanism
- How does the jvm judge whether an object is recyclable and what kind of object can be used as the GC root
- OOM tell me? How to troubleshoot? What causes OOM? When does OOM appear
- What is Full GC? GC? major GC? stop the world
- Describe a full gc process in JVM.
- In the JVM, the class loading mechanism, the class loading process, what is the parent delegation model? , What are the class loaders
- How to judge whether there is a memory leak? What are the ways to locate the cause of Full GC?
6. Java concurrent programming (with interview answers at the end of the article)
- What is the difference between daemon thread and local thread in java?
- The difference between thread and process?
- The difference between deadlock and livelock, the difference between deadlock and starvation?
- What is a thread group, and why is it not recommended in Java?
- How to find which thread uses the longest CPU time on Windows and Linux?
- What is an atomic operation? What are the atomic classes in the Java Concurrency API?
- What is the Lock interface in the Java Concurrency API? What are its advantages over synchronization?
- What is a blocking queue? What is the realization principle of blocking queue? How to use blocking queues to implement the producer-consumer model?
- There are several ways to achieve multi-thread synchronization and mutual exclusion, what are they?
- What are race conditions? How do you discover and resolve competition?
At last
I believe that this year, whether it is now, or in March or April, there will be a constant wave of resignations and job hunting. As a job seeker, the interview is a hurdle. Many people will fear the interview. Even programmers who have been working for many years may still have interview anxiety.
Therefore, for the 2020 "Golden Three Silver Four" interview hopping season, today I will share a wave of benefits on the official account, which contains compiled interview information from major Internet companies such as ATM, and some information about the Internet. Mainstream architecture technical materials, mainly explain videos on technologies such as Java distributed, high concurrency, source code analysis, spring, and performance optimization.
This set of materials is especially suitable for the following groups:
- No work experience, but very solid foundation, proficient in java working mechanism, common design ideas, and common java development framework.
- Those who have certain work experience, but do not know where to start in the face of the current popular technology, and need to quickly improve their core competitiveness.
- I have been in the company for a long time and have a very comfortable life, but the interview hit a wall when I changed jobs. Those who need to study in a short period of time and change jobs to get a high salary can sign up.
- Want to understand the latest recruitment needs/technical requirements of "first-line Internet companies", compare and find out their strengths and weaknesses, and evaluate their competitiveness in the existing market;
- I have been doing Java development for several years, but have not yet formed a systematic Java knowledge system, and lack a clear improvement direction and learning path programmers.
Not much to say, directly upload the dry goods (the information will be updated continuously, subject to downloading) to receive for free~
I deliberately sorted out the following technologies. There are many technologies that cannot be explained clearly by a few sentences, so I just found some friends to record some videos. If you want to know what is happening, you must know why. If you want to learn Java engineering, high performance and distributed, explain the profound things in a simple way. Friends of performance tuning, Spring, MyBatis, Netty source code analysis can follow me
Share the most complete and latest interview documents, learn about large-scale Internet interview questions and answers first, and if you are interested in the summary of the interview document, you can like it, and follow my private message [Interview] to obtain (not easy to organize) large-scale Internet company interview answers for details!
Summary of interview questions
Part of the interview video