Pre-heating for the Spring Recruitment of 2021: Thousands of interview questions must be seen in Java interviews. The opportunities are reserved for those who are prepared. Is it not easy to get a satisfactory offer in the interview?

021 Preparatory Spring Recruitment: 999 interview analysis must-see in Java interviews, to help you pass the interview with major factories .
Foreword:
This article collects and organizes N interview questions commonly used by major factories. Here are the contents you want to cover: Java, MyBatis , ZooKeeper, Dubbo, Elasticsearch, Memcached, Redis, MySQL, Spring, Spring Boot, Spring Cloud, RabbitMQ, Kafka, Linux and other technology stacks.

Due to the large number of questions and space limitations, the interview questions in the article are not all accompanied by detailed analysis, but they have been compiled into a detailed PDF file to share with everyone. Friends in need can: follow the official account at the end of the article to obtainInsert picture description here

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

MyBatis interview questions

1. What is Mybatis?
2. Advantages of Mybaits:
3. Disadvantages of the MyBatis framework:
4. Applications of the 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?
Insert picture description here

ZooKeeper interview questions


Zookeeper load balancing and nginx load balancing are different. Zookeeper Watcher mechanism-data change notification. How does the
client register Watcher to achieve the
consistency of the transaction sequence?
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

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 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?
Insert picture description here

Elasticsearch interview questions

How much do elasticsearch know, talk about your company's es cluster architecture, index data size, how many shards, and some tuning methods.
What should I do if there is too much elasticsearch index data, how to tune it, and how to deploy
elasticsearch to achieve master election.
When deploying Elasticsearch, 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?

Redis interview questions

What are the benefits of using Redis?
Is Redis single-process single-threaded?
What is the persistence mechanism of Redis? Their advantages and disadvantages?
Common Redis exception problems and solutions (avalanche, penetration...) How
to delete redis expired keys?
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?
Insert picture description here

MySQL interview questions

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

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 your 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 Spring core classes 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?

Kafka interview questions

There are three key differences between Kafka and the traditional MQ message system.
Let
me talk about the three mechanisms of Kafka 's ack. How to solve the problem of consumer failure and livelock ?
In the case of Kafka distributed (not stand-alone), how to ensure the sequential consumption of messages.
How does Kafka not consume duplicate data? For example, deductions, we can't repeat deductions.
Insert picture description here

Obtaining method: follow the official account below to obtain by yourself

 

Guess you like

Origin blog.csdn.net/yunduo1/article/details/109133489