No nonsense, no story, just go to the topic
Alibaba Java virtual machine interview questions
- Introduce the Java memory area
- The creation process of Java objects
- There are several types of object location
- What is the difference between String, StringBuilder, StringBuffer?
- What is the parent delegation model
- Talk about your understanding of class loader
- The process of class loading
- Which areas of the runtime data area are shared by threads? Which ones are exclusive?
- Are arrays in Java stored on the heap or on the stack?
- How many ways are there to create objects in Java?
- How to get dump files of heap and stack?
The Java virtual machine fully parses the document:
Alibaba Spring boot interview questions:
- How to use SpringBoot to automatically reinstall my application?
- What is an embedded server? Why should we use an embedded server?
- How to add general JS code in Spring Boot?
- What is Spring Data?
- What is Spring Data REST?
- How to use path= "users", collectionResourceRel="users" with Spring Data Rest -?
- When a Spring Boot application is running as a Java application, what happens in the background?
- Can we use jetty instead of tomcat in spring-boot-starter-web?
- How to use Spring Boot to generate a WAR file?
- How to deploy to different servers using Spring Boot?
- What is the difference between RequestMapping and GetMapping?
- Why is it not recommended to use Spring Data Rest in actual applications?
- How to change the package name of a project in Spring Iitalizer?
- Where can I find the complete list of properties that can be configured for application.propertierde?
Alibaba microservice interview questions:
- What is the purpose of using Docker?
- What do you know about Mike Cohn's test pyramid?
- What is the difference between Mock or Stub?
- How to eliminate indeterminism in testing?
- How to conduct cross-functional testing?
- What is your understanding of semantic monitoring in microservice architecture?
- Web, RESTful AP] What is the role of microservices?
- What is a consumer-driven contract (CDC)?
- What is DRY in microservice architecture?
- What is the use of Container in microservices?
- What is end-to-end microservice testing?
- What does contract testing mainly do?
- What is Conway's law?
- What is OAuth?
- What is the use of PACT in microservice architecture?
- What is a client certificate?
- What are the credential types for two-factor authentication?
- What is two-factor authentication?
- What is a bounded context?
Alibaba fundamentals: (one interview question)
- What is the realization principle of synchronized?
- With synchronized, what else does volatile do?
- How is synchronized lock optimization handled?
- What is JMM?
- What are the Java concurrent packages and what is the performance?
- What is fail-fast?
- What is fail-safe?
- What is CopyOnWrite?
- What is AQS?
- What is CAS?
- What is optimistic locking?
- What is the difference between optimistic lock and pessimistic lock?
- How does the database implement pessimistic locking and optimistic locking?
- What is the relationship between database locks and the upper level?
- What is the relationship between database locks and indexes?
- What is a clustered index?
- What is a non-clustered index?
- What is the leftmost prefix of the index?
- What is B+ tree prime?
- What is a joint index?
- What is return form?
- Do you understand distributed locks?
- How does Redis implement distributed locks?
- Why use Redis?
Alibaba P7 job interview questions: (ultimate challenge)
- How to ensure high concurrency and high availability of redis
- How to ensure data consistency between cache and database
- What data types does redis have, talk about applicable scenarios
- Redis thread model
- The first problem with distributed caching
- How to ensure the high availability of the message queue
- How to ensure the order of the message queue
- Distributed search engine architecture
- The workflow of distributed search engine Elastic Search
- Summary of message queue interview skills
- The security significance of Redis replicatin and master persistence to the master-slave architecture
- Go deeper into the complete execution process and principle of Redis Replication
- Redis sentinel architecture
- Data loss problem of Redis sentinel switch between active and standby
- In-depth analysis of the underlying principles of Redis sentry
- Redis's persistence mechanism
- Principle of Redis cluster mode
- Talk about how to deal with cache avalanches and penetration problems
- Dubbo load balancing and dynamic proxy strategy
- Talk about Dubbo's SP mechanism
- Dubbo-based service governance, service degradation and retry
- On-screen equivalence of distributed service interface
- Sequence of Distributed Service Interface Request
- Design a RPC framework similar to Dubbo
- Applicable scenarios of ZooKeeper
- The pros and cons of Redis & ZooKeeper's two distributed lock implementations
- Implementation of distributed ESession scheme
- Distributed transaction solution
- Architecture Design of High Concurrency System
- Sub-database and sub-table
- Design a sub-database and sub-table that can dynamically scale and shrink
- Global id generation after sub-database sub-table
- MySQL read-write separation and master-slave synchronization delay solution
- Fine-grained control of Hystrix isolation strategy
- Optimize bulk commodity data query interface based on request cache technology
last of the last!
I have sorted out all the answers to the questions and formed a PDF document containing the answers and analysis!
Forward the message + follow the author and reply with a private message [Ali] to get this Alibaba interview question full analysis document for free!
There are also 20 years of interview highlights from various major factories:
Forward the message + follow the author and reply with a private message [Ali] to get this Alibaba interview question full analysis document for free!