GitHub Actions for ML Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering CI/CD for ML

What you'll be asked

  1. Which file path must a GitHub Actions workflow file be located in to be automatically triggered by the repository?
  2. In an MLOps CI/CD pipeline, why is it recommended to use 'caching' for dependencies like pip or conda?
  3. What is the primary purpose of using 'self-hosted runners' instead of GitHub-hosted runners in an ML pipeline?
  4. When building a CI pipeline for ML, why should you use 'strategy: matrix' in your workflow?
  5. You want to ensure that a model training job only triggers if changes are made to the 'src/model/' directory, but NOT when documentation changes. Which workflow configuration achieves this?

Answers and explanations come after you submit.