Most of these questions has been answered in my eBook "Cracking the Core Java Interview" updated on June 2018, that you can buy from this link:
TCS - Microservices Interview Questions for Java Developers
Upasana | May 25, 2019 | 1 min read | 3 views
Commonly asked Spring/Java Microservices Interview questions in TCS
Core Java
-
What is volatile variable?
-
What are key classes in java.util.concurrent package
-
Explain internals of ConcurrentHashMap
Microservices Concepts
-
Why do we need microservices architecture?
-
How to handle distributed transaction in microservices?
-
What is Saga pattern in microservices?
-
What is Zipkin and Sleuth?
-
What is an idempotent operation?
-
What is eventual consistency?
-
What are biggest advantages of microservices architecture?
Security
-
How does OAuth2 works?
-
Do we need to generate clientId and clientSecret for each microservices for handling security in inter-service communication.
-
How Spring security works in microservice architecture?
-
How to configure security at a Resource Server level.
-
What is JWT?
-
What kind of information should be put into JWT?
-
What is a resource server
-
How does resource server validates a given JWT token? Does it need to go to auth server each time a token comes?
-
What is Token relay, how does it happen?
Inter service communication
-
One service calls 4 other services and collects the response, how to handle this.
-
How load balancing works in microservices?
-
What is zuul? is it a load balancer?
-
How does discovery client works?
Top articles in this category:
- Citibank Java developer interview questions
- Multi-threading Java Interview Questions for Investment Bank
- Sapient Global Market Java Interview Questions and Coding Exercise
- UBS Java Interview Questions
- Morgan Stanley Java Interview Questions
- Goldman Sachs Java Interview Questions
- ION Trading Java Interview Questions