8 What are the commands used to create a Docker swarm?
What is the difference between continuous delivery and continuous deployment?
Continuous Delivery | Continuous Deployment |
Ensures code can be safely deployed on to production | Every change that passes the automated tests is deployed to production automatically |
Ensures business applications and services function as expected | Makes software development and the release process faster and more robust |
Delivers every change to a production-like environment through rigorous automated testing | There is no explicit approval from a developer and requires a developed culture of monitoring |
1 What are the fundamental differences between DevOps & Agile?
The main differences between Agile and DevOps are summarized below:
Characteristics |
Agile |
DevOps |
Work Scope |
Only Agility |
Automation needed along with Agility |
Focus Area |
Main priority is Time and deadlines |
Quality and Time management are of equal priority |
Feedback Source |
The main source of feedback – customers |
The main source of feedback – self (tools used for monitoring) |
Practices or Processes followed |
Practices like Agile Kanban, Scrum, etc., are followed. |
Processes and practices like Continuous Development (CD), Continuous Integration (CI), etc., are followed. |
Development Sprints or Release cycles |
Release cycles are usually smaller. |
Release cycles are smaller, along with immediate feedback. |
Agility |
Only development agility is present. |
Both in operations and development, agility is followed. |
What is the role of AWS in DevOps?
AWS has the following role in DevOps:
3 What is Git bisect? How can you use it to determine the source of a (regression) bug?
Git bisect is a tool that uses binary search to locate the commit that triggered a bug.
The git bisect command is used in finding the bug performing commit in the project by using a binary search algorithm.
The bug occurring commit is called the âbadâ commit, and the commit before the bug occurring one is called the âgoodâ commit. We convey the same to the git bisect tool, and it picks a random commit between the two endpoints and prompts whether that one is the âgoodâ or âbadâ one. The process continues uptil the range is narrowed down and the exact commit that introduced the exact change is discovered.