Blog Archives
1 2

01: 13 Java low latency interview questions & answers

Have you seen job advertisements requiring Java candidates to work in low latency, high throughput, real-time and distributed systems with share-nothing architectures? Wondering what questions you will be asked? If you are an experienced Java developer targeting high paying skills then it pays to get a good handle on Java low latency interview questions & answers.

You will be quizzed on the low latency application you had recently worked on especially the outcomes in terms of the latencies, response times, and throughput along with the challenges you faced.

Q1. What do you understand by the term latency?…

Tags:

01: Can you design classes & interfaces using OO?

Q1. How would you go about designing a “farm animals” application where animals like cow, pig, horse, etc move from a barn to pasture, a stable to paddock, etc? The solution should also cater for extension into other types of animals like circus animals, wild animals, etc in the future….



01: High level & low level system design considerations for read heavy systems

Q1. What are some of the design considerations for a read heavy system? A1. Before designing any systems, one should gather the functional & non-functional requirements. The SLAs (i.e. Service Level Agreements) have to be clearly defined. A rough-cut capacity planning has to be done in terms of how many…



01: High level & low level system design considerations for write heavy systems

This extends High level & low level system design considerations for read heavy systems Q1. What are some of the design considerations for a write heavy system? A1. Before designing any systems, one should gather the functional & non-functional requirements. The SLAs (i.e. Service Level Agreements) have to be clearly…



01: NoSQL interview Q&As – Key Value, Wide Column, Document & Graph databases

Q1. What are the key differences between SQL & NoSQL databases? A1. Now a days you have a choice which database to use based on your requirements. There are pros & cons for each database. SQL NoSQL (Not Only SQL) SQL databases store structured data & enforces schema (i.e. structure)…



01: Q13 “12 Rules” for REST API design & development

These are more like rules to develop RESTFul web services as opposed to being the best practices. REST is an architectural style without any contracts or specifications. So, it is imperative to apply the following rules for better REST API design. #1. Write stateless RESTFul services This means each request…



02: 15 key considerations for low latency Java applications

Extends Writing low latency applications in Java interview Q&As. If the job description says “low latency” application, then be prepared. Even if “low latency” experience is not a requirement, all employers like candidates who can not only build systems that perform well, but also can stress test (e.g. JMeter), profile…

Tags:

02: 5 Java multithreading scenarios interview Questions & Answers

Java interview questions & answers on multithreading scenarios to judge your experience in building applications with concurrency in mind. Q1. Can you give some scenarios where you built concurrent systems? A1. In a concurrent system different threads run concurrently, whereas in a distributed system different processes often in separate machines…



02: Microservices Architecture design patterns & considerations interview Q&As – Part 1

This extends 10+ Key Microservices Interview Questions Answered. The architects & developers need to know these microservices design patterns & these are best practices to build robust systems. Q1. Why do we need design patterns for Microservices? A1. The goal of microservices is to increase the velocity of application releases,…



02: Scenarios based Java OO concepts & GoF design patterns – naive Template Method pattern

Scenarios based Java OO concepts & GoF design patterns


03: How would you go about designing an online shopping cart?

This question is a very popular white board session question for both Java architects and experienced JEE Developers. You need to draw on your experience to tackle this question as there are no right or wrong answers. These high level diagrams and summary will help you refresh your memory. Q….



03: Networking basics interview Q&As on VPN, Proxy Server & Reverse Proxy

This post extends the 01: Networking basics interview Q&As on ip address, subnet mask, DNS & gateway with some of the key networking concepts that we face as software engineers & architects. VPN Q1. What is a VPN? A1. VPN stands for Virtual Private Network. In other words VPN is…



03: Scenarios based Java OO concepts & GoF design patterns – Strategy Pattern

The following post improves on the design flaws listed in the previous post entitled 02: Scenarios based Java OO design & GoF design patterns – naive Template Method pattern. Scenario: A company named XYZ Retail is in the business of selling Books, CDs and Cosmetics. Books are sales tax exempt…



05: Q19-Q24 How to create a well designed Java application?

A software application is built by coupling various classes, modules, and components. Without coupling, you can’t build a software system. But, the software applications are always subject to changes and enhancements. So, you need to build your applications such a way that they can not only adapt to growing requirements,…



06: Q25 – Q32 SOLID design principles interview questions & answers for Java developers

Design principles interview questions & answers for Java developers so that you can expand your OOP skills to design robust Java apps Q25. What are the SOLID design principles? A25. SOLID is an abbreviation for 5 design principles. SRP (Single Responsibility Principle) If you have a class with calculation logic,…

Tags:

1. Asynchronous processing in Java real life examples – part-1

The scenario based questions are very popular with the job interviewers, and some scenario based questions are related to decoupling and asynchronous (aka non-blocking) processing in Java with message queues/topics, database tables where one process inserts data and another process consumes the inserted data, and Future objects in Java multi-threading….



10: 8 Java Maps & Caching Data in Java Interview Q&As

Q1. What is the purpose of a Map interface in Java collection API? A1. A map is a set of associations between pairs of objects. One is known as a “key” and the other is known as a “value”. It is used very frequently in programming in case where for…



10+ Domain Driven Design (i.e. DDD) Interview Q&As

Q1. What is Domain Driven Design (i.e. DDD)? What is DDD oriented microservice? A1. Domain-driven design advocates modelling based on the reality of business as relevant to your use cases. In the context of building applications, DDD talks about problems as domains. If you are building a shopping cart application,…

Tags:

10+ Key Java Microservices Interview Questions & Answers

Java microservices interview questions and answers covering microservices patterns, best practices, Springboot and Spring cloud . 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….



15 Database design interview Q&As

Q1. What is normalization? When to denormalize? A1. Normalization is a design technique that is widely used as a guide in designing relational databases. Normalization is essentially a two step process that puts data into tabular form by removing repeating groups and then removes duplicated data from the relational tables….



1 2

300+ Java & Big Data FAQs - Quick Prep

Java & Big Data Tutorials

Top