Ali the end of 2019, Baidu and other manufacturers face questions summary (with answers)



977f7192-3401-4d2b-a198-bd3f30e7cda8



Preface:

Today is a share of 5 years experience in Java engineers interview summing up the experience of empire, look at these Internet companies love to ask what questions, we hope to have guiding significance for the interview.

Java developers are also engaged in five years of experience, and in early October to open his own interview experience tour, all around should be 20 days, the Internet company main surface, a second-tier large company or financing a start-up companies are interviewed, and took a few offer, including Qihoo 360 bytes beating.

1.Redis face questions

1, what is ?. Redis
2, Redis data types?
3. What are the benefits of using Redis there?
4, Redis Memcached What are the advantages compared to?
5, the difference between Memcache and Redis what are?
6, Redis is single-threaded single-process?
7, a value of type string can store the maximum capacity is how much?
8. What is the persistence mechanism Redis? Their advantages and disadvantages?
9, Redis common performance problems and solutions:
10, delete the policy redis expired keys?
11, Redis recovery strategy (phase-out strategy)?
12, Why edis need to put all the data into memory?
13, Redis synchronization mechanism to understand it?
14, Pipeline What are the benefits, why should the pipeline?
15, whether used Redis cluster, the cluster is what principle?
16, Redis clustering scheme under what circumstances would cause the entire cluster is unavailable?
17, Redis supports Java client has what? Official recommended to use which?
18, Jedis and Redisson contrast what advantages and disadvantages?
19, Redis how to set a password and verify password?
20, talk about the concept of Redis hash slot?

(End text attached interview answers)

997c20d6a49d4c8ba1594eda892108ae


2.Dubbo face questions

1、Dubbo是什么?
2、为什么要用Dubbo?
3、Dubbo 和 Spring Cloud 有什么区别?
4、dubbo都支持什么协议,推荐用哪种?
5、Dubbo需要 Web 容器吗?
6、Dubbo内置了哪几种服务容器?
7、Dubbo里面有哪几种节点角色?
8、画一画服务注册与发现的流程图
9、Dubbo默认使用什么注册中心,还有别的选择吗?
10、Dubbo有哪几种配置方式?
11、Dubbo 核心的配置有哪些?
12、在 Provider 上可以配置的 Consumer 端的属性有哪些?
13、Dubbo启动时如果依赖的服务不可用会怎样?
14、Dubbo推荐使用什么序列化框架,你知道的还有哪些?
15、Dubbo默认使用的是什么通信框架,还有别的选择吗?
16、Dubbo有哪几种集群容错方案,默认是哪种?
17、Dubbo有哪几种负载均衡策略,默认是哪种?
18、注册了多个同一样的服务,如果测试指定的某一个服务呢?
19、Dubbo支持服务多协议吗?
20、当一个服务接口有多种实现时怎么做?

(文末附面试答案)

8e55d7c52b2842d1a1190c64a85a430d


3.Spring Boot 面试题

1、什么是 Spring Boot?
2、Spring Boot 有哪些优点?
3、什么是 JavaConfig?
4、如何重新加载 Spring Boot 上的更改,而无需重新启动服务器?
5、Spring Boot 中的监视器是什么?
6、如何在 Spring Boot 中禁用 Actuator 端点安全性?
7、如何在自定义端口上运行 Spring Boot 应用程序?
8、什么是 YAML?
9、如何实现 Spring Boot 应用程序的安全性?
10、如何集成 Spring Boot 和 ActiveMQ?
11、如何使用 Spring Boot 实现分页和排序?
12、什么是 Swagger?你用 Spring Boot 实现了它吗?
13、什么是 Spring Profiles?
14、什么是 Spring Batch?
15、什么是 FreeMarker 模板?
16、如何使用 Spring Boot 实现异常处理?
17、您使用了哪些 starter maven 依赖项?
18、什么是 CSRF ***?
19、什么是 WebSockets?
20、什么是 AOP?
21、什么是 Apache Kafka?
22、我们如何监视所有 Spring Boot 微服务?

4.Spring Cloud 面试题

1、什么是Spring Cloud?
2、使用Spring Cloud有什么优势?
3、服务注册和发现是什么意思?Spring Cloud如何实现?
4、负载平衡的意义什么?
5、什么是Hystrix?它如何实现容错?
6、什么是Hystrix断路器?我们需要它吗?
7、什么是Netflix Feign?它的优点是什么?
8、什么是Spring Cloud Bus?我们需要它吗?

5.JVM面试题

1、JVM三大性能调优参数,JVM 几个重要的参数
2、JVM调优
3、JVM内存管理,JVM的常见的垃圾收集器,G1垃圾收集器。GC调优,Minor GC ,Full GC 触发条件
4、java内存模型
5、Java垃圾回收机制
6、jvm怎样 判断一个对象是否可回收,怎样的对象才能作为GC root
7、OOM说一下?怎么排查?哪些会导致OOM? OOM出现在什么时候
8、什么是Full GC?GC? major GC? stop the world
9、描述JVM中一次full gc过程。
10、JVM中类加载机制,类加载过程,什么是双亲委派模型?,类加载器有哪些
11、如何判断是否有内存泄露?定位 Full GC 发生的原因,有哪些方式?
12、Java 中都有哪些引用类型?

(文末附面试答案)

4cbf697b09ce442790649b011a2f4a3a


6.Java 并发编程

1、在 java 中守护线程和本地线程区别?
2、线程与进程的区别?
3、什么是多线程中的上下文切换?
4、死锁与活锁的区别,死锁与饥饿的区别?
5、Java 中用到的线程调度算法是什么?
6、什么是线程组,为什么在 Java 中不推荐使用?
7、为什么使用 Executor 框架?
8、在 Java 中 Executor 和 Executors 的区别?
9、如何在 Windows 和 Linux 上查找哪个线程使用的 CPU 时间最长?
10、什么是原子操作?在 Java Concurrency API 中有哪些原子类(atomic classes)?
11、Java Concurrency API 中的 Lock 接口(Lock interface)是什么?对比同步它有什么优势?
12、什么是 Executors 框架?
13、什么是阻塞队列?阻塞队列的实现原理是什么?如何使用阻塞队列来实现生产者-消费者模型?
14、什么是 Callable 和 Future?
15、什么是 FutureTask?使用 ExecutorService 启动任务。
16、什么是并发容器的实现?
17、多线程同步和互斥有几种实现方法,都是什么?
18、什么是竞争条件?你怎样发现和解决竞争?
19、你将如何使用 thread dump?你将如何分析 Thread dump?165
20、为什么我们调用 start()方法时会执行 run()方法,为什么我们不能直接调用 run()方法?

This is the last interview through the integration of several companies write these interview questions, the interview will determine your salary, be sure to take good care of, finally received Baidu's offer, the salary is not bad, to share out these interview questions hoping to help those who intend to quit.

Recently there are a lot of fans in the background private letter I have been near the end of the next year there are going to quit, how to quit next year to prepare it? How to improve themselves, to learn there is no information yet.

Readers welfare

Here today to share these interview questions, no one can not guarantee all will, preparing for September and October, paying waiting for you, the answer may face questions freely available to everyone, I have made a thematic classification pdf, there are many videos, I spent so much older and more old time, old iron so they give me a praise to (only part of the picture)

Follow me to receive the number jobs Java Zhou person can receive free, oh

The answer interview questions summary

34bc512681134a108211ab7b36b886e7



acd14392dfc54ff3ada05f3c3cab75f8


866f3ba816e7471c869af3a4bc38e51d


Guess you like

Origin blog.51cto.com/14456091/2470686