
Questions here are meant to test your understanding about DevOps raher than focusing on a particular tool or a stage.
Q1. What is the need for DevOps?
According to me, this answer should start by explaining the general market trend. Instead of releasing big sets of features, companies are trying to see if small features can be transported to their customers through a series of release trains. This has many advantages like quick feedback from customers, better quality of software etc. which in turn leads to high customer satisfaction. To achieve this, companies are required to:
- Increase deployment frequency
- Lower failure rate of new releases
- Shortened lead time between fixes
- Faster mean time to recovery in the event of new release crashing
DevOps fulfills all these requirements and helps in achieving seamless software delivery. You can give examples of companies like Etsy, Google and Amazon which have adopted DevOps to achieve levels of performance that were unthinkable even five years ago. They are doing tens, hundreds or even thousands of code deployments per day while delivering world class stability, reliability and security. If I have to test your knowledge on DevOps, you should know the difference between Agile and DevOps. The next question is directed towards that.
Q2. How is DevOps different from Agile / SDLC?
Agile is a set of values and principles about how to produce i.e. develop software.
Example: if you have some ideas and you want to turn those ideas into working software, you can use the Agile values and principles as a way to do that. But, that software might only be working on a developer’s laptop or in a test environment. You want a way to quickly, easily and repeatably move that software into production infrastructure, in a safe and simple way. To do that you need DevOps tools and techniques. You can summarize by saying Agile software development methodology focuses on the development of software but DevOps on the other hand is responsible for development as well as deployment of the software in the safest and most reliable way possible. Here’s a blog that will give you more information on the evolution of DevOps. Now remember, you have included DevOps tools in your previous answer so be prepared to answer some questions related to that.
Q3. Which are top DevOps tools have you worked on?
The most popular DevOps tools are mentioned below:
-
- Git : Version Control System tool
- Jenkins : Continuous Integration tool
- Selenium : Continuous Testing tool
- Puppet, Chef, Ansible : Configuration Management and Deployment tools
- Nagios : Continuous Monitoring tool
- Docker : Containerization tool
You can also mention any other tool if you want, but make sure you include the above tools in your answer. The second part of the answer has two possibilities:
-
- If you have experience with all the above tools then you can say that I have worked on all these tools for developing good quality software and deploying those softwares easily, frequently, and reliably.
- If you have experience only with some of the above tools then mention those tools and say that I have specialization in these tools and have an overview about the rest of the tools.
Q4. How do all these tools work together?
Given below is a generic logical flow where everything gets automated for seamless delivery. However, this flow may vary from organization to organization as per the requirement.
-
- Developers develop the code and this source code is managed by Version Control System tools like Git etc.
- Developers send this code to the Git repository and any changes made in the code is committed to this Repository.
- Jenkins pulls this code from the repository using the Git plugin and build it using tools like Ant or Maven.
- Configuration management tools like puppet deploys & provisions testing environment and then Jenkins releases this code on the test environment on which testing is done using tools like selenium.
- Once the code is tested, Jenkins send it for deployment on the production server (even production server is provisioned & maintained by tools like puppet).
- After deployment It is continuously monitored by tools like Nagios.
- Docker containers provides testing environment to test the build features.
Q5. What are the advantages of DevOps?
For this answer, you can use your past experience and explain how DevOps helped you in your previous job. If you don’t have any such experience, then you can mention the below advantages.
Technical benefits:
- Continuous software delivery
- Less complex problems to fix
- Faster resolution of problems
Business benefits:
- Faster delivery of features
- More stable operating environments
- More time available to add value (rather than fix/maintain)
Q6. What is the most important thing DevOps helps us achieve?
According to me, the most important thing that DevOps helps us achieve is to get the changes into production as quickly as possible while minimizing risks in software quality assurance and compliance. This is the primary objective of DevOps. Learn more in this DevOps tutorial blog. However, you can add many other positive effects of DevOps. For example, clearer communication and better working relationships between teams i.e. both the Ops team and Dev team collaborate together to deliver good quality software which in turn leads to higher customer satisfaction.
Q7. Explain with a use case where DevOps can be used in industry/ real-life.
There are many industries that are using DevOps so you can mention any of those use cases, you can also refer the below example:
Etsy is a peer-to-peer e-commerce website focused on handmade or vintage items and supplies, as well as unique factory-manufactured items. Etsy struggled with slow, painful site updates that frequently caused the site to go down. It affected sales for millions of Etsy’s users who sold goods through online market place and risked driving them to the competitor. With the help of a new technical management team, Etsy transitioned from its waterfall model, which produced four-hour full-site deployments twice weekly, to a more agile approach. Today, it has a fully automated deployment pipeline, and its continuous delivery practices have reportedly resulted in more than 50 deployments a day with fewer disruptions.
Q8. Explain your understanding and expertise on both the software development side and the technical operations side of an organization you have worked with in the past.
For this answer, share your past experience and try to explain how flexible you were in your previous job. You can refer to the below example: DevOps engineers almost always work in a 24/7 business-critical online environment. I was adaptable to on-call duties and was available to take up real-time, live-system responsibility. I successfully automated processes to support continuous software deployments. I have experience with public/private clouds, tools like Chef or Puppet, scripting and automation with tools like Python and PHP, and a background in Agile.
Q9. What are the anti-patterns of DevOps
A pattern is common usage usually followed. If a pattern commonly adopted by others does not work for your organization and you continue to blindly follow it, you are essentially adopting an anti-pattern. There are myths about DevOps. Some of them include:
-
- DevOps is a process
- Agile equals DevOps?
- We need a separate DevOps group
- Devops will solve all our problems
- DevOps means Developers Managing Production
- DevOps is Development-driven release management
- DevOps is not development driven.
- DevOps is not IT Operations driven.
- We can’t do DevOps – We’re Unique
- We can’t do DevOps – We’ve got the wrong people
MUST READ TOPICS :
- Performance Testing : JMeter
- Top 10 Kubernetes Monitoring Tools
- Amazon Web Services (AWS) : Account Security Tips
- Kubernetes Security Tips
- DevSecOps : Cloud Security
- Code Management : GitLab
- Code Management : Bitbucket
- Code Management : GIT
- ITSM (IT Service Management)
- Incident Reporting : BMC Remedy
- Incident Reporting : ServiceNow
- Scheduling Tools : Control-M
- Scheduling Tools : CRON
- Scheduling Tools : Apache Airflow
- Security : SSO (Single Sign-on)
- Security : OAuth
- Security : Identity Providers
- Amazon Web Services (AWS) Security : AWS KMS (Key Managament System)
- Security : IAM
- Amazon Web Services (AWS) Security : AWS Secret Manager
- Data Migration : Pentaho
- Database : CockroachDB
- Database : PostgresDB
- Database : Cassandra
- Database : Snowflake
- Java Basics
- Python Basics
- SQL (Structured Query Language)
- Unix Shell Scripting
- Bigdata : HCatalog
- Bigdata : Spark
- Bigdata : Impala
- Bigdata : Hive
- Bigdata : Sqoop
- Bigdata : HDFS
- cURL
- Blazemeter
- API Management : Postman
- API Management : Swagger UI
- ELK (ElasticSearch LogStash Kibana)
- Monitoring : Prometheus
- Monitoring : Grafana
- Monitoring : Splunk
- Infrastructure Provisioning : Terraform
- Configuration Management : SaltStack
- Ansible : Automate Provisioning
- Puppet :Configuration Management
- Chef : Automatic Provisioning
- SonarQube : Code Inspection
- NuGet : Package Manager
- NPM : Package Manager
- YARN : Bigdata
- Docker Hub
- SonaType Nexus
- JFrog Artifactory
- CI/CD – Buildbot
- CI/CD – Spinnaker
- CI/CD – Nevercode
- CI/CD – Semaphore
- CI/CD – Wercker
- CI/CD – GoCD
- CI/CD – Codeship
- CI/CD – Travis CI
- CI/CD – Buddy
- CI/CD – GitLab
- CI/CD – Bamboo
- CI/CD – TeamCity
- CI/CD – CircleCI
- CI/CD – Jenkins
- Docker
- Kubernetes
- Amazon Web Services (AWS) : Cloud Foundry
- Amazon Web Services (AWS) : Transit Gateway
- Amazon Web Services (AWS) : PrivateLink
- Amazon Web Services (AWS) : Private 5G
- Amazon Web Services (AWS) : Global Accelerator
- Amazon Web Services (AWS) : Cloud WAN
- Amazon Web Services (AWS) : Cloud Map
- Amazon Web Services (AWS) : App Mesh
- Amazon Web Services (AWS) : Transfer Family
- Amazon Web Services (AWS) : Snow Family
- Amazon Web Services (AWS) : Mainframe Modernization
- Amazon Web Services (AWS) : Database Migration Service
- Amazon Web Services (AWS) : Application Migration Service (MGN)
- Amazon Web Services (AWS) : Application Discovery Service
- Amazon Web Services (AWS) : Migration Hub
- Amazon Web Services (AWS) : Service Management Connector
- Amazon Web Services (AWS) : Resilience Hub
- Amazon Web Services (AWS) : Proton
- Amazon Web Services (AWS) : Organizations
- Amazon Web Services (AWS) : Managed Services
- Amazon Web Services (AWS) : Management Console
- Amazon Web Services (AWS) : License Manager
- Amazon Web Services (AWS) : Launch Wizard
- Amazon Web Services (AWS) : Health Dashboard
- Amazon Web Services (AWS) : Distro for OpenTelemetry
- Amazon Web Services (AWS) : Console Mobile Application
- Amazon Web Services (AWS) : Control Tower
- Amazon Web Services (AWS) : Compute Optimizer
- Amazon Web Services (AWS) : Chatbot
- Amazon Web Services (AWS) : Auto Scaling
- Amazon Web Services (AWS) : Managed Service for Prometheus
- Amazon Web Services (AWS) : Managed Grafana
- Amazon Web Services (AWS) : AppSync
- Amazon Web Services (AWS) : Pinpoint
- Amazon Web Services (AWS) : Location Service
- Amazon Web Services (AWS) : API Gateway
- Amazon Web Services (AWS): Amplify
- Amazon Web Services (AWS) : Fault Injection Simulator
- Amazon Web Services (AWS) : Device Farm
- Amazon Web Services (AWS) : Command Line Interface
- Amazon Web Services (AWS) : CodeStar
- Amazon Web Services (AWS) : CodeBuild
- Amazon Web Services (AWS) : CodeArtifact
- Amazon Web Services (AWS) : CloudShell
- Amazon Web Services (AWS) : Cloud9
- Amazon Web Services (AWS): Quantum Ledger Database (QLDB)
- Amazon Web Services (AWS) : Neptune
- Amazon Web Services (AWS) : MemoryDB for Redis
- Amazon Web Services (AWS) : Keyspaces (for Apache Cassandra)
- Amazon Web Services (AWS) : DynamoDB
- Amazon Web Services (AWS) : DocumentDB (with MongoDB compatibility)
- Amazon Web Services (AWS) : Aurora Serverless V2
- Amazon Web Services (AWS) : Aurora
- Amazon Web Services (AWS) : App Runner
- Amazon Web Services (AWS) : ECS (Elastic Container Service)
- Amazon Web Services (AWS) : EC2 Auto Scaling
- Amazon Web Services (AWS) : Savings Plans
- Amazon Web Services (AWS) : Reserved Instance Reporting
- Amazon Web Services (AWS) : Cost and Usage Report
- Amazon Web Services (AWS) : Budgets
- Amazon Web Services (AWS) : Billing Conductor
- Amazon Web Services (AWS) : Cost Explorer
- Amazon Web Services (AWS) : MQ (Message Queue Service)
- Amazon Web Services (AWS) : Managed Workflows for Apache Airflow
- Amazon Web Services (AWS) : EventBridge
- Amazon Web Services (AWS) : AppFlow
- Amazon Web Services (AWS) : Step Functions
- Amazon Web Services (AWS) : Data Exchange
- Amazon Web Services (AWS) : QuickSight
- Amazon Web Services (AWS) : Managed Streaming for Apache Kafka
- Amazon Web Services (AWS) : WorkMail
- Amazon Web Services (AWS) : WorkDocs
- Amazon Web Services (AWS) : Workspaces (Desktops in Cloud)
- Amazon Web Services (AWS) : SWF (Simple Workflow Service)
- Amazon Web Services (AWS) : SQS (Simple Queue Service)
- Amazon Web Services (AWS) : SES (Simple Email Service)
- Amazon Web Services (AWS) : CloudSearch
- Amazon Web Services (AWS) : AppStream
- Amazon Web Services (AWS) : SNS
- Amazon Web Services (AWS) : Cognito
- Amazon Web Services (AWS) : IoT
- Amazon Web Services (AWS) : Kinesis
- Amazon Web Services (AWS) : ElasticSearch Service
- Amazon Web Services (AWS) : Data Pipeline
- Amazon Web Services (AWS) : EMR
- Amazon Web Services (AWS) : WAF (Web Application Firewall)
- Amazon Web Services (AWS) : Inspector
- Amazon Web Services (AWS) : Directory Service
- Amazon Web Services (AWS) : Trusted Advisor
- Amazon Web Services (AWS) : Service Catalog
- Amazon Web Services (AWS) : OpsWorks
- Amazon Web Services (AWS) : Config
- Amazon Web Services (AWS) : CloudTrail
- Amazon Web Services (AWS) : CloudFormation
- Amazon Web Services (AWS) : CodePipeline
- Amazon Web Services (AWS) : CodeDeploy
- Amazon Web Services (AWS) : CodeCommit
- Amazon Web Services (AWS) : Route53
- Amazon Web Services (AWS) : Direct Connect
- Amazon Web Services (AWS) : Redshift
- Amazon Web Services (AWS) : ElastiCache
- Amazon Web Services (AWS) : DynamoDB
- Amazon Web Services (AWS) : RDS
- Amazon Web Services (AWS) : Storage Gateway
- Amazon Web Services (AWS) : Import/Export Snowball
- Amazon Web Services (AWS) : Glacier
- Amazon Web Services (AWS) : Elastic File System
- Amazon Web Services (AWS) : CloudFront
- Amazon Web Services (AWS) : Elastic Beanstalk
- Amazon Web Services (AWS) : EC2 Container Service
- Amazon Web Services (AWS) : Lambda
- Amazon Web Services (AWS) : Secret Manager
- Amazon Web Services (AWS) : SSM
- Amazon Web Services (AWS) : CloudWatch
- Amazon Web Services (AWS) : Load Balancers
- Amazon Web Services (AWS) : EKS (Elastic Kubernetes Service)
- Amazon Web Services (AWS) : VPC
- Amazon Web Services (AWS) : IAM
- Amazon Web Services (AWS) : S3
- Amazon Web Services (AWS) : EC2
- Top 30 DevOps Live Interview Questions
- Top DevOps Interview Questions : Basics