Upload Button Icon Add office photos

Genpact

Compare button icon Compare button icon Compare

Proud winner of ABECA 2025 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Genpact Devops Interview Questions and Answers

Updated 17 Nov 2020

7 Interview questions

A Devops was asked
Q. How would you set up a simple testing environment and deployment pipeline for a microservice architecture application using Kubernetes, containers, Jenkins, and available Cloud services?
Ans. 

Setup microservice testing and deployment using Kubernetes, containers, Jenkins, and Cloud services.

  • Create a Kubernetes cluster on a Cloud provider

  • Build Docker containers for each microservice

  • Create a Jenkins pipeline for testing and deployment

  • Use Kubernetes to deploy and manage the containers

  • Use Cloud services for load balancing, monitoring, and scaling

A Devops was asked
Q. How can you send an email with an attachment using PowerShell?
Ans. 

Send email with attachment using PowerShell

  • Use Send-MailMessage cmdlet

  • Specify recipient, subject, body and attachment parameters

  • Example: Send-MailMessage -To 'example@email.com' -Subject 'Test Email' -Body 'This is a test email' -Attachments 'C:\test.txt'

Devops Interview Questions Asked at Other Companies

asked in Housing.com
Q1. How would you kill all Java processes using a single command?
asked in Genpact
Q2. How would you set up a simple testing environment and deployment ... read more
asked in Genpact
Q3. How can you execute CMD commands using Python in a Windows enviro ... read more
asked in Genpact
Q4. Have you tackled a day-to-day problem using automation? If yes, t ... read more
asked in Capgemini
Q5. How do you delete the last 30 days of logs in Tomcat using a shel ... read more
A Devops was asked
Q. What is a namespace in Docker?
Ans. 

Namespace in Docker is a way to isolate resources and avoid naming conflicts.

  • Namespaces provide a layer of isolation for containers

  • Each namespace has its own set of resources

  • Namespaces can be used for network, process, and mount isolation

  • Example: docker run --name mycontainer --net=container:othercontainer myimage

A Devops was asked
Q. What is the difference between deep and shallow copy in Python?
Ans. 

Deep copy creates a new object with a new memory address while shallow copy creates a new object with the same memory address as the original object.

  • Deep copy creates a completely new object with a new memory address.

  • Shallow copy creates a new object with the same memory address as the original object.

  • In deep copy, changes made to the copied object do not affect the original object.

  • In shallow copy, changes made to...

What people are saying about Genpact

View All
a digital marketer
6d
Do you think they're gonna work on employees' work-life balance, OR for just publicity?
Infosys, Infosys, TCS, Genpact Revise Workplace Policies Infosys is sending a warning mail, if an employee overshoots the daily limit while working remotely, the system triggers a notification Genpact introduced a new policy to log in before 11 am But will these companies really change, or is it just a show to mask their issues?
FeedCard Image
Got a question about Genpact?
Ask anonymously on communities.
A Devops was asked
Q. How do you install IIS using PowerShell?
Ans. 

To install IIS using PowerShell, use the Install-WindowsFeature cmdlet.

  • Open PowerShell as an administrator

  • Run the command: Install-WindowsFeature -name Web-Server -IncludeManagementTools

  • Press 'Y' to confirm installation

  • Wait for the installation to complete

A Devops was asked
Q. How can you execute CMD commands using Python in a Windows environment?
Ans. 

To run cmd commands using python on windows, use the subprocess module.

  • Import the subprocess module

  • Use the subprocess.run() method to execute the command

  • Pass the command as a list of strings to the run() method

  • Use the shell=True argument to run the command in a shell environment

  • Capture the output of the command using the stdout attribute of the returned CompletedProcess object

A Devops was asked
Q. Have you tackled a day-to-day problem using automation? If yes, then tell me about the problem and solution.
Ans. 

Automated server monitoring reduced downtime and improved response time for critical issues in our infrastructure.

  • Identified frequent server downtime as a major issue affecting productivity.

  • Implemented a monitoring tool (e.g., Prometheus) to track server health metrics.

  • Set up automated alerts to notify the team of any anomalies or performance degradation.

  • Created scripts to automatically restart services that went ...

Are these interview questions helpful?

Genpact Devops Interview Experiences

1 interview found

Devops Interview Questions & Answers

user image Anonymous

posted on 17 Nov 2020

I applied via Naukri.com and was interviewed in May 2020. There were 3 interview rounds.

Interview Questionnaire 

8 Questions

  • Q1. How to run cmd commands using python on windows environment ?
  • Ans. 

    To run cmd commands using python on windows, use the subprocess module.

    • Import the subprocess module

    • Use the subprocess.run() method to execute the command

    • Pass the command as a list of strings to the run() method

    • Use the shell=True argument to run the command in a shell environment

    • Capture the output of the command using the stdout attribute of the returned CompletedProcess object

  • Answered by AI
  • Q2. What is difference between deep and shallow copy in python paradigm?
  • Ans. 

    Deep copy creates a new object with a new memory address while shallow copy creates a new object with the same memory address as the original object.

    • Deep copy creates a completely new object with a new memory address.

    • Shallow copy creates a new object with the same memory address as the original object.

    • In deep copy, changes made to the copied object do not affect the original object.

    • In shallow copy, changes made to the ...

  • Answered by AI
  • Q3. What is namespace in Docker ?
  • Ans. 

    Namespace in Docker is a way to isolate resources and avoid naming conflicts.

    • Namespaces provide a layer of isolation for containers

    • Each namespace has its own set of resources

    • Namespaces can be used for network, process, and mount isolation

    • Example: docker run --name mycontainer --net=container:othercontainer myimage

  • Answered by AI
  • Q4. Have you tackled a day to day problem using automation ? If yes then tell the problem and solution.
  • Ans. 

    Automated server monitoring reduced downtime and improved response time for critical issues in our infrastructure.

    • Identified frequent server downtime as a major issue affecting productivity.

    • Implemented a monitoring tool (e.g., Prometheus) to track server health metrics.

    • Set up automated alerts to notify the team of any anomalies or performance degradation.

    • Created scripts to automatically restart services that went down,...

  • Answered by AI
  • Q5. How can you send email with attachment using powershell ?
  • Ans. 

    Send email with attachment using PowerShell

    • Use Send-MailMessage cmdlet

    • Specify recipient, subject, body and attachment parameters

    • Example: Send-MailMessage -To 'example@email.com' -Subject 'Test Email' -Body 'This is a test email' -Attachments 'C:\test.txt'

  • Answered by AI
  • Q6. How to install IIS using powershell ?
  • Ans. 

    To install IIS using PowerShell, use the Install-WindowsFeature cmdlet.

    • Open PowerShell as an administrator

    • Run the command: Install-WindowsFeature -name Web-Server -IncludeManagementTools

    • Press 'Y' to confirm installation

    • Wait for the installation to complete

  • Answered by AI
  • Q7. How will you setup a microservice architecture application simple testing environment and deployment pipeline using kubernetes, containers, jenkins and available Cloud services.
  • Ans. 

    Setup microservice testing and deployment using Kubernetes, containers, Jenkins, and Cloud services.

    • Create a Kubernetes cluster on a Cloud provider

    • Build Docker containers for each microservice

    • Create a Jenkins pipeline for testing and deployment

    • Use Kubernetes to deploy and manage the containers

    • Use Cloud services for load balancing, monitoring, and scaling

  • Answered by AI
  • Q8. What is special variable in powershell ?

Interview Preparation Tips

Interview preparation tips for other job seekers - Most of these questions were asked because I specifically mentioned that I had hands on experience in Python, Powershell and Docker. Goind for the role of Devops, It is a must to have good knowledge about well known Cloud service provider and its services, so as to come with a Devops solution in setting up Testing and Production ready environments making use of available cloud services provided.

Skills evaluated in this interview

Interview questions from similar companies

I applied via Naukri.com and was interviewed in Dec 2020. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. App service configuration, security mechanism, CI/CD pipeline, container, how to deploy in azure using Azure devops specially how it authenticate... questions will be based on the tools and technologies ...

Interview Preparation Tips

Interview preparation tips for other job seekers - Must check the configuration of the services which you mentioned in resume.

I applied via Naukri.com and was interviewed before May 2020. There were 3 interview rounds.

Interview Questionnaire 

5 Questions

  • Q1. How to integrate Maven with jenkins
  • Ans. 

    Integrating Maven with Jenkins

    • Install Maven plugin in Jenkins

    • Configure Maven installation in Jenkins global tool configuration

    • Create a new Jenkins job and select Maven project

    • Specify the path to the pom.xml file in the project configuration

    • Configure build triggers and other settings as required

  • Answered by AI
  • Q2. What are the git commands
  • Ans. 

    Git commands are used to manage version control of code repositories.

    • git init - initialize a new repository

    • git add - add changes to the staging area

    • git commit - commit changes to the repository

    • git push - push changes to a remote repository

    • git pull - pull changes from a remote repository

    • git clone - clone a remote repository

    • git branch - create, list, or delete branches

    • git merge - merge changes from one branch to another

    • g...

  • Answered by AI
  • Q3. Explain Jenkis pipeline job
  • Ans. 

    Jenkins pipeline job is a way to define a series of steps to be executed in a specific order.

    • Pipeline job is defined using a Jenkinsfile or a script in the Jenkins UI.

    • It consists of stages, which are a collection of steps.

    • Each step can be a shell command, a script, or a plugin.

    • Pipeline job can be triggered manually or automatically based on events.

    • It provides visibility into the entire build process and enables continu...

  • Answered by AI
  • Q4. AWS services
  • Q5. Shell script

Interview Preparation Tips

Interview preparation tips for other job seekers - it was good interview face real-time based questions and answered well

Skills evaluated in this interview

I applied via Naukri.com and was interviewed in Apr 2020. There were 4 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Technical questions about the CICD process and kubernetes.

Interview Preparation Tips

Interview preparation tips for other job seekers - It is at a deep level. Prepare well for it.

Devops Interview Questions & Answers

TCS user image Kamal Hist

posted on 28 May 2021

I applied via Naukri.com and was interviewed in Nov 2020. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Question related to architecture and kubernetes

Interview Preparation Tips

Interview preparation tips for other job seekers - Focus mainly on fundamental concept of programming and architecture related questions

I applied via Approached by Company and was interviewed in Jan 2022. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. Discussed about the AWS and DevOps topics and move to another round
Round 2 - Technical 

(1 Question)

  • Q1. Same question repeated in Second round as well

Interview Preparation Tips

Interview preparation tips for other job seekers - But time-wasting process after selected candidates they don't even call for further process

Devops Interview Questions & Answers

TCS user image Anonymous

posted on 21 Apr 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Oct 2023. There were 2 interview rounds.

Round 1 - One-on-one 

(1 Question)

  • Q1. What is devops?
  • Ans. 

    DevOps is a software development methodology that combines software development (Dev) with IT operations (Ops) to improve collaboration and productivity.

    • DevOps focuses on automating and streamlining the software development process.

    • It emphasizes communication and collaboration between development and operations teams.

    • DevOps aims to shorten the system development life cycle and provide continuous delivery of high-qualit...

  • Answered by AI
Round 2 - HR 

(1 Question)

  • Q1. Where do you see yourself in 5 years

Skills evaluated in this interview

Devops Interview Questions & Answers

Capgemini user image Ajit Kalshetti

posted on 21 Feb 2025

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
Not Selected
Round 1 - Technical 

(1 Question)

  • Q1. Git, terraform , Azure services , Python
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. What is kops cluster
  • Ans. 

    Kops is a tool for managing Kubernetes clusters on AWS, simplifying the deployment and maintenance of Kubernetes environments.

    • Kops stands for Kubernetes Operations, designed to create, destroy, upgrade, and maintain Kubernetes clusters.

    • It automates the provisioning of AWS resources needed for a Kubernetes cluster, such as EC2 instances and networking.

    • Kops supports both production and development clusters, allowing for ...

  • Answered by AI
  • Q2. How will you configure high availability structure
  • Ans. 

    High availability ensures system uptime through redundancy and failover mechanisms, minimizing downtime and service interruptions.

    • Use load balancers to distribute traffic across multiple servers, e.g., AWS Elastic Load Balancing.

    • Implement active-passive or active-active clustering for database redundancy, e.g., MySQL Group Replication.

    • Utilize container orchestration tools like Kubernetes for automated failover and scal...

  • Answered by AI

Skills evaluated in this interview

Interview Questionnaire 

5 Questions

  • Q1. How do you configure ssl certification with tomcat
  • Ans. 

    SSL certification can be configured with Tomcat by generating a keystore file and configuring the server.xml file.

    • Generate a keystore file using keytool command

    • Configure the server.xml file to include the keystore file and password

    • Update the connector element in server.xml to include the SSL protocol and port number

    • Restart Tomcat to apply the changes

  • Answered by AI
  • Q2. Explain dynamic inventory in ansible
  • Ans. 

    Dynamic inventory is a feature in Ansible that allows for automatic inventory updates based on external data sources.

    • Dynamic inventory can be configured to pull inventory information from sources such as cloud providers, configuration management databases, or custom scripts.

    • This allows for more flexible and scalable inventory management, as hosts can be added or removed automatically based on changes in the external da...

  • Answered by AI
  • Q3. How do you delete last 30 days logs in tomcat by using shell script
  • Ans. 

    Deleting last 30 days logs in Tomcat using shell script

    • Use find command to locate files older than 30 days

    • Use xargs command to pass the file names to rm command

    • Use crontab to schedule the script to run periodically

  • Answered by AI
  • Q4. How you can identify which process cause your server got slow
  • Ans. 

    To identify the process causing server slowness, use monitoring tools and analyze system logs.

    • Use monitoring tools like Nagios, Zabbix, or Prometheus to track system performance metrics.

    • Analyze system logs to identify any errors or warnings related to specific processes.

    • Check CPU and memory usage of running processes using tools like top or htop.

    • Use profiling tools like strace or perf to identify resource-intensive pro...

  • Answered by AI
  • Q5. What are the stages you regularly write in pipeline job in Jenkins
  • Ans. 

    Stages in pipeline job in Jenkins

    • Checkout code from version control system

    • Build the code

    • Run unit tests

    • Deploy to staging environment

    • Run integration tests

    • Deploy to production environment

    • Send notification email

  • Answered by AI

Skills evaluated in this interview

Genpact Interview FAQs

How to prepare for Genpact Devops interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Genpact. The most common topics and skills that interviewers at Genpact expect are Devops, Docker, Jenkins, Azure and Java.
What are the top questions asked in Genpact Devops interview?

Some of the top questions asked at the Genpact Devops interview -

  1. How will you setup a microservice architecture application simple testing envir...read more
  2. How to run cmd commands using python on windows environmen...read more
  3. have you tackled a day to day problem using automation ? If yes then tell the p...read more

Tell us how to improve this page.

Devops Interview Questions from Similar Companies

TCS Devops Interview Questions
3.6
 • 6 Interviews
Infosys Devops Interview Questions
3.6
 • 3 Interviews
Nagarro Devops Interview Questions
4.0
 • 2 Interviews
Wipro Devops Interview Questions
3.7
 • 1 Interview
View all
Process Developer
38.1k salaries
unlock blur

₹2.4 L/yr - ₹7.1 L/yr

Process Associate
29k salaries
unlock blur

₹1.8 L/yr - ₹4.9 L/yr

Management Trainee
22.3k salaries
unlock blur

₹4.2 L/yr - ₹8.6 L/yr

Assistant Manager
22k salaries
unlock blur

₹6 L/yr - ₹13.5 L/yr

Manager
7.8k salaries
unlock blur

₹10.9 L/yr - ₹19 L/yr

Explore more salaries
Compare Genpact with

Accenture

3.7
Compare

Capgemini

3.7
Compare

TCS

3.6
Compare

Cognizant

3.7
Compare
write
Share an Interview