Recall & Review
beginner
What does CI stand for in DevOps?
CI stands for Continuous Integration. It means automatically combining code changes from many developers into a shared main branch frequently.
Click to reveal answer
beginner
What is the main goal of a CD pipeline?
CD stands for Continuous Delivery or Continuous Deployment. Its goal is to automatically prepare and release code changes to production or staging environments safely and quickly.
Click to reveal answer
beginner
Name three common stages in a CI/CD pipeline.
Common stages include: 1) Build - compiling and preparing code, 2) Test - running automated tests, 3) Deploy - releasing code to an environment.
Click to reveal answer
beginner
Why is automated testing important in CI/CD?
Automated tests quickly check if new code breaks anything. This helps catch errors early and keeps the software reliable.
Click to reveal answer
beginner
How does a CI/CD pipeline help a Django project?
It automates building, testing, and deploying Django code. This saves time, reduces mistakes, and delivers updates faster to users.
Click to reveal answer
What is the first step in a typical CI/CD pipeline?
✗ Incorrect
The pipeline usually starts by building the code to prepare it for testing and deployment.
Which of these is NOT a benefit of CI/CD?
✗ Incorrect
CI/CD reduces manual deployments, which are error-prone. So manual error-prone deployments are not a benefit.
In a Django project, what tool might you use to run tests in a CI pipeline?
✗ Incorrect
pytest or Django's built-in test runner are used to run tests in Django projects.
What does Continuous Deployment mean?
✗ Incorrect
Continuous Deployment means every change that passes tests is automatically released to production.
Which stage ensures code changes do not break existing features?
✗ Incorrect
Testing runs automated checks to make sure new code does not break existing features.
Explain the main steps of a CI/CD pipeline and why each is important.
Think about how code moves from writing to running live.
You got /4 concepts.
Describe how using a CI/CD pipeline benefits a Django web application project.
Consider what happens without automation.
You got /4 concepts.