Prominent Academy

Prepare For Devops Interview

  • Can you explain your project?   
  • what is your Domain
  • Environment & terminologies
  • High-level use of the application for the end users
  • End -to End flow
  • Devops Tools
  • Challenges & solutions  
  • Results & impacts
  • Work Distribution
  • Planning
  • Development/Coding
  • Technology Stack
  • Security Related Questions   
  • Roles & Responsibilities
  • Situational Interview Questions
  • Explain what Microsoft Hosted Agents in Azure DevOps Platform is?
  • What is the difference between Azure DevOps Services and Azure DevOps server
  • What are the different DevOps solution architectures?
DevOps Interview Questions
  • In Azure Artifacts, what’s the recommended approach to achieve public access to a NuGet package with minimal configuration?
  • What’s the minimum requirement to set up CI/CD pipelines in Azure DevOps using a Bitbucket source code repository?
  • What are the key differences between DevOps and pair programming?

Also Check : DevOps Course in Pune using Azure Cloud

DevOps Interview Questions
  • What is Linux?
  • What are the flavours of Linux?
  • What is the difference between UNIX and Linux?
  • What is the difference between a process and a thread in Linux?  
  • What is the difference between a hard link and a soft link in Linux?
  • What is a shell in Linux?
  • What is a process in Linux?
  • How can you check the memory usage of a Linux system?  
  • How do you find the IP address of a Linux system?
  • How do you find the list of running processes in Linux?  
  • How do you kill a process in Linux?
  • What is the purpose of the “chmod” command in Linux?  
  • How do you search for a file in Linux?
  • What is SSH?
  • How do you connect to a remote Linux server using SSH?  
  • What is the purpose of the “grep” command?
  • How do you check the disk usage in Linux?
  • How can you compress and decompress files in Linux?
  • How do you check the disk space usage of a specific directory in Linux?
  • How do you monitor system performance in Linux?  
  • What is a package manager in Linux?
  • How do you install software in Linux?
  • How do you add a user in Linux?
  • How do you change the password for a user in Linux?
  • What is the purpose of the “cron” daemon in Linux?
  • How do you schedule a cron job in Linux?
  • What is the difference between SSH and SSL?
  • How do you check the network connectivity in Linux?
  • What is a firewall in Linux?
  • What is a RAID in Linux?
  • How do you create a partition in Linux?

DevOps Interview Questions
  • What is Terraform and How it works?
  • A DevOpsEngineer manually createdinfrastructure on AWS, and now there is a requirement to use Terraform to manage it. How would you import these resources in Terraform code?
  • You have multiple environments – dev, stage, prod for your application and you wantto use the same code for all of these environment. How can you do that?
  • What is the Terraform state file, and why is it important?
  • Jr DevOps Engineer accidently deleted the state file, what steps shouldwe take to resolve this?
  • What are some best practices to manageterraform state file?
  • Your team is adoptinga multicloud strategyand you need to manageresources on both AWS and Azure using terraform so how do you structure your terraform code to handle this?
  • There are some bash scripts that you want to run after creatingyour resources with terraform so how wouldyou achieve this
  • Your company is looking ways to enable HA. How can you perform blue- green deployments using Terraform?
  • Your companywants to automateTerraform through CICD pipelines. How can you integrate Terraform with CI/CD pipelines?
  • Describe how you can use Terraform with infrastructure deployment tools like Ansible or Chef.
  • Your infrastructure contains database passwords and other sensitive information. How can you manage secretsand sensitive data in Terraform?
  • You have a RDS Database and EC2 instance. EC2 should be created before RDS, How can you specify dependencies between resources in Terraform?
  • You have 20 servers created throughTerraform but you want to delete one of them. Is it possible to destroy a single resourceout of multiple resources usingTerraform?
  • What are the advantages of using Terraform’s “count” feature over resource duplication?
  • What is Terraform’s “module registry,” and how can you leverage it?  How can you implement automated testing for Terraform code?
  • You are taskeds with migrating your existing infrastructure from terraform version 1.7 to version 1.8 so what kind of considerations and steps would you take?

Source: Nasiullha Chaudhari

DevOps Interview Questions
  • What is Docker?
  • What is a container?
  • How is Docker different from virtualization?
  • What is Docker image?
  • How do you create a Docker image?
  • What is a Dockerfile?
  • What is Docker Compose?
  • How do you link containers in Docker?
  • What is Docker Swarm?
  • What is the difference between Docker Swarm and Kubernetes?
  • How do you scale Docker containers?
  • How does Docker ensure security?
  • What is the difference between a Docker container and an image?
  • How can you share Docker images with others?
  • How do you manage data persistence in Docker?
  • What is the purpose of Dockerfile’s ENTRYPOINT and CMD instructions?
  • How can you access logs from a Docker container?
  • How can you pass environment variables to a Docker container?
  • What is the difference between a Docker image and a Docker container?
  • How do you remove Docker images and containers?
  • What is Docker Registry?
  • How can you update a Docker image?
  • What are Docker volumes?
  • How can you list Docker containers?
  • What is the purpose of Docker networks?
  • How do you update Docker containers?
  • What is the difference between COPY and ADD instructions in a Dockerfile?
  • What is the role of a Dockerfile’s EXPOSE instruction?
  • What is the difference between Docker and Kubernetes?
  • How can you clean up unused Docker resources?
  • What problem does Docker solve
  • Explain the workflow of how a Docker Containeris created?
  • How do you manage multiplecontainers

Source: Chetan R

DevOps Interview Questions
  • What is Git and why is it used?
  • Explain the difference between Git and GitHub.  
  • How do you initialize a new Git repository?
  • What is the purpose of the Git staging area?  
  • Explain the concept of branching in Git.
  • How do you commit changes in Git?
  • What does the command git push do?
  • Describe a merge conflict and how to resolve it.
  • What is the difference between git fetch and git pull?
  • How can you revert a commit that has already been pushed to a remote repository?
  • What is Git stash, and when would you use it?  
  • Explain the purpose of the .gitignore file.
  • What is the function of git clone?
  • How does Git handle concurrent edits by multiple developers?  
  • What is the significance of the HEAD in Git?
  • Describe the Git rebase command.
  • What is the difference between a Git merge and a Git rebase?  
  • How do you create and apply a Git patch?
  • Explain the purpose of the .gitattributes file.  
  • How do you undo the last Git commit?
  • What is the purpose of git stash pop  
  • What is cherry-pick
  • Explain me the workflow of how you push your code from a local machine
  • How do you revert a commit that you made in your repository  
  • What is a branch in Repository

Source: Daniel Gurus

DevOps Interview Questions
  • What is Kubernetes, and why is it important for container orchestration? Explain the architecture of a Kubernetes.
  • What is a Pod in Kubernetes, and why is it the smallest deployable unit?
  • How do you scale applications in Kubernetes?
  • What are Horizontal and Vertical Pod Autoscalers?
  • Describe the difference between a StatefulSet and a Deployment in Kubernetes.
  • What is a Service in Kubernetes, and why is it needed?
  • How does Kubernetes manage container networking, and what is a Pod Network?
  • What are Ingress controllers in Kubernetes, and why are they used?
  • Explain Kubernetes’ role in handling storage and persistent volumes.
  • What is a ConfigMap and a Secret in Kubernetes? How are they used?
  • How does Kubernetes handle application updates and rollbacks?
  • What is a DaemonSet, and when would you use it?
  • Describe Kubernetes’ role in handling application health checks and self- healing.
  • What is a Namespace in Kubernetes, and why is it useful?
  • How can you manage secrets and sensitive information securely in Kubernetes?
  • Explain the difference between a Rolling Update and a Blue-Green Deployment in Kubernetes.
  • What is Helm, and how does it simplify the deployment of applications in Kubernetes?
  • How can you monitor and log Kubernetes clusters effectively?
  • What are the main differences between Kubernetes and Docker Swarm for container orchestration?
  • Describe the process of deploying a multi-container application with Kubernetes, including defining the necessary YAML files.

Source: Chetan Rakhra.

DevOps Interview Questions
  • What cloud are you familiar with
  • What is a VPC in cloud
  • What is the difference between a Publicand Private Subnetand what differentiates it:
  • What is the difference between reserved instance and spot instances
  • What is CloudFormation

DevOps Interview Questions
  • Whatis the difference between Terraform and Ansible:
  • What is a playbook in Ansible
  • What is a state file in Terraform
  • What is Terraform Remotestate backend?

DevOps Interview Questions
  • How will you create a CICD pipelineto update the website or app on every committo a particular branch:
  • Explain staging, production and testing environment
  • What is a Blue Green Deployment
  • Explain Canary Deployment
  • What is the biggestissue you faced:
  • How do you scale your application
  • How do you rollback if something fails
  • How do you automate Deployment
Data_Enquiry