Add office photos
Employer?
Claim Account for FREE

Searce Cosourcing Services

3.2
based on 175 Reviews
Filter interviews by

20+ Genpact Interview Questions and Answers

Updated 17 Oct 2024

Q1. DSA question asked: Two types of bricks are in lengths 5 and 1, and both are in limited quantity. A target is given. Create a function with parameters - no of 5, no of 1, target. And return true if the target i...

read more
Ans.

Create a function to check if a target can be achieved using limited quantities of bricks of lengths 5 and 1.

  • Calculate the maximum number of 5-length bricks required to reach the target

  • Iterate through all possible combinations of 5-length and 1-length bricks

  • Check if the combination adds up to the target

  • Return true if achievable, false otherwise

Add your answer

Q2. Puzzle asked: 1. 5 bread slice machines are there. One of the Machines is not working and it makes 128 g slice; the rest all make 20 g slice. Determine the machine that is not working using 1 weighing scale tha...

read more
Ans.

1. Identify the bread slice machine that makes 128 g slice using 1 weighing scale. 2. Increase the population of White Fish to 99% in a pond with 200 fishes.

  • For the bread slice machine puzzle, weigh one slice from the first machine, two slices from the second machine, three slices from the third machine, and so on. The difference in weight will identify the faulty machine.

  • To increase the population of White Fish, remove one non-White Fish from the pond. This will make the pop...read more

Add your answer

Q3. Write a code for finding number of solutions for jumps problem in array.

Ans.

Code to find number of solutions for jumps problem in array.

  • Use dynamic programming to keep track of number of ways to reach each index.

  • Initialize an array to store number of ways to reach each index.

  • Iterate through the array and update the number of ways based on previous indices.

  • Return the number of ways to reach the last index.

Add your answer

Q4. What is HTML, CSS, JS?

Ans.

HTML, CSS, and JS are essential languages used in web development to create and style web pages.

  • HTML (Hypertext Markup Language) is used for creating the structure of web pages.

  • CSS (Cascading Style Sheets) is used for styling the appearance of web pages.

  • JS (JavaScript) is used for adding interactivity and dynamic behavior to web pages.

Add your answer
Discover Genpact interview dos and don'ts from real experiences

Q5. 5. Which tool you are using to do Patch management ?

Add your answer

Q6. find the longest palindromic substring in the string.

Ans.

Use dynamic programming to find the longest palindromic substring in a given string.

  • Iterate through the string and consider each character as the center of a potential palindrome

  • Expand around the center to check for palindromes of odd and even lengths

  • Keep track of the longest palindrome found

Add your answer
Are these interview questions helpful?

Q7. 13. How to monitor and maintain Alarm and Alerts to particular server and application ?

Add your answer

Q8. 3. How to configure and access private Server ( DB Instance ) ?

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. 9. What is Route53 and how to configure it ? Different Records type.

Add your answer

Q10. 10. How to recover lost key (Access key/ Key Pair)?

Add your answer

Q11. Explain a batch datapipeline that you have built?

Ans.

Built a batch datapipeline to process and analyze customer transaction data.

  • Used Apache Spark for distributed data processing

  • Ingested data from various sources like databases and files

  • Performed data cleaning, transformation, and aggregation

  • Utilized SQL for querying and analyzing data

  • Generated reports and visualizations for stakeholders

Add your answer

Q12. 2. What is VPC and why it used ? Why VPC Peering ?

Add your answer

Q13. Why dataflow is used?

Ans.

Dataflow is used to efficiently process and analyze large volumes of data in real-time.

  • Dataflow allows for parallel processing of data, enabling faster analysis and insights.

  • It provides a scalable and reliable way to handle streaming and batch data processing.

  • Dataflow can be used for tasks such as ETL (Extract, Transform, Load), real-time analytics, and machine learning.

  • It helps in managing and optimizing data pipelines for better performance and resource utilization.

Add your answer

Q14. 8. Why Load balancing and how to configure ?

Add your answer

Q15. 7. Port numbers for SSH, HTTP, HTTPS, RDS (DB) etc.

Add your answer

Q16. 11. How to check open ports on Linux ?

Add your answer

Q17. 4. S3 different storage classes and bucket policies.

Add your answer

Q18. 12. Difference between SG and NACL.

Add your answer

Q19. data migration from on-premise to gcp

Ans.

Data migration from on-premise to GCP involves transferring data from local servers to Google Cloud Platform.

  • Assess the data to be migrated, including volume, complexity, and dependencies.

  • Choose the appropriate migration method - lift and shift, re-platforming, or re-architecting.

  • Utilize GCP tools like Transfer Appliance, Storage Transfer Service, or Data Transfer Service for efficient migration.

  • Ensure data security and compliance during the migration process.

  • Test the migrate...read more

Add your answer

Q20. What is terraform

Ans.

Terraform is an open-source infrastructure as code software tool created by HashiCorp.

  • Terraform allows users to define and provision infrastructure using a declarative configuration language.

  • It supports multiple cloud providers such as AWS, Azure, and Google Cloud Platform.

  • Terraform manages infrastructure resources as code, enabling automation and version control.

  • It helps in creating, updating, and deleting infrastructure resources efficiently.

  • Terraform uses a state file to k...read more

Add your answer

Q21. What is ansbible

Ans.

Ansible is an open-source automation tool used for configuration management, application deployment, and orchestration.

  • Ansible uses YAML syntax for its playbooks

  • It does not require agents to be installed on managed nodes

  • Ansible can automate tasks across multiple servers simultaneously

Add your answer

Q22. What is jdbc explain in detail

Ans.

JDBC (Java Database Connectivity) is an API for connecting Java programs to databases.

  • JDBC allows Java programs to interact with databases using SQL queries.

  • It provides a set of classes and interfaces for database operations.

  • JDBC drivers enable communication between Java applications and databases.

  • Common JDBC methods include getConnection(), createStatement(), executeQuery(), etc.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Genpact

based on 16 interviews in the last 1 year
Interview experience
4.1
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.9
 • 1.4k Interview Questions
3.9
 • 392 Interview Questions
3.8
 • 169 Interview Questions
3.9
 • 151 Interview Questions
3.3
 • 145 Interview Questions
3.7
 • 144 Interview Questions
View all
Top Searce Cosourcing Services Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

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