DevOps Interview Questions and Answers
Question - 1 : - Explain what DevOps is?
Answer - 1 : -
It is a newly emerging term in the IT field, which is nothing but a practice that emphasizes the collaboration and communication of both software developers and deployment(operations) team. It focuses on delivering software product faster and lowering the failure rate of releases.
Question - 2 : - Mention what the key aspects or principle behind DevOps are?
Answer - 2 : -
The key aspects or principle behind DevOps is
- Infrastructure as code
- Continuous deployment
- Automation
- Monitoring
- Security
Question - 3 : - What are the core operations of DevOps with application development and with infrastructure?
Answer - 3 : -
The core operations of DevOps are
Application development
- Code building
- Code coverage
- Unit testing
- Packaging
- Deployment
Infrastructure
- Provisioning
- Configuration
- Orchestration
- Deployment
Question - 4 : - Explain how “Infrastructure code” is processed or executed in AWS?
Answer - 4 : -
In AWS,
- The code for infrastructure will be in simple JSON format
- This JSON code will be organized into files called templates
- This templates can be deployed on AWS devops and then managed as stacks
- Later the CloudFormation service will do the Creating, deleting, updating, etc. operation in the stack
Question - 5 : - Explain how DevOps is helpful to developers?
Answer - 5 : -
DevOps can be helpful to developers to fix the bug and implement new features quickly. It also helps for clearer communication between the team members.
Question - 6 : - List out some popular tools for DevOps?
Answer - 6 : -
Some of the popular tools for DevOps are
- Jenkins
- Nagios
- Monit
- ELK (Elasticsearch, Logstash, Kibana)
- Jenkins
- Docker
- Ansible
- Git
Question - 7 : - Mention at what instance have you used the SSH?
Answer - 7 : -
I have used SSH to log into a remote machine and work on the command line. Beside this, I have also used it to tunnel into the system in order to facilitate secure encrypted communications between two untrusted hosts over an insecure network.
Question - 8 : - Explain how you would handle revision (version) control?
Answer - 8 : -
My approach to handling revision control would be to post the code on SourceForge or GitHub so everyone can view it. Also, I will post the checklist from the last revision to make sure that any unsolved issues are resolved.
Question - 9 : - What are the types of Http requests?
Answer - 9 : -
The types of Http requests are
- GET
- HEAD
- PUT
- POST
- PATCH
- DELETE
- TRACE
- CONNECT
- OPTIONS
Question - 10 : - What are the key components of DevOps?
Answer - 10 : -
The most important components of DevOps are:
- Continuous Integration
- Continuous Testing
- Continuous Delivery
- Continuous Monitoring