Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Cognizant Team. If you also belong to the team, you can get access from here

Cognizant Verified Tick

Compare button icon Compare button icon Compare

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Cognizant Devops Interview Questions and Answers

Updated 17 Jan 2021

Cognizant Devops Interview Experiences

1 interview found

Devops Interview Questions & Answers

user image Anonymous

posted on 17 Jan 2021

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.

Devops Jobs at Cognizant

View all

Interview questions from similar companies

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

Devops Interview Questions & Answers

LTIMindtree user image PHILEMON KURUVILLA

posted on 6 Feb 2023

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Recruitment Consulltant and was interviewed before Feb 2022. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Telephonic Call 

(3 Questions)

  • Q1. What is Kubernettes ?
  • Ans. 

    Kubernetes is an open-source container orchestration platform that automates the deployment, scaling, and management of containerized applications.

    • Kubernetes is used to manage and automate the deployment of containerized applications.

    • It provides features like automatic scaling, load balancing, and self-healing.

    • Kubernetes allows for easy management of containers across multiple hosts and clusters.

    • It provides declarative...

  • Answered by AI
  • Q2. What is a container and why is the use?
  • Ans. 

    A container is a lightweight, standalone executable package that contains everything needed to run an application.

    • Containers provide a consistent and reproducible environment for applications to run in.

    • They are isolated from the host system and other containers, providing security and portability.

    • Containers can be easily deployed and scaled, making them ideal for modern application development and deployment.

    • Examples o...

  • Answered by AI
  • Q3. Containers allow process to run in an isolated environment with its own virtual memory, CPU and storage.It differ from virtual machines such that unlike the OS being virtulaized , the folder that are call...

Interview Preparation Tips

Topics to prepare for LTIMindtree Devops interview:
  • Virtualization.
  • Containers
  • Load Balancing
  • Clusters
Interview preparation tips for other job seekers - Read more on Dockers ,Virtulaization, VDI and Clusters.

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

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 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.
  • 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 Questionnaire 

1 Question

  • Q1. Few from DevOps like git, jenkins, maven lifecycle, maven build vs install lifecycle, type of version control system and few questions based on my past experience in Infra domain.

I applied via Naukri.com and was interviewed in Jul 2022. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

They conducted an aptitude test and it was based on math and English basic and general knowledge

Round 3 - Coding Test 

Based on your skill set they gave you assignments and based on the deadline you have to submit

Interview Preparation Tips

Interview preparation tips for other job seekers - be prepared based on your skill set and be positive while your interview and don't loose your confidance

I applied via Company Website and was interviewed in Mar 2022. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(1 Question)

  • Q1. What is Docker and its advantages . Which is the most secure docker image
  • Ans. 

    Docker is a containerization platform that allows developers to package and deploy applications in a portable manner.

    • Advantages include: faster deployment, improved scalability, reduced infrastructure costs, and increased consistency across environments.

    • The most secure Docker image is one that is regularly updated with security patches and has minimal dependencies.

    • Examples of secure Docker images include those from off...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Make your Baiscs strong and always be confident on your project which you have completed.

Skills evaluated in this interview

Devops Interview Questions & Answers

TCS user image Mahima Erukulla

posted on 23 Sep 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
No response
Round 1 - Technical 

(4 Questions)

  • Q1. Difference between git merge and git rebase
  • Ans. 

    Git merge combines changes from different branches, while git rebase rewrites commit history by moving the current branch to the tip of another branch.

    • Git merge creates a new commit with the combined changes of the branches being merged.

    • Git rebase moves the current branch to the tip of another branch, replaying the commits on top of it.

    • Merge preserves the commit history of both branches, while rebase creates a linear h...

  • Answered by AI
  • Q2. Difference between s3 and ebs
  • Ans. 

    S3 is object storage while EBS is block storage in AWS.

    • S3 is suitable for storing large amounts of unstructured data like images, videos, and backups.

    • EBS is used for storing data that requires frequent updates and access, like databases.

    • S3 is scalable and durable, while EBS is persistent and can be attached to a single EC2 instance.

    • S3 is accessed over HTTP/HTTPS, while EBS is accessed as a block device within an EC2 in

  • Answered by AI
  • Q3. What is the default monitoring time in aws cloud watch
  • Ans. 

    The default monitoring time in AWS CloudWatch is 5 minutes.

    • Default monitoring time in AWS CloudWatch is 5 minutes

    • Can be changed to 1 minute for detailed monitoring

    • Monitoring intervals can be adjusted based on requirements

  • Answered by AI
  • Q4. How to solve merge conflicts
  • Ans. 

    Merge conflicts can be solved by resolving the conflicting changes, committing the resolved changes, and then pushing the changes to the repository.

    • Pull the latest changes from the remote repository

    • Locate the conflicting files and resolve the conflicts manually

    • Add the resolved files to the staging area

    • Commit the changes with a message explaining how the conflicts were resolved

    • Push the changes to the remote repository

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - I was n't selected be prepared for basics

Skills evaluated in this interview

Cognizant Interview FAQs

How to prepare for Cognizant 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 Cognizant. The most common topics and skills that interviewers at Cognizant expect are Devops, Kubernetes, DevOps, Terraform and Docker.

Tell us how to improve this page.

Devops Interview Questions from Similar Companies

TCS Devops Interview Questions
3.7
 • 6 Interviews
Infosys Devops Interview Questions
3.6
 • 3 Interviews
Wipro Devops Interview Questions
3.7
 • 1 Interview
View all
Cognizant Devops Salary
based on 13 salaries
₹4.8 L/yr - ₹18.9 L/yr
9% less than the average Devops Salary in India
View more details

Cognizant Devops Reviews and Ratings

based on 2 reviews

3.0/5

Rating in categories

3.8

Skill development

1.4

Work-life balance

3.8

Salary

1.4

Job security

1.4

Company culture

2.2

Promotions

1.4

Work satisfaction

Explore 2 Reviews and Ratings
Azure / AWS Devops

Hyderabad / Secunderabad,

Pune

9-12 Yrs

Not Disclosed

Azure / AWS Devops

Hyderabad / Secunderabad,

Pune

4-9 Yrs

₹ 8.2-34 LPA

Azure / AWS Devops

Chennai,

Bangalore / Bengaluru

9-12 Yrs

Not Disclosed

Explore more jobs
Associate
72.1k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Programmer Analyst
55.5k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Associate
48.9k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Processing Executive
28.9k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Technical Lead
17.5k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Cognizant with

TCS

3.7
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare

Accenture

3.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview