Blog Archives

10+ Key Microservices Interview Questions Answered

Q1. How will you go about choosing REST vs Messaging for Microservices? A1. Microservices can be invoked both synchronously and asynchronously. Microservices must be organized around business functionalities like Customers, Orders, Invoices, Products, etc. Synchronous Request/Response & public facing APIs REST is a great fit for request/response interactions as HTTP(S)...

Members Only Content
Log In Register Home


19: Q125 – Q130 Apache Zookeeper interview Q&As

Q125. What is Apache Zookeeper & where can you use it? A125. Distributed applications like HBase, Solr, etc run services on multiple nodes (i.e. computers) for scalability (i.e more nodes can be added) & redundancy (i.e. several nodes provide the same service & if one node is down another node...

Members Only Content
Log In Register Home


5 Spark streaming & Apache storm Interview Q&As

Q116. What is “Spark streaming” in the Spark ecosystem with Spark core, Spark SQL, Spark MLlib, Spark GraphX, etc? A116. Spark is a distributed and scalable batch processing framework that supports in-memory processing in sub-seconds. The batch processes are scheduled with something like Oozie or Unix cron jobs to run...

Members Only Content
Log In Register Home


6 Distributed storage & computing systems interview Q&As

Q1. What are the key requirements to be a distributed system?
A1. A distributed system must satisfy the following 3 characteristics.

1) The computers or nodes operate concurrently.

2) The computers or nodes fail independently,

Read more ›



9 Java Transaction Management Interview Q&As

Q1. What is a Transaction? A1. A transaction is a set of operations that should be completed as a unit. If one operation fails then all the other operations fail as well. Example 1: If you transfer funds between two accounts there will be two operations in the set Operation...

Members Only Content
Log In Register Home


Event sourcing & CQRS interview Q&As

Most feasible way to handle consistency across microservices is via eventual consistency. This model doesn’t enforce distributed ACID transactions across microservices. A better approach is to use event sourcing, which is an event-centric approach to business logic design and persistence. It favours to use some mechanisms of ensuring that the...

Members Only Content
Log In Register Home


Spring Cloud Microservices interview Q&As

This extends 15 Spring Boot interview questions & answers. Spring Boot & Spring Cloud are used for building Microservices architecture. Q1. What is Spring Cloud? A1. Spring Boot is widely used to develop MicroServices. As many organisations deploy these services on the cloud like AWS, … Read more ›...

Members Only Content
Log In Register Home


Why & What are the benefits

🎯 Why java-success.com?

🎯 What are the benefits of Q&As approach?

Learn by categories such as FAQs – Core Java, Key Area – Low Latency, Core Java – Java 8, JEE – Microservices, Big Data – NoSQL, Architecture – Distributed, Big Data – Spark, etc. Some posts belong to multiple categories.

800+ Java & Big Data Q&As Menu

Top