DevOps Interview QuestionS
DevOps Interview QuestionS
AxiadIDS
1. How will you identify which one is public subnet & private subnet in VPC
2. What is cloud formation?
3. Is Amazon EBS storage is NAC/SAN storage?
4. What are services available to connect your premise data centre to AWS cloud?
5. Is S3 similar to Ext2 or Ext3
6. ARP?
7. What is SSL?
8. What is GRUB?
9. What is Maven& where it is used?
IMI Mobiles
All the questions based on My Company AWS Architecture through class board
discussion
1.Tell me about yourself and work experience, what is the role performing at your
organization?
MindTree Questions
1.What is DevOps
2.What is the need of chef
3.What is cookbook and what contains
4.What is templates?
5.What is providers
6.Libraries usage
7.How to call a library in a recipe
8.Purpose of role
9.Purpose of environment.
************************************************************************************
1.I will start with Shell. How do you write the Spring boot shell script to connect to
remote machines?
Qi: What is the sdlc methodology are you following Waterfall /Agile?
Qiii: He asked me, with this kind of environment and the git release branching, does
it work in Agile methodology?
A common problem on the server is if you're connecting from a client for which
reverse DNS lookups time out. (A “reverse DNS lookup” means getting back from the
client machine's IP address to a host name. It isn't really useful for security, only
slightly helpful to diagnose breakin attempts from log entries, but the default
configuration does it anyway.) To turn off reverse DNS lookups, add UseDNS no to
/etc/ssh/sshd_config (you need to be root on the server; remember to restart the
SSH service afterwards).
Another thing that can go wrong is GSSAPI authentication timing out. If you don't
know what that is, you're probably not relying on it; you can turn it off by adding the
line GSSAPIAuthentication no to /etc/ssh/ssh_config or ~/.ssh/config (that's on the
client side).
Q) How do you fix / what do you do for Low disk space errors?You get low disk
warning, what to do?
Q) How do you create a daemon in unix using shell script?
Q) How do you troubleshoot a issue in production? How do you fix it?
Q) 6 Stages of Linux Boot Process (Startup Sequence)
http://www.thegeekstuff.com/2011/02/linux-boot-process
Interview Experience:
First Round happened for around one hour. In that Interviewer
covered Jenkins, Maven, Git, Chef, EC2. Mostly he covered internals of Jenkins and
Chef.
Jenkins
• Can you tell the process how to configure Build?
• In one job I need to build 10 applications within same server. How can you
do it?
• How can you achieve email notification with attachment in Jenkins?
• Two Jobs Job A and Job B are there. Based on Job A can you configure Job B. If
parameters are present in Job B but not in Job A. How can you define parameters if
you are configuring Job B based on Job A.
• How can you take Backup of Jobs?
• Poll SCM scenario questions
• He interlinked Jenkins with Chef and asked some questions.
• He asked nearly 20 to 30 questions. Out of these questions most of them are
scenario based questions a d some are basic questions.
Chef
• Why we use Chef?
• What is difference between Cookbook and recipes?
• How to provide security to chef Hosted Server?
• How to check cookbook versions? If you tell we can see it in hosted server
and Node Client.rb file. He is asking other than this how to check cook book version
he asked?
• How to check certificates in chef like we do in puppet?
• We had to install an application in 100 nodes. If application fails to install in
2nd node, what happens to other nodes?
• How to download dependencies of other cookbooks? What is testkitchen?
• Some scenario based questions
Git
• What is Git Stash?
• How to get back changes after Git Stash?
• Branching strategy Scenario based questions
• Git Stages and flow
• Difference between Git clone and Git Pull
Finally he asked me any questions. So, I asked what kind of technologies and work
will be in your company?
He told he needs experienced people. (He given irrelevant answer ).
Q: situational questions like "what was one latest issue which you encountered in
your current job. how did you resolve the issue. what tools did you use to resolve it"
Q: "what was the most critical/major issue you encountered and how did you
resolve it"
Also,
Q: can we have a practical session using all the major tools
(chef/puppet/jenkins/docker) that are discussed...simulating a real-time project
************************************************************************************
Accenture
Docker:
1.Differnce between image and container
2.How to Run containers
3.Why we need to mention dual ports(8080:8080) in docker run command
4.Differnce between Copy and Add
5.How to write a docker file to deploy a war file
i. We have private repository and don’t have base images .how can deploy a war file?
ii. Write a simple docker file to deploy a war file by using base images?
6. Difference between docker compose and docker swarm
7. why we need to use docker compose?
AWS:
1. How to create IAM ?Why we need to create IAM?
2. What is EC2? Tell me some examples of Ec2 instances.
3. Why we need to use Glacier?
4. Tell me S3 reduced redundancy vs infrequent access?
5. Tell me S3 Bucket level permissions ?
Linux:
1.i have a file in some location. How to find that file. in that file how to display the
particular content(already I know the content) ?
2.How to find a port that is enable or not?
************************************************************************************