Table of Contents
DevOps interviews can include different types of questions. Some may be simple questions about tools and commands. Others may give you a problem and ask how you would handle it.
It is not enough to know only the meaning of a tool. You should also know where and why it is used. This is especially useful for tools like Git, Jenkins, Docker, Kubernetes, and Terraform.
The interviewer may also ask about your project. You may need to explain your role, the tools you used, and a problem you faced while working on it.
Key Takeaways:
- Know the basic ideas behind DevOps.
- Practise Git and CI/CD concepts.
- Revise Docker and Kubernetes basics.
- Learn common AWS and Azure services.
- Understand Terraform and Linux commands.
- Practise questions based on real work problems.
Infosys DevOps Interview Process
The interview process can be different for each role. It can also depend on your experience.
You may first have a screening or assessment. A technical discussion can follow. Some roles may include another technical, managerial, or HR round.
For a DevOps position, the technical round may cover areas such as:
- DevOps basics
- Git and GitHub
- CI/CD
- Jenkins
- Docker
- Kubernetes
- AWS or Azure
- Terraform
- Linux
- Shell scripting
- Monitoring
- Security
Your resume can play an important part too.
If you have added a tool to your resume, know the basics of that tool. If you have mentioned a project, be ready to explain what you did in it.
DevOps Interview Questions for Freshers
Freshers are usually expected to know the basic ideas of DevOps. The questions may start with simple concepts.
1. What is DevOps?
DevOps is a way of bringing development and operations work closer.
Developers work on the application. The operations team looks after running it.
DevOps also uses automation to make tasks such as testing and deployment easier.
2. What is Continuous Integration?
Continuous Integration, or CI, means checking new code changes regularly.
When code is pushed, a CI system can build the application and run tests.
Problems can be found before the code moves further.
3. What is a CI/CD pipeline?
A CI/CD pipeline is a set of steps used to move code from development towards release.
For example, it may:
- Get the latest code
- Build the application
- Run tests
- Create a package or image
- Deploy it
The exact steps can change from one project to another.
4. Why is Git used in DevOps?
Git keeps track of changes made to project files.
Developers can work on separate branches. Changes can later be reviewed and merged.
It also keeps the history of the project.
Learn & Master DevOps with Entri. Enrol now!
DevOps Interview Questions for Experienced Professionals
Experienced candidates may get questions that are closer to real project work.
The interviewer may ask about a tool, a command, or a problem that you handled.
Git & GitHub Questions
1. What is git rebase?
git rebase moves your branch changes on top of another branch.
It can make the project history cleaner.
It should be used carefully when working with shared branches because it changes commit history.
2. What is a remote repository?
A remote repository is a Git repository stored somewhere outside the local computer.
GitHub, GitLab, and Bitbucket are common examples.
It lets team members share code and work together.
3. What is a Git tag?
A Git tag gives a name to a specific commit.
Tags are often used to mark versions.
For example, a project can have tags such as v1.0 or v2.0.
4. What does git clone do?
git clone creates a local copy of a remote repository.
It downloads the project files along with the Git history.
The local copy can then be used for development.
CI/CD & Jenkins Questions
1. Why is a pipeline divided into stages?
Different tasks are easier to manage when they are kept in separate stages.
For example, build, test, and deployment can be separate stages.
If a test fails, the pipeline can stop before deployment.
2. What is a Jenkins job?
A Jenkins job is a task configured in Jenkins.
It can perform work such as building code, running tests, or deploying an application.
A job can also be started automatically when a new code change is detected.
3. What is Jenkins used for in a DevOps project?
Jenkins can automate parts of the software delivery process.
It can connect with Git repositories, build tools, testing tools, Docker, and deployment systems.
The exact setup depends on the project.
4. A Jenkins build fails suddenly. What would you check first?
Check the console output of the failed build.
Look for the first useful error message.
Then check recent code changes, dependencies, credentials, environment settings, and the build machine.
It is better to find the first real error instead of changing many things at once.
Docker Interview Questions
1. Why are Docker containers used?
A container packages an application along with what it needs to run.
This makes it easier to run the same application in different environments.
Containers are also usually lighter than full virtual machines.
2. What is the difference between docker stop and docker rm?
docker stop stops a running container.
It does not remove the container.
docker rm removes a stopped container.
3. What is a Docker registry?
A Docker registry stores Docker images.
An image can be pushed to a registry and later pulled by another machine.
Docker Hub is one example of a container registry.
4. How do you see Docker container logs?
Use:
docker logs <container-name>
The command shows output produced by the container.
It can be useful when an application inside the container is not working properly.
Kubernetes Interview Questions
1. What is the purpose of kubectl?
kubectl is a command-line tool used to work with a Kubernetes cluster.
It can be used to view Pods, create resources, check services, and inspect problems.
For example:
kubectl get pods
shows the Pods in the selected environment.
2. What is a Kubernetes Node?
A Node is a machine that provides resources for running Kubernetes workloads.
It can be a virtual or physical machine.
Pods are scheduled to run on Nodes.
3. What is a Kubernetes Ingress?
Ingress manages external access to applications running inside a Kubernetes cluster.
It can route incoming requests to different services.
For example, different website paths can be sent to different applications.
4. What is a readiness probe?
A readiness probe checks whether an application is ready to receive traffic.
If the check fails, Kubernetes can stop sending traffic to that Pod.
This is different from a liveness check, which looks at whether the application is still running.
AWS/Azure & Cloud Questions
1. What is Amazon CloudWatch?
CloudWatch is an AWS monitoring service.
It can collect metrics and logs from cloud resources and applications.
Alerts can also be created when a chosen condition is reached.
2. What is AWS S3 lifecycle management?
S3 lifecycle rules can move or delete objects based on set conditions.
For example, older files can be moved to a lower-cost storage class.
This can be useful when a project stores a large number of files.
3. What is an Azure Virtual Network?
An Azure Virtual Network provides a private network for Azure resources.
It allows resources to communicate with each other.
Network rules can also control which traffic is allowed.
4. What is cloud load balancing?
A load balancer receives incoming requests and sends them to available servers or application instances.
This prevents all requests from going to one server.
It can also help keep an application available when one server has a problem.
Terraform & Infrastructure as Code Questions
1. Why is Terraform called an Infrastructure as Code tool?
Terraform lets infrastructure be described in configuration files.
Instead of creating every resource manually, the required setup can be written as code.
Terraform can then use that code to create or change the resources.
2. What does terraform apply do?
terraform apply carries out the changes shown in the Terraform plan.
It can create, update, or remove resources.
The planned changes should be checked before applying them.
3. What is terraform init?
terraform init prepares a Terraform working directory.
It can download the required providers and set up other Terraform components.
It is normally run before planning or applying a new configuration.
4. Why should Terraform state be protected?
Terraform state can contain important information about infrastructure.
In some cases, it can also contain sensitive values.
For team projects, remote state storage with suitable access controls is commonly used.
Linux & Shell Scripting Questions
1. How do you view the last lines of a log file?
Use:
tail
For example:
tail -f app.log
can show new lines as they are added to the file.
This is useful when watching an application log during troubleshooting.
2. How do you find a file in Linux?
The find command can search for files and directories.
For example:
find /var/log -name "*.log"
searches for files ending with .log under /var/log.
3. What does grep do?
grep searches for text inside files or command output.
For example:
grep "failed" app.log
looks for lines containing the word failed.
4. What is an environment variable?
An environment variable stores a value that a program can read while it is running.
It can contain values such as a server address or application mode.
Sensitive values should be handled through proper secret management rather than exposed in scripts or source code.
DevOps Scenario-Based Questions
The interviewer may give a situation instead of asking for a definition. The answer should show how the problem would be checked.
1. A website becomes slow after a new release. What will you check?
Start by checking when the slowdown began.
Look at application logs, CPU use, memory, response time, and error rates.
Compare the new release with the previous version.
If the problem started only after the release, the recent changes should also be checked.
2. A deployment gets stuck halfway. What will you do?
Check the pipeline log first.
Find the stage where it stopped.
Then check the deployment server, credentials, network connection, application status, and error message.
Do not restart everything without finding the reason.
3. A Docker container exits immediately after starting. What will you check?
Check the container status.
Then view its logs using:
docker logs <container-name>
Also check the command used to start the container and whether the application inside it is failing.
4. A Kubernetes Pod stays in Pending status. What could be wrong?
Check the Pod details with:
kubectl describe pod <pod-name>
The cluster may not have enough resources.
There may also be an issue with scheduling rules, storage, or other configuration.
The events shown in the output can give more information.
5. A Terraform plan wants to change a resource that was not changed manually. What will you check?
First, review the Terraform plan.
Then check the configuration and state.
Look at recent code changes and compare them with the actual cloud resource.
Do not apply the plan until the unexpected change is understood.
Monitoring, Security & DevSecOps Questions
DevOps work also includes keeping systems visible and protecting applications.
1. What is an uptime check?
An uptime check regularly checks whether a service can be reached.
For example, it can send a request to a website.
If the service stops responding, an alert can be raised.
2. What is the difference between logs and metrics?
Logs contain records of events.
Metrics are values that show how a system is performing.
For example, an application log may show an error message, while a metric may show the number of errors during a period.
3. Why should dependencies be checked for security issues?
Applications often use external libraries and packages.
An old package may have a known security problem.
Dependency scanning can find such issues before the application is released.
4. Why should passwords not be stored in Git?
Git keeps a history of changes.
If a password is committed, removing it from the latest file may not remove it from the old history.
Secrets should be kept in a suitable secret store and should not be placed directly in source code.
5. What is DevSecOps?
DevSecOps includes security checks during the software development and delivery process.
The checks can cover source code, dependencies, containers, and infrastructure.
This lets security issues be found earlier in the delivery process.
Common Interview Mistakes
1. Giving Memorised Answers
- Do not try to remember every answer.
- Understand the topic first.
- Answer in your own words.
- Keep your answer clear and simple.
2. Adding Too Many Tools
- Do not add tools that you do not know.
- Mention the tools you have used.
- Know what each tool does.
- Be ready for questions about them.
3. Not Knowing Your Project
- Go through your project once before the interview.
- Remember your role in the project.
- Know the tools you used.
- Remember the problems you faced.
4. Rushing Your Answer
- Listen to the question carefully.
- Take a few seconds to think.
- Check the problem before giving a solution.
- Then explain your answer.
5. Saying “I Don’t Know”
- You do not have to know everything.
- It is okay to say “I don’t know.”
- Be honest about what you have used.
- Do not give false answers.
How to Prepare for an Infosys DevOps Interview
Learn the Basics
Start with the basic DevOps concepts. Learn Git, CI/CD, Docker, Kubernetes, cloud, Terraform, and Linux. Take one topic at a time.
Practise the Tools
Do not only read about the tools. Try them yourself. Run simple commands, create a Docker container, and practise Git and Linux.
Know Your Resume and Project
Go through your resume before the interview. Know the tools you have mentioned. Also be ready to explain your project, your role, and the work you did.
Practise Simple Problems
Try common problems such as a failed pipeline, a stopped container, or a server with low disk space. Think about what you would check first.
Read the Job Description
Check the skills mentioned in the job post. Spend more time on those topics. You do not need to learn every DevOps tool before the interview.
Learn & Master DevOps with Entri. Enrol now!
Conclusion
An Infosys DevOps interview can include basic questions, tool-based questions, and real work situations.
Git, CI/CD, Jenkins, Docker, Kubernetes, cloud, Terraform, and Linux are important areas to revise. Monitoring, security, and troubleshooting also deserve attention.
Your project knowledge matters too. Be ready to explain what you worked on and how you handled problems.
Try some hands-on tasks before the interview. Run commands. Build small examples. Test a pipeline if you can.
Most importantly, understand what you are explaining. Short and clear answers are often easier to follow than long answers filled with technical words.
| Related Articles | |||||
| DevOps Roadmap for Beginners | DevOps Engineer Roles and Responsibilities | Continuous Integration vs Continuous Delivery | |||
| Can I Learn DevOps in 3 Months? | DevOps Engineer Career Path | ||||
Frequently Asked Questions
What are the Infosys DevOps interview questions?
Infosys DevOps interview questions can cover Git, Jenkins, Docker, Kubernetes, cloud, Terraform, Linux, and CI/CD. You may also get questions about monitoring, security, and troubleshooting.
What are the Infosys DevOps interview questions for freshers?
Freshers may get basic questions about DevOps, Git, CI/CD, Docker, cloud, and Linux. The interviewer may also ask simple questions about automation and software deployment.
What are the Infosys DevOps interview questions for experienced candidates?
Experienced candidates may get questions about the tools they have used. These can include Jenkins, Docker, Kubernetes, AWS, Azure, Terraform, Git, and Linux. Project-based and troubleshooting questions may also be asked.
Is Git important for the Infosys DevOps interview?
Yes. Git is an important DevOps tool. Learn basic Git commands, branches, commits, merging, rebasing, and remote repositories. Also understand how Git works with CI/CD.
What Docker questions are asked in an Infosys DevOps interview?
Docker questions can cover images, containers, Dockerfiles, volumes, registries, and Docker commands. You may also be asked how to check logs or find why a container stopped.
What Kubernetes questions should I prepare for Infosys?
Learn the basics of Pods, Nodes, Deployments, Services, and kubectl. Also revise Ingress, readiness probes, liveness probes, and simple Kubernetes problems.
How can I prepare for an Infosys DevOps interview?
Start with DevOps basics. Then revise Git, Jenkins, Docker, Kubernetes, cloud, Terraform, and Linux. Practise common commands and work on small projects. Also revise your own project experience.
What skills are needed for an Infosys DevOps interview?
Basic DevOps skills include Git, CI/CD, Jenkins, Docker, Kubernetes, cloud, Terraform, Linux, and scripting. Knowledge of monitoring and security can also be useful.






