Add office photos
CGI Group logo
Engaged Employer

CGI Group

Verified
4.0
based on 4.6k Reviews
Video summary
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Java Full Stack Developer
Experienced
Clear (1)

CGI Group Java Full Stack Developer Interview Questions and Answers

Updated 7 Jun 2024

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 more
Ans.

Creating 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.

Add your answer
right arrow

Q2. How are 4-5 microservices connected in rest api's? which technique you are using?

Ans.

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

Add your answer
right arrow

Q3. Explain Spring Cloud and how you are using in microservices?

Ans.

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

Add your answer
right arrow

Q4. what are microservices according to you?

Ans.

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

Add your answer
right arrow
Discover CGI Group interview dos and don'ts from real experiences

Q5. Explain Microservices Architecture used in your project

Ans.

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

Add your answer
right arrow

Q6. Explain your deployment build config?

Ans.

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

Add your answer
right arrow

More about working at CGI Group

Back
Awards Leaf
AmbitionBox Logo
Top Rated Company for Women - 2024
Awards Leaf
Awards Leaf
AmbitionBox Logo
Top Rated IT/ITES Company - 2024
Awards Leaf
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at CGI Group Java Full Stack Developer

based on 3 interviews
1 Interview rounds
Technical Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Java Full Stack Developer Interview Questions from Similar Companies

View all
Recently Viewed
INTERVIEWS
Nowfloats Technologies
5.6k top interview questions
SALARIES
Nowfloats Technologies
SALARIES
Nowfloats Technologies
REVIEWS
Nowfloats Technologies
No Reviews
INTERVIEWS
Nature's Basket
No Interviews
SALARIES
Nowfloats Technologies
REVIEWS
Nowfloats Technologies
No Reviews
INTERVIEWS
Nature's Basket
No Interviews
INTERVIEWS
Odessa
No Interviews
INTERVIEWS
Nature's Basket
No Interviews
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter