Add office photos
Engaged Employer

Capgemini

3.7
based on 40.4k Reviews
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by

Good Search Knowledge Network Interview Questions and Answers

Updated 5 Feb 2024
Popular Designations

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

Add your answer

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

View 1 answer

Q3. 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 processes.

  • Consider network traffic and disk I/O as potential ...read more

Add your answer

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

Add your answer
Discover Good Search Knowledge Network interview dos and don'ts from real experiences

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

Add your answer

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

  • git checkout - switch between branches or restore files

  • git ...read more

Add your answer

Q7. 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 data source.

  • Dynamic inventory can be configured using plugin...read more

Add your answer

Q8. 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 continuous delivery.

  • Example: Build -> Test -> Deploy -> Notify

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
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

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