Flashcardsfor IT Certifications

D1: Strategy & Matrix

GH-200 GitHub Actions exam practice questions · 11 flashcards

Question
strategy.matrix?
1 / 11

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 11 Strategy & Matrix practice questions and answers
  1. strategy.matrix?
    Generates job variations across combinations of variables (OS, versions).
  2. include?
    Adds combinations or extra variables to specific combinations.
  3. exclude?
    Removes specific combinations.
  4. fail-fast?
    Default true: cancel in-progress matrix jobs if one fails; set false to run all.
  5. max-parallel?
    Limits concurrent matrix jobs.
  6. Matrix job limit?
    Up to 256 jobs per workflow run matrix.
  7. Referencing matrix values?
    ${{ matrix.os }}, ${{ matrix.node }}.
  8. Optimizing matrix cost?
    Exclude redundant combos, test edge versions only, run full matrix on main only.
  9. Runner image changes?
    ubuntu-20.04 deprecated/removed; windows-latest moving to Windows Server 2025 — pin explicit versions when needed.
  10. Dynamic matrix?
    Build matrix JSON in a prior job output and use fromJSON().
  11. Example: 3 OS × 3 Node versions?
    9 jobs.