Microservices Interview Questions

116 microservices interview questions shared by candidates

Core Java- use of streams in java What happens if I try to access a variable(which is declared outside) inside a .forEach block? Is it possible? Yes/no -Why? Hashmap vs concurrent hashmap and it’s workings. How many threads can access a concurrent hashmap at a time? Is it possible to modify a array-list while iterating it? Is there a way to do it? Some coding questions on overriding and exception handling concepts
avatar

Java Fullstack/Microservices Developer

Interviewed at Capgemini

4.2
Jan 14, 2021

Core Java- use of streams in java What happens if I try to access a variable(which is declared outside) inside a .forEach block? Is it possible? Yes/no -Why? Hashmap vs concurrent hashmap and it’s workings. How many threads can access a concurrent hashmap at a time? Is it possible to modify a array-list while iterating it? Is there a way to do it? Some coding questions on overriding and exception handling concepts

Java 8 features, Streams, Collectors.groupingBy, Exception handelling in java & SB, primtive vs wrapper, exception Handelling and method overriding rules, how to catch checked and uncheked exception using multiple catch blocks, SB annotations, how to create REST APIs in SB, Bean Scopes, IOC containers, Application context, Microservice Componnents, Feign vs Kafka, SAGA Pattern
avatar

Java Microservices Developer

Interviewed at Infosys

3.6
Sep 18, 2024

Java 8 features, Streams, Collectors.groupingBy, Exception handelling in java & SB, primtive vs wrapper, exception Handelling and method overriding rules, how to catch checked and uncheked exception using multiple catch blocks, SB annotations, how to create REST APIs in SB, Bean Scopes, IOC containers, Application context, Microservice Componnents, Feign vs Kafka, SAGA Pattern

1. What is volatile? 2. What is concurrency? 3. How can you achieve concurrency in Java 11? Ans. Parallel Stream 4. What are the different scope of bean you used in spring boot? 5. How does @Controller annotation work internally.
avatar

Senior Microservices Engineer

Interviewed at PatientPoint

4.1
May 11, 2023

1. What is volatile? 2. What is concurrency? 3. How can you achieve concurrency in Java 11? Ans. Parallel Stream 4. What are the different scope of bean you used in spring boot? 5. How does @Controller annotation work internally.

First part is uploading resume, and it will ask you why you wanna join IRAS. Second part was the coding. 2 theory, 8 output prediction and 2 debugging questions. Need 60% to pass the test. Third part was the feedback.
avatar

Microservices Developer

Interviewed at Inland Revenue Authority of Singapore

3.8
Nov 29, 2020

First part is uploading resume, and it will ask you why you wanna join IRAS. Second part was the coding. 2 theory, 8 output prediction and 2 debugging questions. Need 60% to pass the test. Third part was the feedback.

Viewing 91 - 100 interview questions

Glassdoor has 116 interview questions and reports from Microservices interviews. Prepare for your interview. Get hired. Love your job.