0% found this document useful (0 votes)
52 views

Taking DevOps Interview

The document contains questions related to various DevOps topics like AWS, Docker, Kubernetes, Linux, Jenkins, Git, Terraform, Ansible, Lambda and ECR. The topics include questions on VPC, subnets, EC2, EBS, S3, Route53, WAF, CloudFront, EKS, Docker, Kubernetes components, Linux commands, Jenkins concepts, Git commands, Terraform usage, Ansible inventory and modules, Lambda functions and setting up ECR.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views

Taking DevOps Interview

The document contains questions related to various DevOps topics like AWS, Docker, Kubernetes, Linux, Jenkins, Git, Terraform, Ansible, Lambda and ECR. The topics include questions on VPC, subnets, EC2, EBS, S3, Route53, WAF, CloudFront, EKS, Docker, Kubernetes components, Linux commands, Jenkins concepts, Git commands, Terraform usage, Ansible inventory and modules, Lambda functions and setting up ECR.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

Taking DevOps Interview.

AWS.
1. What is VPC
2. What is Public Subnet and Private Subnet.
3. How will you identify Public Subnet and Private Subnet.
4. How to create public and private Subnet
5. What is the difference between Public IP Address and Elastic IP
Address.
6. What is the difference between Nat Gateway and Internet Gateway.
7. I am shutting down my ec2 instance but it got terminated. What
could be the issue.
8. How to increase Hard Disk Size 50GB to 100GB of running EC2
Instance.
9. Difference between Security Group and NACL.
10. Difference between Launch Config and Launch Template.
11. How many types of Load Balancer in AWS.
12. What draining mode in ELB.
13. What is target Group.
14. What is EFS.
15. How we can mount EFS?
16. What is EBS ?
17. What are the types of EBS Volume?
18. What is Lifecycle rules in S3.
19. What is the Storage Class Name in S3
20. What transfer Acceleration in S3
21. What is Requester Pay in S3.
22. What is the S3 Browser.
23. What is Route 53 Traffic Polices.
24. What A Record in DNS.
25. What is Cname in DNS, MX Records.
26. WAF in AWS
27. CDN Cloudfront.
28. What is Origin in CDN
29. How will you deploy SSL Certificate on CDN.
30. What is SES in AWS. Amazon Simple Email Service
31. What is ACM (AWS Certificate Manager)

Docker Container:-

1. What is micro services.


2. What is docker registry.
3. What is Docker Volume
4. What is docker network, how will you create own network.
5. What is docker image.
6. What is docker services.
7. What is container replica and how will you increase it.
8. What is docker swarm.
9. How will you check docker nodes it is master or slave nodes.
10. What is docker compose.
11. What is docker file , how will you write it.
12. How to check the logs of container.
13. How to mount volume in container.
14. Difference between entry point and CMD.
15. What is the usecase of Nginx reverse proxy
16. How to deploy SSL Certificate on Nginx Server.
17. What is virtual host in Nginx.
18. Difference between volume bind and volume mount .

Kubernetes EKS :-

1. What is kubernetes.
2. What is kubernetes major components .
3. What is deployment in Kubernetes.
4. What is Services , and it’s types.
5. What is pods .
6. How to mount volume in pods.
7. What is Name Space.
8. What is resource quota.
9. What is Limit Range .
10. what is hpa in kubernetes.
11. How will you restart the pod.
12. How to check the logs of pods.
13. How will you go inside the pods.
14. How will you go inside the pods if there are running multiple
container in one pod.
15. How will you make the kubernetes Cluster.
16. What is pv and pvc.
17. What is configmap .
18. What is vault in Kubernets.
19. Deploy SSL Certificate in Pods.
20. Sidecar container usecase ?
21. What is taint
22. How to check all pods .
23. What is max surge or Max unavailable.
24. What is helmchart.
25. How will you give read only access on Cluster.
26. What is ingress usecase.
27. How will you rollback in Kubernetes.
28. Liveiness and readinness
Linux
1. How to check Kernel Version in Linux.
2. What is default umask for root user or simple user.
3. What is default permission for directory in Linux
4. What is default permission for file in Linux.
5. How to rename file or directory in Linux.
6. How to check directory or file size.
7. How to schedule Jobs in Linux.
8. How to check how many jobs are scheduled in Linux.
9. What is Linux file system.
10. What is zombie process.
11. How to check swap status.
12. How to check selinux status.
13. How to add service in firewall.
14. Diff between iptables and firewall
15. How to find specific file or directory.
16. How to give sudo privilege to user.
17. How to set Environment Variable in Linux.
18. How to check exposed port in Linux.
19. What is bash
20. What are symbolic links?
21. What is grep command?
22. How do you terminate an ongoing process?
23. How do you insert comments in the command line prompt?
24. How do you execute more than 2 commands from a single command
line entry.
25. What is a shell?
26. What is the difference between soft and hard links?
27. What it the difference between scp and rsync.
28. What is the use case of | symbol in command line.
29. How will you make password less authentication in linux.
30. How we can give permission to multiple users on a Single
Directory. Ans (ACL Concept) .
31.
Jenkins
1. What is upstream
2. What is downstream.
3. How many types build trigger are available in Jenkins.
4. Difference between Build periodically and Poll SCM.
5. What is GitHub hook trigger for GITScm polling.
6. What is build executor and default limits.
7. What is plugin in Jenkins.
8. What is lockable Resource.
9. What is workspace in Jenkins.
10. How to make clone job in Jenkins.
11. What is Role-based Authorization Strategy plugin
12. What is build with parameters.
13. What declarative pipeline ?
14. What is scripted pipeline ?
15. 15.How to integrate slave node?
16. 16.How to send report on mail?
17. 17.How to attach logs with mail?

Bash Shell Scripting

1. What is a shell?
2. What is loop ?
3. How many types of loops available in shell scripting.
4. What types of scripts written by you.
5. What permission is required to run the scripts.
6. What is the difference between $* and $@?
7. What is the significance of $#?
8. What is the difference between grep and egrep?

Infrastructure as code Terraform :

1. What is Terraform?
2. What is the usecase of TF State File
3. How you are managing your TS State File.
4. What is workspace in Terraform.
5. What is State File Locking?
6. What is a Tainted Resource?
Common commands:

 terraform init: Prepare your working directory for other


commands
 terraform validate: Check whether the configuration is valid
 terraform plan: Show changes required by the current
configuration
 terraform apply: Create or update infrastructure
 terraform destroy: Destroy previously-created infrastructure

Infrastructure as code Cloud formation

1. What is AWS CloudFormation?


2. Explain CloudFormation's working model?
3. What are benefits of AWS CloudFormation?
4. What is a circular dependency in AWS CloudFormation?
5. How to solve circular dependency error in AWS CloudFormation?
6. How can you create and delete stacks of AWS?
7. What does AWS Serverless Application Model add on top of
CloudFormation?
8. How does AWS Cloud Pipeline interact with CloudFormation?
9. How are shell scripts used with AWS CloudFormation templates?
10. How does AWS CloudFormation work?
11. Explain AWS CloudFormation Features?
12. Explain the three basic types of cloud services.
13. Difference between SAM template and Cloudformation template?
14. What happens when one of the resources in a stack cannot be
created successfully?
15. What can developers do with AWS CloudFormation?
16. What are the steps involved in a CloudFormation Solution?
17. What are the elements of an AWS CloudFormation template?
18. What is the AWS CloudFormation Registry?
19. How is AWS CloudFormation different from AWS Elastic Beanstalk?

Ansible

1. What is Ansible?
2. How many types of inventory are available in Ansible.
3. Usecase of Static and Dynamic Inventory.
4. How to create Dynamic Inventory.
5. What's the use of Ansible?
6. What is Ansible Galaxy?
7. Explain how you can copy file recursively onto a target host?
8. What is Ansible Tower?
9. What are ad-hoc commands?
10. Explain modules in ansible
11. What is Ansible Vault

AWS Lambda
1. What is Lambda Function.
2. Which runtime you are using.
3. How to deploy new function.

GIT Version Control

1. What is Version Control system?

What do you understand by the term ‘Version Control System’?

2. What’s the difference between Git and GitHub?


3. What is a Git repository?
4. How can you initialize a repository in Git?
5. Name a few Git commands with their function.

 Git config - Configure the username and email address


 Git add - Add one or more files to the staging area
 Git diff - View the changes made to the file
 Git init - Initialize an empty Git repository
 Git commit - Commit changes to head but not to the remote
repository
 6. What is a commit message, and how is the commit command
executed?

6. Name some of the popular Git hosting repositories.

 GitHub
 GitLab
 BitBucket
 Beanstalk
 FogBugz
 Surround SCM
 Buddy
9. Difference between git fetch and git pull.
10. What is a merge conflict in Git?
11. How do you resolve a merge conflict?
12. How is a bare repository different from the standard way of
initializing a Git repository?
13. What is Git stash?
14. What does the git reset --mixed and git merge --abort commands
do?
15. How do you find a list of files that has been changed in a
particular commit?
16. What’s the difference between reverting and resetting?
17. How can you discover if a branch has already been merged or not?
18.

ECR-

1. How will you setup the ECR on AWS.


2. How we can push or pull image from ECR.
3.

You might also like