i
Capgemini
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
About basic test of knowledge on english & general knowledge
What people are saying about Capgemini
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Circuit breaker is a design pattern used in software development to prevent system failures by temporarily stopping requests to a failing service.
Circuit breaker monitors the number of failures and opens when a threshold is reached.
When the circuit is open, requests are not sent to the failing service, preventing further failures.
After a specified time, the circuit breaker closes and allows requests to be sent again.
Ex...
Frequency of occurrence of words in a given text can be calculated by counting each word and storing it in a data structure.
Split the text into words using whitespace as delimiter
Create a map to store word frequencies
Iterate through the words and update the frequency count in the map
Return the map with word frequencies
Spring Boot can work with two databases by configuring multiple data sources and using @Primary annotation.
Configure multiple data sources in application.properties or application.yml
Use @Primary annotation to specify the primary data source
Use @Qualifier annotation to specify the secondary data source
Example: @Configuration @EnableTransactionManagement public class DatabaseConfig { @Primary @Bean(name = "primaryDataSo...
Capgemini interview questions for designations
Our project architecture follows a microservices design pattern with a front-end client communicating with multiple back-end services.
Front-end client built using Angular framework
Back-end services developed in Java using Spring Boot
Communication between services through RESTful APIs
Database layer implemented using MySQL
Containerized deployment using Docker and managed with Kubernetes
Spring Security is a powerful and customizable authentication and access control framework for Java applications.
Provides authentication and authorization capabilities for Java applications
Integrates with Spring Framework for easy configuration and usage
Supports various authentication mechanisms like form-based, basic, OAuth, etc.
Allows for fine-grained access control through roles and permissions
Can be easily extended...
Global exception handling in Spring Boot can be achieved using @ControllerAdvice and @ExceptionHandler annotations.
Create a class annotated with @ControllerAdvice to handle global exceptions
Define methods in this class annotated with @ExceptionHandler for specific exception types
Return a ResponseEntity with appropriate status code and error message in the @ExceptionHandler methods
Circuit breaker pattern is a design pattern used in software development to prevent system failures and improve resilience.
Circuit breaker pattern is used to handle faults in distributed systems.
It monitors for failures and trips when a threshold is reached, preventing further requests.
Once the circuit breaker trips, it can be configured to allow some requests through to check if the system has recovered.
If the system ...
Get interview-ready with Top Capgemini Interview Questions
I applied via Approached by Company and was interviewed in Jul 2024. There was 1 interview round.
Static binding is resolved at compile time, while dynamic binding is resolved at runtime.
Static binding is also known as early binding, where the method call is resolved at compile time based on the type of reference variable.
Dynamic binding is also known as late binding, where the method call is resolved at runtime based on the actual object type.
Example of static binding: method overloading.
Example of dynamic binding
Functional interface is an interface with only one abstract method, used for lambda expressions.
Functional interface can have multiple default or static methods.
It can also have methods from Object class, like equals(), hashCode(), etc.
Example: java.util.function.Function is a functional interface with apply() method.
Types of indexes in SQL include clustered, non-clustered, unique, and composite indexes.
Clustered index physically reorders the table based on the index key
Non-clustered index creates a separate structure for the index
Unique index ensures that no two rows have the same key values
Composite index uses multiple columns as the index key
Merge two arrays of strings into a single array
Create a new array with the combined length of the two input arrays
Copy elements from the first array to the new array
Copy elements from the second array to the new array starting from the end of the first array
Remove vowels from a given string to get the original name back.
Create a function to iterate through each character of the string
Check if the character is a vowel (a, e, i, o, u) and remove it
Return the modified string
Use SQL query with MOD function to get even row data
Use MOD function to filter out even rows
Example: SELECT * FROM table_name WHERE MOD(row_number, 2) = 0;
Constants in SQL are values that remain the same throughout the execution of a query or program.
Constants can be defined using the 'CONST' keyword in SQL.
They are used to store values that do not change during the execution of a query.
Constants can be used in WHERE clauses, JOIN conditions, and other parts of a SQL query.
Example: CONST MAX_VALUE = 100;
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Filter employees with salary > 25,000 and department IT using Java 8.
Use Java 8 stream API to filter employees based on salary and department.
Use lambda expressions to define the filtering criteria.
Example: employees.stream().filter(e -> e.getSalary() > 25000 && e.getDepartment().equals("IT")).collect(Collectors.toList());
The interview questions cover a wide range of topics including design patterns, exception handling, Hibernate, MongoDB, Java collections, Spring framework, and microservices.
Design patterns like markers interface, functional interface, and Singleton pattern are important in Java development.
Understanding exception handling with try-catch-finally blocks is crucial for handling errors in Java applications.
Knowing the dif...
2 Interview rounds
based on 83 reviews
Rating in categories
Consultant
55.2k
salaries
| ₹5.2 L/yr - ₹18 L/yr |
Associate Consultant
52k
salaries
| ₹2.9 L/yr - ₹11.8 L/yr |
Senior Consultant
46k
salaries
| ₹7.5 L/yr - ₹25 L/yr |
Senior Analyst
20.6k
salaries
| ₹2 L/yr - ₹9 L/yr |
Senior Software Engineer
19.9k
salaries
| ₹3.5 L/yr - ₹12.1 L/yr |
Wipro
Accenture
Cognizant
TCS