Recall & Review
beginner
What does CI/CD stand for in software development?
CI/CD stands for Continuous Integration and Continuous Delivery (or Continuous Deployment). It means automatically testing and delivering code changes to users quickly and safely.
Click to reveal answer
beginner
Why use a CI/CD pipeline for a Flask application?
A CI/CD pipeline helps catch errors early, speeds up delivery, and makes sure your Flask app updates smoothly without breaking for users.
Click to reveal answer
beginner
Name a common tool used for running automated tests in a Flask CI pipeline.
Pytest is a popular tool to run automated tests for Flask applications during the CI process.
Click to reveal answer
intermediate
What is the role of Docker in a CI/CD pipeline for Flask?
Docker packages your Flask app and its environment into a container, making it easy to test and deploy consistently across different machines.
Click to reveal answer
intermediate
Explain the difference between Continuous Delivery and Continuous Deployment.
Continuous Delivery means your code is always ready to be released but needs manual approval. Continuous Deployment means code changes are automatically released to users after passing tests.
Click to reveal answer
What is the first step in a typical CI/CD pipeline for a Flask app?
✗ Incorrect
The pipeline usually starts when code is pushed to the repository, triggering the next steps automatically.
Which file commonly defines the steps of a CI/CD pipeline in GitHub Actions?
✗ Incorrect
GitHub Actions workflows are defined in YAML files inside the .github/workflows directory.
What command installs dependencies listed in requirements.txt for a Flask app?
✗ Incorrect
The command 'pip install -r requirements.txt' installs all Python packages needed by the app.
In a CI/CD pipeline, what does 'automated testing' help prevent?
✗ Incorrect
Automated tests check code for errors and bugs before deployment.
Which tool can be used to deploy a Flask app to a cloud service in a CI/CD pipeline?
✗ Incorrect
Heroku CLI is used to deploy apps to the Heroku cloud platform.
Describe the main stages of a CI/CD pipeline for a Flask application.
Think about what happens from writing code to making it live.
You got /5 concepts.
Explain how Docker helps in deploying a Flask app in a CI/CD pipeline.
Imagine packing your app in a box that works anywhere.
You got /4 concepts.