You are currently viewing How to prepare for DevOps Interviews in 2023?

How to prepare for DevOps Interviews in 2023?

It is becoming increasingly challenging for Software Engineers to learn wide range of different tools, tech Stack in rapidly changing Cloud and DevOps landscape. Today I am going to share important Cloud/DevOps questions and tips on how to prepare for DevOps interviews in 2023? This may not be a complete list but it does provide quick insight into basics and fundamentals for better preparations. Cloud/DevOps Interview questions are generally mixed and based on different technical skills to assess end-to-end understanding of Software Engineering. Other then technical skills, companies/recruiters also pay attentions to soft skills, Communication, competency, collaboration skills, Incident Management, Change Management. Few “actual” DevOps Questions:

  • What is inheritance?
  • What’s the different between class variable and instance variable?
  • How packet travels from one one computer to another?
  • What is DNS and how does it work?
  • Can you use CI/CD pipeline to provision infrastructure?
  • Using Zoom whiteboard, I was asked to draw VPC diagram with all required components. So a user on internet can send requests to web server in public subnet and triggering a Database update (INSERT or UPDATE) in private subnet.

Let’s take quick look at Top DevOps Interview Questions and How to prepare for DevOps Interviews in 2023?

  1. What is DevOps?
  2. What are the monitoring tools that you know?
  3. How will you troubleshoot if Application running slow?
  4. Explain Blue Green Deployment?
  5. What are the Patching methods followed in Production instances?
  6. What questions do you ask the Developer team when you are on boarding a new application?
  7. What is your approach if someone complains that application was working before and not working now?
  8. Explain major activities that you have performed?
  9. Explain major production outage that you have involved and how did you fix it?

Networking – How to prepare for DevOps Interviews in 2023?

Understanding of Computer Networking concept is vital for Cloud/DevOps or any Software Engineering job interview. Here are few important questions and having understanding of these will greatly help:

  • Difference between TCP and UDP?
  • What is a router, and how does it differ from a switch?
  • Purpose of DNS, and how does it work?
  • What is NAT, and how is it used in networking?
  • Understanding of OSI model, and what are its layers?
  • Purpose of ARP, and how does it work?
  • What is a firewall, and how does it protect networks?
  • Difference between a hub and a switch?
  • What is VPN, and how does it work?
  • What is DHCP, and how is it used in networking?
  • What is a MAC address, and how does it differ from an IP address?
  • What is VLAN, and how is it used in networking?
  • Purpose of ICMP, and how does it work?
  • Difference between a LAN and a WAN?
  • Understanding of Port mapping, Port Forwarding,
  • Awareness of important ports, FTP, SSH, Telnet, SMTP, DNS, HTTP, HTTPS, MySQL, RDP, NTP, POP3
  • Understanding of OSI Models and important protocols.
  • Understanding of CIDR, subnet mask, and how does it work?
  • How you will test/troubleshoot connectivity? PING, Telnet?

OSI Model, Protocols,

Cloud Basics – How to prepare for DevOps Interviews in 2023?

  1. What is Infrastructure?
  2. What is Operating System?
  3. What is Application?
  4. What is Cloud Computing?
  5. What is Datacentre?
  6. What is On-Premises datacentre?
  7. What are Cloud Services?
  8. What is Shared Responsibility Model in Cloud Infrastructure?
  9. What are Cloud Service Models?
  10. What is IaaS?
  11. What is PaaS?
  12. What is SaaS?
  13. What are Cloud Deployment Models?
  14. What is Private Cloud?
  15. What is Public Cloud?
  16. What is Hybrid Cloud?

CICD Definition Difference between Continuous Delivery and Continuous Deployment ? What is CICD pipeline? How to prepare for DevOps Interviews in 2023?

Amazon Web Services (AWS)  – How to prepare for DevOps Interviews in 2023?

  1. What is AWS Global Infrastructure?
  2. What is AWS Region?
  3. What is AWS Availability Zone?
  4. Explain what is AWS EC2?
  5. What is AWS Free Tier?
  6. What is AWS Pricing Calculator?
  7. How to create AWS EC2 instance?
  8. What is AMI – Amazon Machine Image?
  9. What are the AWS Instance Types available and how to choose Instance Type?
  10. What is AWS EBS Volume?
  11. What is AWS Key Pair?
  12. How to change EC2 Instance Type?
  13. How to explore AWS Billing Dashboard?
  14. What is Security Group in AWS?
  15. Why Security Groups are Stateful?
  16. What is AWS Lambda?
  17. How to Configure CloudWatch Events?
  18. What is CloudWatch Logs Group?
  19. How to setup S3 LifeCycle Rules?
  20. How to enable S3 Versioning?
  21. What is SNS?
  22. How to setup CloudWatch Alarms?
  23. How to monitor AWS resources using Cloud Watch Metrics?
  24. How to create IAM user?
  25. How to see list of S3 Object versions?
  26. How to revert the changes in S3?
  27. What are the S3 Versioning disadvantages?
  28. Is it possible to enable versioning only for some objects in S3 bucket?
  29. How to setup LifeCycle rules only for some objects in S3 Bucket?
  30. What are the Cloud Watch Alarm states?
  31. What is S3?
  32. What is S3 Object URL?
  33. S3 Storage Classes?
  34. Explain S3 Advantages?
  35. How to setup S3 LifeCycle Rules?
  36. How to enable S3 Versioning?
  37. What is CloudHealth?
  38. What is SNS?
  39. How to setup CloudWatch Alarms?
  40. How to monitor AWS resources using Cloud Watch Metrics?
  41. How to create IAM user?
  42. How to see list of S3 Object versions?
  43. How to revert the changes in S3?
  44. What are the S3 Versioning disadvantages?
  45. Is it possible to enable versioning only for some objects in S3 bucket?
  46. How to setup LifeCycle rules only for some objects in S3 Bucket?
  47. What are the Cloud Watch Alarm states?
  48. What is IAM Role?
  49. What is IAM policy?
  50. What is IAM user?
  51. What is IAM group?
  52. Difference between IAM role and IAM user?
  53. How to create custom IAM policy?
  54. What is Bucket Policy and how to write custom Bucket Policy?
  55. What is AWS CLI?
  56. How to install AWS CLI?
  57. How to write IAM custom policy?
  58. What are different IP Classes?
  59. What is CIDR Notation?
  60. What is Internet Gateway?
  61. What is Local Gateway?
  62. What is Default Gateway?
  63. What is Network id?
  64. What is Public Subnet?
  65. What is Private Subnet?
  66. What is Public IP?
  67. What is Private IP?
  68. How to create VPC?
  69. What is Route Table? How to create Route Table?
  70. What is Local and Internet Gateway?
  71. What is subnet?
  72. Difference between VPC CIDR and Subnet CIDR?
  73. Difference between default VPC vs. Custom VPC?
  74. What is NAT Gateway?
  75. What is Bastion Host?
  76. What is Load Balancer?
  77. What is Auto Scaling?
  78. How to integrate Auto Scaling and Load Balancer?
  79. What is Launch Configuration?
  80. How to setup ASG?
  81. How to integrate ASG with ELB?
  82. How to setup ELB health check settings?
  83. What are Min, Max and Des values in ASG?
  84. How to add ASG scaling policies?
  85. What is Load balancer Endpoint?
  86. How to configure user data and what are the advantages of user data?
  87. How to troubleshoot cloud-init issues?
  88. Discuss on ASG, ELB advantages?
  89. What is Multi AZ RDS deployment?
  90. What are the 3-tier Architecture best practices?
  91. Difference between Compute auto scaling vs. storage auto scaling?
  92. How to setup CDN using Cloud Front?
  93. Difference between Internal Vs. Public Load Balancer?
  94. What is 3-Tier Architecture?
  95. What is RDS?
  96. How to create RDS instance?
  97. How to connect to the RDS instance?
  98. How to add JDBC connection string in application?
  99. Can you tell me a few major tasks/activities done in AWS?
  100. How will you login to the private subnet instances?
  101. Differences between network ACL & Security groups?
  102. How will you monitor the ec2 instances?
  103. Can you explain IAM Role based access & Assume Role based access?
  104. Can you modify the policies of the role attached to the EC2?
  105. How will you encrypt the root EBS volume?
  106. Can I delete the custom AMI once the Instance Launched using that AMI?
  107. What is Latency Based routing in route53?
  108. What troubleshooting activities have been done in AWS so far?
  109. User is unable to upload 10GB file to an instance? What could be the issue?
  110. What is your job role in AWS?
  111. Can you stop the EC2 instance which is in the Auto Scaling group?
  112. Can you explain the difference between Application LB & Classic LB?
  113. Can we create A record for the ELB?
  114. Difference between CNAME vs. Alias Record?
  115. How many Security Groups can create to a single EC2 instance?
  116. EC2 server experiencing slow internet connection how to fix?
  117. How to add multiple ‘Internet Gateway’ to the VPC to increase the network speed?
  118. Can we create multiple subnets in VPC?
  119. How will you login to the Windows host hosted on a private subnet?
  120. Can I have Private subnet instances accessing the internet through Internet gateway?
  121. What are the EC2 provisioning tools used to launch the instances?
  122. How will you monitor Memory utilization from Cloud watch?
  123. How will you modify Launch Configuration when the Instances are already running in Auto Scaling?
  124. Have you ever done database backup & restore?
  125. How will you automate the EC2 snapshots?
  126. What are the disadvantages of NAT Gateway?
  127. How will you identify if the subnet is public or private?
  128. How will you resize the EC2 root EBS root volume?
  129. Clients receiving  HTTP: 503 service unavailable or HTTP: 504 gateway timeout error message, How to fix?
  130. EC2 instance is no longer responding, how will you fix it?
  131. EC2 server throwing out of memory errors, how will you fix these issues?
  132. Do you know what a system manager in AWS?
  133. What are Cloud watch Events?
  134. How will you monitor disk and file system usage using Cloud Watch?
  135. Can I authenticate the EC2 without using Keypair?
  136. Can you explain the 3-tier architecture with high availability in each layer?
  137. Can I create ELB for the bastion hosts?
  138. What is VPN in AWS?
  139. Have you ever logged a case with Amazon?
  140. Where will you store ec2 snapshots?
  141. Have you ever configured the cloud watch metric?
  142. What is Life Cycle Hook in Auto Scaling?
  143. Instance is showing 1/2 state, how will you troubleshoot the issues.
  144. Have you ever worked on Capacity Planning?
  145. Explain to me Disaster Recovery Planning for Region Failures in AWS?
  146. Difference between ELB and EFS
  147. What is VPC peering?
  148. How to restrict particular source IP in AWS?
  149. How to create Cross IAM Role in AWS?
  150. What is Transit Gateway?
  151. What is AWS Lambda?
  152. What is Amazon AMI?
  153. Difference between EBS vs. EFS vs. S3?
  154. Difference between Security Group vs. Network ACL?
  155. How will you monitor VPC network flow?
  156. How to write AWS custom IAM policy?
  157. Explain VPN in AWS?
  158. Difference between Cloud Trail Vs. Cloud Watch?
  159. Explain AWS Auto Scaling Policies?
  160. What is CloudFront? Explain different Origins in CloudFront?
  161. Difference between Horizontal Scaling vs. Vertical Scaling?
  162. How to recovery AWS keypair to connect to the EC2 instance?
  163. What is Connection Draining?
  164. What is S3 Glacier storage class?
  165. What is DynamoDB?
  166. Explain steps in migrating on-premises servers to AWS cloud?
  167. How to add additional Private IP for EC2 instance?
  168. Explain what is 3-tier Architecture?
  169. What is Placement Group in AWS?
  170. What is the difference between Internet Gateway Vs. NAT Gateway?
  171. What are 2/2 checks in AWS EC2?
  172. Explain Route53 policies?
  173. What is Cross-Zone Load Balancing in AWS?
  174. What is the difference between Multi-AZ deployment and Read Replicas in RDS?
  175. How to enable Life Cycle rules to S3 Bucket folders?

GIT 

  1. What is Source Code Management (SCM)
  2. What is versioning?
  3. Explain GIT Architecture?
  4. Explain GIT commands?

git command scope How to prepare for DevOps Interviews in 2023?

git init

git add

git status

git commit

git reset

git revert

git log

git config

git remote

git pull

git push

git clone

git branch

git diff

git restore

git rm

git checkout

git merge

  1. How to install GitBash?
  2. What is Git local repository?
  3. What is Git remote repository?
  4. What is the difference between Git PULL, Git Clone, Git Fetch? 
  5. How to add collaborators to the BitBucket Repo?
  6. How to add SSH keys to BitBucket?
  7. How to clone remote repository using SSH & HTTPS protocol?
  8. Explain Git Branching Strategy?
  9. What is the difference between git reset and git revert?
  10. what is the difference between soft reset and hard reset?
  11. Explain what is Pull Request?
  12. What is the branching strategy are you using in your environment?
  13. What is the difference Git Clone vs. Git fork?
  14. Explain Git repository life cycle?
  15. What are the different Git Merge types?
  16. What is Git rebase?
  17. Difference between Git rebase vs. Git Merge?
  18. What is Git Cherry-Pic?
  19. What is the branching strategy are you using in your environment?

Apache Maven 

  1. What is Apache maven?
  2. How to install Apache Maven?
  3. How to create Maven folder structure?
  4. What are the pre-requisites for Apache Maven installation?
  5. How to check maven version?
  6. What is Artifact?
  7. What is Maven Build?
  8. What are Maven Goals?
  9. What is Maven local repository?
  10. What is pom.xml file significance?

Apache Tomcat – How to prepare for DevOps Interviews in 2023?

  1. What is Application Server?
  2. What is Apache Tomcat?
  3. How to install Apache Tomcat?
  4. How to deploy artifacts to Tomcat server?
  5. What is CATALINA HOME?
  6. How to add users in Apache Tomcat?
  7. How to start/stop Tomcat servers?
  8. What is the default port for Apache Tomcat?
  9. How to configure JAVA HEAP for applications?

NGINX

  1. What is reverse proxy?
  2. Difference between Forward vs. reverse proxy?
  3. How to add routing in the nginx.conf?
  4. Advantages of reverse proxy servers?
  5. How to secure app servers access limiting to only from Nginx proxy servers?

Jenkins

  1. What is Jenkins?
  2. How to install Jenkins
  3. What is Jenkins Job?
  4. What is Jenkins Plugin?
  5. What is Jenkins Credential store?
  6. How to setup Jenkins Build and Deploy Jobs configuration?
  7. What is Jenkins Poll SCM?
  8. Explain about Jenkins workspaces?
  9. How to setup Build pipeline plugin in Jenkins?
  10. What is Jenkins slave?
  11. What is CI/CD?
  12. How to setup CI/CD pipeline?
  13. What is Jenkinsfile?
  14. How to setup Multibranch Pipelines?
  15. What is Upstream and Downstream Job?
  16. Explain the difference between Continuous Delivery & Continuous Deployment?
  17. What are the plugins you used on Jenkins?
  18. Do you have any idea about ‘Pipeline As Code’?
  19. Explain the pre-checks you are taking before the production release?
  20. How frequently releases are happening in your setup?
  21. Explain what a slave Jenkins node?
  22. What is a Downstream job?
  23. How many concurrent build jobs can be run on single Jenkins?
  24. How to create a read only Jenkins user?
  25. What is the Multibranch Pipeline?
  26. Difference between Declarative Vs Scripted Pipelines?
  27. Where do you keep Token and Secrets while configuring CI/CD?
  28. How to enable concurrence in Jenkins?
  29. Explain Pipeline Stages for Build and Deployments?
  30. How to configure dependent Jenkins job. It should run when the previous job is successful. How do you configure it.
  31. What are the different job type can be created in Jenkins?
  32. What is Jenkinsfile and its importance? Syntax for that?
  33. Difference between Declarative pipeline and scripted pipeline in Jenkins?
  34. What are the Jenkins plugins that you have used in pipeline setup?
  35. What is Multi Branch Pipeline?
  36. Explain Jenkins Architecture?
  37. Explain how to configure Artifactory Plugin in Jenkins?
  38. What are the built in variables in Jenkins?
  39. How to add user input in Jenkins declarative pipeline?
  40. How to backup and restore Jenkins?
  41. What are the different ways to configure Jenkins slaves?
  42. What are the Jenkins Pipeline types?
  43. How to use Jenkins Shared Libraries?
  44. How to continue Jenkins job after one stage is failed?

Docker

  1. What is Container?
  2. Can you modify the container properties once the container is running?
  3. Explain docker architecture?
  4. Why do we use docker containers?
  5. Explain Docker Architecture?
  6. Explain Docker Commands?

docker pull

docker images

docker rm

docker rmi

docker create

docker start

docker stop

docker inspect

docker logs

docker ps

docker exec

docker network

docker compose

docker login

docker run

docker volume

docker commit

docker cp

docker history

docker events

docker pull

docker push

docker tag

docker attach

docker history

  1. How to install docker?
  2. How to start docker daemon?
  3. What is default docker home directory?
  4. What is container registry?
  5. What is container image?
  6. What is Dockerfile?
  7. How to build container images?
  8. How to create container?
  9. How to re-tag container images?
  10. Explain Dockerfile Commands?

FROM

COPY

MAINTAINER

ADD

RUN

CMD

ENTRYPOINT

ENV

WORKDIR

EXPOSE

WORKDIR

VOLUME

  1. What is Docker Compose?
  2. How to write Docker file?
  3. What is Docker network?
  4. How to setup networking between multiple containers?
  5. What is Docker Volume?
  6. How to deploy multi containerized application using docker compose?
  7. Have you ever written Dockerfile? How to automate image creation and upload to the registry?
  8. How can specify resource limit for docker containers?
  9. Which commands it will create layers in docker image?
  10. How to login to a docker container?
  11. What commands available in Dockerfile?
  12. How to see stopped Docker Container Logs?
  13. What is Docker Swarm?
  14. How do you scan docker images for vulnerability checks?
  15. Explain what is the use of Docker Volumes?
  16. How will you cleanup unused Docker Images and Containers?
  17. Difference between CMD and ENTRYPOINT?
  18. Explain Dockerfile?
  19. How will you delete image of running container?
  20. How to delete unused Docker Volumes?
  21. What is intermediate container?
  22. What is Overlay network in Docker?
  23. Difference between Container and virtual machine?
  24. Explain different type of networks in Docker?

Kubernetes

  1. What is Monolithic Architecture?
  2. What is Microservices Architecture?
  3. What is Container Orchestration?
  4. What are principles of Container Orchestration?
  5. Explain Kubernetes Architecture?
  6. How to setup Kops bootstrap server?
  7. How to deploy Kubernetes cluster?
  8. What is namespace in Kubernetes?
  9. What is Kube-Controller in Kubernetes?
  10. How to deploy ReplicaSet Controller?
  11. What is Livenessprobe?
  12. What is Readinessprobe?
  13. What are deployment strategies in Kubernetes?
  14. How to Rollout new version of application?
  15. How to rollback to previous version of application?
  16. What is Deployment Controller?
  17. How to copy files from local to POD?
  18. How to access interactive shell of the POD?
  19. What is nodePort Service?
  20. What is ClusterIP service?
  21. What is LoadBalancer Service?
  22. What is Service Discovery in Kubernetes?
  23. What is kube-dns service?
  24. What is kube-system namespace?
  25. How to deploy EKS cluster?
  26. How to deploy application using helm?
  27. How to publish helm charts to Jfrog artifactory?
  28. How to prepare Helm Charts?
  29. Explain difference between Stateful vs. Stateless applications?
  30. What is Persistent Volume?
  31. What is Persistent Volume Claim?
  32. What is Kubernetes Metrics API server?
  33. Explain what Kubernetes Requests and Limits are?
  34. What is Horizontal Pod Autoscale?
  35. How to monitor POD resources utilization?
  36. What is Daemonset Controller?
  37. What is Statefulset Controller?
  38. What is Configmap?
  39. What is Elastic Stack and how to deploy Fluentd, Elasticsearch, Kibana stack?
  40. How to deploy Prometheus & Grafana stack?
  41. What is API Gateway?
  42. What is a Microservice?
  43. Difference between clusterIP vs. Loadbalancer services?
  44. How to deploy Microservices?
  45. What is Active MQ?
  46. What is MongoDB?
  47. What is Ingress Controller?
  48. How to deploy Ingress Controller?
  49. How to create Ingress Rules?
  50. Explain kubectl commands?

Kubectl create

Kubectl describe

Kubectl logs

Kubectl exec

Kubectl cp

Kubectl apply

Kubectl run

Kubectl delete

Kubectl autoscale

Kubectl edit

Kubectl rollout

Kubectl scale

Kubectl top

Kubectl version

Kubectl config

Kubectl taint

Kubectl auth

Kubectl patch

  1. Can you explain Kubernetes master components?
  2. Difference between Statefulsets Vs Deployments?
  3. How to monitor PODs health?
  4. What are Liveness and Readiness Probes in Kubernetes?
  5. Explain Kubernetes Architecture and components?
  6. Explain difference between Monolithic Vs. Microservices Architecture?
  7. Explain what is POD network?
  8. Explain Helm Chart directory structure?
  9. How to mount a volume on pods?
  10. When Kubernetes master is down. What could be the impact?
  11. How can you check pod log files?
  12. How do you add worker node to Kubernetes cluster?
  13. What is pod evicted status?
  14. How can you roll back a deployment?
  15. How pod will communicate from one to another one in Kubernetes?
  16. Difference between docker and Kubernetes?
  17. Explain about K8s deployment manifest file?
  18. Explain your current K8s Architecture like how many nodes, masters, Deployment types etc?
  19. How many servers/Pods you handling currently in production?
  20. What is pod?
  21. How to run multiple containers inside a pod?
  22. What is the deployment strategy you are using in Kubernetes?
  23. What’s the difference between ClusterIP, NodePort and LoadBalancer service types?
  24. Explain about Taints and Tolerations in Kubernetes?
  25. Difference between self-hosted vs. managed Kubernetes?
  26. How to see list of Pods running in prod namespace?
  27. What are node affinity rules in Kubernetes?
  28. How to deploy multi container Pods in Kubernetes?
  29. How will you see logs of unhealthy Pod?
  30. What is Kube-Proxy?
  31. How to add additional worker nodes to the existing Kubernetes cluster?
  32. How to change ClusterIP service to nodePort service?
  33. What is Ingress Controller in Kubernetes?
  34. Explain your project Kubernetes cluster Architecture?

Python

  1. What is Python runtime?
  2. What are Python variables
  3. What are Data Types in Python?
  4. How to create Functions in Python?
  5. What are Built-in Functions in Python?
  6. How to use boto3 module in Python?
  7. What is the difference in List, Dictionary and Tuple?

Ansible

  1. What is Ansible inventory?
  2. Explain YAML Syntax?
  3. What is Ansible Playbook
  4. Explain difference between Play, Task, Playbook, Role in Ansible?
  5. What are Ansible Ad-Hoc commands?
  6. What is Ansible Module?
  7. What are Ansible Facts?
  8. Explain Ansible Role Structure?
  9. Explain Ansible Handlers?
  10. Explain Ansible Template files?
  11. Explain Ansible variables?
  12. Can you tell me an ansible inventory config file?
  13. Can you describe Ansible Roles directory structure?
  14. Explain Ansible use cases in your project?
  15. Container is running fine, but application is not accessible from end user, What could be root cause?
  16. How to check if a package is installed on a remote system using ansible?
  17. What is the use of handlers in ansible?
  18. How can you secure configuration files in Ansible?
  19. How will you use ansible for Continuous Delivery?
  20. Difference between shell and command modules in ansible?
  21. What is the difference Terraform vs Ansible?
  22. Explain use cases that you have delivered in Ansible?
  23. How will you run a Ansible role?
  24. How to fetch passwords from Ansible vault?
  25. What is Idempotency in Ansible?
  26. How to write ansible Playbook to provision EC2 instances?
  27. How to you use array in the Ansible?
  28. What are facts in Ansible?

Terraform – How to prepare for DevOps Interviews in 2023?

  1. What is Infrastructure as Code (IaC)
  2. What is Terraform Provider?
  3. What is Terraform resource type?
  4. What is Terraform state?
  5. Explain Terraform Commands?

terraform init

terraform plan

terraform apply

terraform state

terraform destroy

terraform validate

terraform import

terraform refresh

  1. What is Terraform variable?
  2. How to use terraform outputs?
  3. What is terraform.tfvars file?
  4. How to reference attribute of one resource in another resource block?
  5. How to configure s3 backend to store state?
  6. What are the advantages of S3 Backend?
  7. Explain Terraform use cases in your project?
  8. Explain what is a Provider Plugin?
  9. How to import existing resources into a state file?
  10. How to work with multiple providers?
  11. Explain different types of provisioners used in Terraform?
  12. What is terraform module?
  13. Where do you keep terraform state files?
  14. What is terraform provider block?
  15. How to secure credentials in terraform?
  16. How will provision an EC2 using terraform?
  17. What is terraform data resource?
  18. What is Terraform refresh?
  19. Difference between local-exec and remote-exec in Terraform?

Linux

  1. Explain Linux Architecture?
  2. Explain Linux Commands?

touch

pwd

adduser

passwd

rm

mkdir

ls

cd

visudo

sudo

chgrp

chmod

addgroup

whereis

echo

yum

service

cp

mv

rmdir

df -h

du -sh

find

lsblk

  1. Explain Linux configuration files?

/etc/passwd

/etc/shadow

/etc/group

/etc/ssh/sshd_config

/etc/sudoers

/etc/profile

/etc/hosts

/etc/fstab

/etc/resolv.conf

/etc/nologin

  1. Explain Linux File/Directory Structure?
  2. What is Root directory in Linux?
  3. Difference between absolute path vs. relative path?
  4. What is Vi-Editor?
  5. Difference between Command Mode vs. Insert Mode in VI-Editor?
  6. What is Home Directory in Linux?
  7. Explain about Linux Permissions?
  8. Difference between File Vs. Directory Permissions?
  9. Explain what is sudo permission?
  10. What is Linux Filesystem?
  11. How to create File System?
  12. How to increase File System?
  13. How to create and attach EBS volume to EC2 instance?
  14. How to check disk file system utilization?
  15. What is Apache HTTP Webserver?
  16. How to install and configure HTTP webserver?
  17. How to host web application?
  18. How DNS works?
  19. What is Domain Registrar?
  20. What is Name Server?
  21. What is Authoritative Name Server?
  22. What is Resource Record?
  23. What is A record?
  24. What is CNAME record?
  25. Explain how SSH Login Works?
  26. Explain how Apache HTTP Web Server Works?
  27. What is Network Port?
  28. What is process and service in Linux?
  29. What is Private Subnet?
  30. What is Public Subnet?
  31. What is Private IP?
  32. What is Public IP?
  33. What is Route Table?
  34. What is traceroute command?
  35. How to see exit status of last executed command?
  36. What is $? in shell?
  37. What is the use of “#!/bin/bash” in the shell script?
  38. What is $$ and S! in shell script?
  39. How to check LISTEN ports in Linux?
  40. Write a shell script to validate whether it is a valid email id or not?
  41. Write shell script to download artifacts and deploy into tomcat server?

Have you appeared in any interview for Cloud/DevOps recently? It will be great to know what questions you asked or were asked. Please feel free to share in comment section or community channel

Hope this Cloud/DevOps interview questions list help in better preparations.

Good Luck!

Credit: List of questions has been compiled using help from various open sources channels, communities and will continue be updated regularly. 

Spread the love

team_cicdtrail

Only for Editorials, blogs and articles.

Leave a Reply