Blog Archives
1 2 3 4 5 6 7 … 16

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

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


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

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


03: Understanding Big O notations with Java

Q1.  Have  you seen job advertisements requiring Java candidates to work in real-time or high volume transaction processing systems? A1.  If you are applying for such jobs, you can be quizzed on Big O notation. Here are some basics to brush up on. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


04: Identifying and fixing LazyInitializationException in Hibernate

LazyInitializationException is thrown when an object becomes detached, and if you try to access associated (i.e. proxied) object(s) of a detached object.

Q. What is a detached object in Hibernate?

When you close an individual Hibernate Session, the persistent objects you are working with are detached.

…

Read more ›



04: As a Java developer, can you think of a time where you ……?

It really pays to jog your memory prior to job interviews to ace the open-ended questions like……As a Java developer, can you think of a time where you…….? Q1. Can you think of a time where you accomplished QuickWins for your company? A1. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


04: Git Merging Vs rebasing must know interview questions and answers

Q1. What do you understand by the terms merging and rebasing? Can you explain both with a daiagram? A1. Both of these commands are designed to integrate changes from one branch into another branch—they just do it in very different ways. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


04: Java primitives & objects memory consumption

Q1. How much memory space does a primitive type int occupy in Java? A1. 4 bytes. Q2. Java objects get stored in the heap memory space, but how about the primitive variables? A2. … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


04: Kubernetes (i.e k8s) interview Q&As – Volumes, PVs, PVCs & StorageClass

Q01. What is the difference between Docker & Kubernetes Volumes? A01. Docker Volume and Kubernetes Persistent Volume serve similar purposes, but they differ in a number of ways. a) Docker Volumes are used in Docker environments, … Read more ›...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


04: Kubernetes concepts like kubectl, contexts, kubeconfig & namespaces

This extends Install Kubernetes (i.e. minikube) on Mac.

Step 1: Start the Docker.app on Mac, and then start the minikube cluster from a terminal.

This creates a local Kubernetes cluster. You can confirm if the Minikube cluster is running with:

Kubectl vs Kubernetes Cluster

A Kubernetes cluster can be created on a cloud like AWS,

…

Read more ›



04: Microservices Architecture design patterns & considerations interview Q&As – Part 3

This extends 03: Microservices Architecture design patterns & considerations interview Q&As – Part 2. 4. Cross-cutting concern patterns Microservices require various cross-cutting concerns such as metrics, reporting exceptions to an exception tracker, logging, distributed tracing, health checks, externalized configuration, and security. Additionally, a service may need to handle service discovery...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


05: Debugging Hibernate & handling 4 common issues

#1. Enable Logging in your log4j.xml, log4j.properties, or myapp-logback.xml

In the log4j.properties file, you can enable Hibernate SQL logging as shown below

or in your log4j.xml or myapp-logback.xml as

You can then check your logs for the SQLs executed and the parameters passed.

…

Read more ›



05: Git & Maven for releasing software artifacts Q&A

Q1. What are the general steps involved in making a software release? A1. #1: Checking out the software artifacts to you build serevr or local box from a source control management (i.e. SCM) system. #2: Giving it a version so it can be uniquely identifieds #3: Building, … Read more...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


05: Kubernetes (i.e k8s) interview Q&As – Service Vs Ingress

Q01. What is a Service in Kubernetes? A01. A Kubernetes service is a logical abstraction for a deployed group of pods in a cluster that perform the same function. Why do you need a service object? Why do you need a service object in k8s when each pod gets its...

This content is for 30-Day-Full-Access, 100-Day-Full-Access, 200-Day-Full-Access, and 365-Day-Full-Access members only. Register 80+ Free Java FAQs 80+ Free Big Data FAQs
Already a member? Log in here


1 2 3 4 5 6 7 … 16

300+ Java Interview Questions - FAQs

Tutorials on Java & Big Data