Matrix Strategy Configuration Quiz

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

Quiz covering Design and Implement Workflow Structure

What you'll be asked

  1. In a matrix strategy configuration, what is the primary purpose of the 'max-parallel' setting?
  2. You have a workflow matrix defined with 'os: [ubuntu-latest, windows-latest]' and 'node: [14, 16]'. How many total jobs will be created?
  3. When using the 'include' key in a matrix strategy, what happens to the existing matrix combinations?
  4. Which configuration approach is best if you want to run a specific job only on a specific OS version, while keeping the rest of the matrix standard?
  5. If you define a matrix with 'os: [ubuntu-latest, windows-latest]' and 'version: [1, 2]', but you use 'exclude' to remove '{os: ubuntu-latest, version: 2}', how many jobs will execute?

Answers and explanations come after you submit.