DevOps Interview Questions – Set 01

What are the prerequisites for the DevOps implementation?

Following are some useful prerequisites for DevOps implementation:

  • Proper communication between the team members.
  • At least one version control software.
  • Automated testing.
  • Automated deployment.

Define DevOps Automation?

Automation is the crucial need for DevOps practices, and automate everything is the fundamental principle of DevOps. Automation kick starts from the code generation on the developer’s machine, until the code is pushed to the code, to monitor the application and system in the production.

Automation in DevOps boosts speed, consistency, higher accuracy, reliability, and increases the number of deliveries.

What is version control?

It is a system that records the changes to a file or set of files over time so you can recall specific versions.

The version control system consists of a central shared repository where teammates can commit the changes to a file or set of files. It allows:

  • To revert the file to the previous state.
  • To compare changes over time.
  • To revert the entire project to a previous state.
  • To see who modified something in the files.

How infrastructure code is executed in AWS?

In AWS:

  • The code for infrastructure will be in a simple JSON format.
  • This JSON code will be organized into files called templates.
  • These 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.

Explain two-factor authentication?

The two-factor authentication is a security method in which the user provides two ways of identification from separate categories.

What are the core operation of DevOps with application development and infrastructure?

The core operation of DevOps with application development and infrastructure are:

Application development

  • Code building
  • Code coverage
  • Unit testing
  • Packaging
  • Deployment

Infrastructure

  • Provisioning
  • Configuration
  • Orchestration
  • Deployment

What is the DevOps pipeline?

A pipeline in software engineering team is a set of automated processes which allows DevOps professionals and developer to reliably and efficiently compile, build, and deploy their code to their production compute platforms.

Which scripting tools are used in DevOps?

Both Python and Ruby scripting tools are used in the DevOps.

Explain Git Bisect?

Git Bisect helps to find the commit which introduced a bug using binary search.

What is the use of PTR in DNS?

PTR is a pointer record that is used for a reverse DNS lookup.