Blog Archives
1 2 3 4 5 10

01: 12+ Git Source control must know basics interview Q&As

Q1. How does Git differ from SVN?

#1. Git is a distributed source control system meaning that there will be multiple client repositories. SVN is one repository with lots of clients.

Read more ›


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 &

Read more ›


01: 14 Unix must-know interview questions & answers

Q1 How do you remove the Control-M characters from a file?
A1 Control-M is a carriage return on keyboard. The ^M is the keyboard equivalent to \r. In a file originated from DOS/Windows the \r\n is used for an end of line carriage return, whereas in Unix it is \n for a new line.

Read more ›

Tags: ,

01: 21 Docker DevOps interview Q&As

Docker, Jenkins, CI/CD, & DEV/OPS have been the buzz words for the last several years. You will be seeing this in more often in the job requirements as well. Docker Tutorial – compile & run Q1. What is a Docker container, and what does it enable you to do?...

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 & … Read more ›...

01: jvisualvm tutorial to sample Java heap memory

Java does not have a sizeof operator like C++ does. Java uses automatic memory management known as the Garbage Collection, hence it is not that important to evaluate size of various objects. But, for the purpose of learning & fixing any potential memory issues, I have used “jvisualvm”, … Read...

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 & … Read more ›...

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. … Read...

02: 20+ Kubernetes (aka K8s) interview questions & answers

Q1. What is the difference between Docker & Kubernetes? A1. Docker & Kubernetes can function without each other, and also both can compliment each other. Docker enables us to run, create and manage containers on a single operating system. If you have Docker installed on a number of hosts with...

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, … Read more ›...

02: HTTP basics on headers, MIME types, & cookies for Java developers

Q1. What happens when you open up a browser and type a URL to request a Web page or RESTFul web service data? A1. HTTP is a stateless protocol on top of TCP (Transmission Control Protocol). 1) When the IP address is obtained, … Read more ›...

02: jvisualvm to detect memory leak – a quick tutorial style Java demo

This is a companion post to 8 Java Memory Management Interview Q&A demonstrating a memory leak scenario step by step with jvisualvm, which is a free profiling tool that gets shipped with JDK. Step 1: Code that causes memory leak Here is a sample code that causes memory leak. …...

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: Identifying and fixing NonUniqueObjectException in Hibernate

NonUniqueObjectException is thrown when there is an object already associated with the session with the same id (primary key) (i.e. a duplicate). It is important to understand the concept of a “detached” object in Hibernate. This is one of the most common errors, understanding why and when this error is thrown will save you time in identifying and fixing this issue.

Read more ›


03: Java GC tuning for low latency applications

This assumes that you have read the basics on Java GC at Java Garbage Collection interview Q&A to ascertain your depth of Java knowledge. This is a must know topic for those who like to work on low latency applications. Q1. In what ways does GC impact latency and throughput...

1 2 3 4 5 10

300+ Java & Big Data Interview FAQs

Java & Big Data Tutorials