A summary of the 2021 latest BATJ and other first-line Internet manufacturers' spring recruitment interview questions, thank you for taking it away

This article collects and organizes N common interview questions from major factories. Here are the contents to cover what you want:

Java、MyBatis、ZooKeeper、Dubbo、Elasticsearch、Memcached、Redis、MySQL、Spring、Spring Boot、Spring Cloud、RabbitMQ、Kafka、Linux等技术栈……

I hope everyone can find a company that suits them and have a happy code.

Due to the large number of questions and space limitations, not all the interview questions in the article are accompanied by detailed analysis, but they have been compiled into a detailed PDF document for sharing with everyone (obtained at the end of the article)

Looking at the interview questions can be for the interview, or it can be a way of checking and filling in the vacancies of what you have learned, to get a deeper understanding of some core knowledge points

A summary of the latest interview questions for BAT and other major Internet companies in the spring of 2020, please take it away

 

MyBatis interview questions

  • 1. What is Mybatis?
  • 2. The advantages of Mybaits:
  • 3. Disadvantages of MyBatis framework:
  • 4. Applicable occasions of MyBatis framework:
  • 5. What is the difference between MyBatis and Hibernate?
  • 6. What is the difference between #{} and ${}?
  • 7. What should I do when the attribute name in the entity class is different from the field name in the table?
  • 8. How to write like statement in fuzzy query?

ZooKeeper interview questions

ZooKeeper is an open source distributed coordination service, created by Yahoo, and is an open source implementation of Google Chubby. Distributed applications can implement data publishing/subscription, load balancing, naming services, distributed coordination/notification, cluster management, Master election, configuration maintenance, name services, distributed synchronization, distributed locks, and distributed queues based on ZooKeeper. Features.

  • The difference between zookeeper load balancing and nginx load balancing
  • Zookeeper Watcher mechanism-data change notification
  • Client registration Watcher implementation
  • How does zookeeper ensure the sequential consistency of transactions?
  • Is Zookeeper's watch monitoring notification to the node permanent? Why is it not permanent?
  • How to deal with zk node downtime?

Dubbo interview questions

Spring Eureka has changed from open source to closed source, Consul is on the rise, and Dubbo is starting to update again. There are still many companies in the market that use dubbo and we also need to continue to learn.

  • Why use Dubbo?
  • What communication framework is used by default, are there other options?
  • Is the service call blocking?
  • What registry is generally used? Are there any other options?
  • What serialization framework is used by default, and what else do you know?
  • What are the layers of Dubbo's overall architecture design?

Elasticsearch interview questions

  • How much do you know about elasticsearch, talk about your company's es cluster architecture, index data size, how many shards, and some tuning methods.
  • What to do if there is too much data in elasticsearch index, how to tune and deploy
  • How elasticsearch implements master election
  • When Elasticsearch is deployed, what are the optimization methods for Linux settings
  • Describe in detail the process of Elasticsearch updating and deleting documents.
  • When Elasticsearch is deployed, what are the optimization methods for Linux settings? (The interview answer is attached at the end of the article)

Redis interview questions

With the continuous maturity of application R&D technology, Redis caching technology has become one of the necessary capabilities for back-end R&D students. In the interview process of many companies, it is essential to examine the mastery of Redis knowledge points.

  • What are the benefits of using Redis?
  • Is Redis single-process and single-threaded?
  • What is the persistence mechanism of Redis? Their advantages and disadvantages?
  • Redis common abnormal problems and solutions (avalanche, penetration...)
  • Redis expired key deletion strategy?
  • Why does redis need to put all data in memory?
  • What is the master-slave replication model of Redis cluster?
  • How to set the expiration time and permanent validity of Redis key?

MySQL interview questions

Nowadays, the Internet industry uses MySQL the most. However, for advanced Web interviewers, especially for job seekers looking for jobs under 30k, many MySQL-related knowledge points will be basically involved. If your relevant knowledge is vague and irrelevant during the interview Basically, most interviewers from better companies will not be interested in you. After all, a slightly larger project will eventually let you go deep into the database, and most of the final bottlenecks will first appear in the database.

  • MySQL related storage engine.
  • The principle of MySQL index implementation.
  • MySQL database lock.
  • MySQL SQL tuning.
  • MySQL sub-table sub-database global ID.

Java concurrent programming interview questions

  • What is the difference between daemon thread and local thread in java?
  • What is context switching in multithreading?
  • What is the thread scheduling algorithm used in Java?
  • What is a thread group and why is it not recommended in Java?
  • What is the difference between Executor and Executors in Java?
  • Three elements of concurrent programming?
  • What is a thread pool? What are the ways to create it?

Spring interview questions

  • 1. Talk about the understanding of Spring IoC?
  • 2. Talk about your understanding of Spring DI?
  • 3. What is the difference between the BeanFactory interface and the ApplicationContext interface?
  • 4. Please introduce the core classes of Spring that you are familiar with, and explain what they do?
  • 5. Introduce your understanding of Spring's affairs?
  • 6. Introduce Spring's transaction implementation method?
  • 7. What is Spring's dependency injection? (The interview answer is attached at the end of the article)

JVM interview questions

  • Three JVM performance tuning parameters, JVM several important parameters
  • JVM tuning
  • 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
  • Describe a Full gc process in JVM
  • What are the reference types in Java?
  • 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?

Spring Cloud interview questions

  • What is Spring Cloud?
  • What are the advantages of using Spring Cloud?
  • What does service registration and discovery mean? How to implement 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?

At last

The editor has organized the interview questions and answers involved in the above into interview special documents, and also collected some relevant actual combat documents and videos (obtained at the end of the article)

The following are some screenshots:

A summary of the latest interview questions for BAT and other major Internet companies in the spring of 2020, please take it away

A summary of the latest interview questions for BAT and other major Internet companies in the spring of 2020, please take it away

 Friends who want to get these information, after one-click three consecutive ↓↓↓↓

 

Guess you like

Origin blog.csdn.net/bjmsb/article/details/114838962