DevOps Flashcards

1
Q

What is the purpose of DevOps?

A

It bridges the gap between development and operations by bringing both together for the entire SDLC.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Is DevOps a methodology? What is it focused on?

A

No, it is a culture-shift focused on building and operating at high velocity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the DevOps approach, and what areas does it entail? (List six.)

A

Approach is continuous:

  1. Development
  2. Integration
  3. Testing
  4. Deployment
  5. Delivery
  6. Monitoring
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are five benefits to DevOps?

A
  1. Assessing quality at every stage of development = higher quality, fewer defects
  2. Releasing small increments frequently = early and frequent feedback
  3. On-time delivery
  4. Reduction in vendor and third-party issues
  5. Faster time to market
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are three misconceptions of DevOps?

A
  1. It does not eliminate any roles from either dev or Ops
  2. It is not a separate team
  3. It is not a tool
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Define continuous integration (CI). What does it ensure?

A

The practice of merging all developers’ working code into a main branch of the code base in a shared repository several times a day.

Ensures that the application does not break when new commits are integrated.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are commits? How are they validated?

A

Developer’s changes, which are validated by creating a build and running automated tests against the build.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Define continuous delivery. What does it require?

A

Builds on the CI process, ensures that software can be reliably released at any time. Requires an automated release process and a way to easily deploy applications at any time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Define continuous deployment (CD). When is CD continuous delivery?

A

Takes the continuous delivery process a step further in that when a change passes all stages of the DevOps pipeline and is released, the deployment is automatic.

CD is continuous delivery when the releases happen automatically.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Define continuous testing. What does success of continuous testing rely on?

A

The repeated execution of tests against a codebase. Success relies on testing and ops teams being integrated with development teams.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Continuous testing is NOT ___________.

A

A separate activity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is highly encouraged to be used during continuous testing?

A

Drivers and stubs to test “what-if” scenarios and dependencies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is continuous monitoring? What does it help do?

A

Allows DevOps team to constantly monitor the application in a production environment to ensure that it is performing at an optimal level and that the environment is stable.

Helps in diagnosing and fixing errors as soon as they are found.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the simplest DevOps pipeline? List and define the five stages.

A

Plan—>Code—>Build—>Staging—>Deployment

  1. Planning stage is where requirements are gathered, tested, and polished
  2. Coding stage is where developer’s source code must be accompanied by successfully executed unit tests
  3. Build stage is where commits trigger
  4. Staging is where integration and other necessary tests are executed
  5. Deployment stage is where code can be deployed to a pre-prod environment to run more tests or deployed to prod
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Describe DevOps testing during the planning stage.

A

Pre-CI/CD testing involves gathering requirements accurately and making sure they are testable by creating proper acceptance criteria.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are static testing techniques and at what stage in DevOps testing does it occur?

A

Consists of reviews and static analysis, should be used to ensure that defects from working products are eliminated as much as possible.

Occurs during test planning.

17
Q

At what DevOps stage do unit and integration tests occur?

A

During coding and building.

18
Q

Describe testing during the DevOps staging stage. (i.e., what is necessary regarding the staging environment?

A

Critical factor is that the environment that testing is taking place in during staging must match the prod environment

19
Q

What is DevSecOps, what does it require, and at what DevOps stage does testing take place in?

A

Includes cybersecurity testing, requires a partnership with security experts. Testing occurs in the staging process.

20
Q

Describe the type of testing that occurs during deployment.

A

Smoke tests for an entire application are performed to ensure that it run correctly.

21
Q

What is infrastructure as code?

A

Key element in DevOps, includes the process and technology needed to provision and manage environments through sprints.

22
Q

What is the DevOps tool chain?

A

Combination of tools that help in all areas of the SDLC lifecycle.