CGI Group
ManpowerGroup Interview Questions and Answers
Q1. Coding question - 1. Create a immutable class of orders. What happens when two objects are created out of it. 2.Using the immutable orders create a set of orders and how will you sort these out. 3.Given a List...
read moreCreating immutable class of orders, sorting orders, finding average of lists of integers.
Create an immutable class Orders with private final fields and no setter methods.
Override equals() and hashCode() methods to ensure uniqueness of objects.
Use Collections.unmodifiableSet() to create a set of orders and Collections.sort() to sort them.
Iterate through the List of List of String of integers, convert to integers, and calculate average for each list.
Q2. How are 4-5 microservices connected in rest api's? which technique you are using?
Microservices are connected in REST APIs using communication protocols like HTTP, messaging queues, and service discovery.
Microservices communicate with each other using HTTP requests and responses.
Messaging queues like RabbitMQ or Kafka can be used for asynchronous communication between microservices.
Service discovery tools like Eureka or Consul help in locating and connecting to different microservices.
API Gateway can be used to aggregate multiple microservices into a singl...read more
Q3. Explain Spring Cloud and how you are using in microservices?
Spring Cloud is a set of tools and frameworks for building cloud-native applications in Java.
Spring Cloud provides tools for service discovery, load balancing, configuration management, and more in microservices architecture.
It includes projects like Eureka for service discovery, Ribbon for client-side load balancing, and Config Server for externalized configuration.
Spring Cloud integrates with Spring Boot to simplify the development of distributed systems.
Using Spring Cloud,...read more
Q4. what are microservices according to you?
Microservices are a software development technique where an application is divided into smaller, independent services that communicate with each other through APIs.
Microservices are small, independent services that focus on specific business functions.
Each microservice can be developed, deployed, and scaled independently.
Microservices communicate with each other through APIs, typically using lightweight protocols like HTTP or messaging queues.
They promote flexibility, scalabi...read more
Q5. Explain Microservices Architecture used in your project
Microservices architecture is a design approach where a single application is composed of small, independent services that communicate with each other.
Each microservice is responsible for a specific business function or capability
Microservices communicate with each other through APIs
Each microservice can be developed, deployed, and scaled independently
Microservices architecture promotes flexibility, scalability, and resilience
Examples: Netflix, Amazon, Uber
Q6. Explain your deployment build config?
Deployment build config includes settings for deploying the application.
Use tools like Maven or Gradle to manage dependencies and build the project
Specify deployment environment configurations in a separate file (e.g. application.properties)
Define build scripts for tasks like compiling, packaging, and deploying the application
Leverage CI/CD pipelines for automated builds and deployments
More about working at CGI Group
Interview Process at ManpowerGroup
Top Java Full Stack Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month