Consume and troubleshoot workflows Questions
Practice questions for Consume and troubleshoot workflows topic in GitHub Actions. 39 questions covering this domain.
Two parallel jobs in the same workflow both use `actions/upload-artifact@v4` with the artifact name `build-output`. What is the best fix?
What is the primary purpose of dependency caching in GitHub Actions?
Which feature should you use to share build output from one job to a later job in the same workflow run?
What does GitHub do when a downloaded artifact's computed digest does not match the digest recorded at upload time?
A team wants build artifacts from one workflow to expire sooner than the repository default. What should they configure when uploading the artifact?
A dependency cache lookup does not find an exact match for its primary key. What does GitHub Actions check next if `restore-keys` are defined?
What does a GitHub Actions workflow status badge indicate?
A workflow fails and an engineer uses the log search box but cannot find text from a failed step. What should they do first?
A job on a feature branch attempts to restore a dependency cache. Which source is checked after caches on the current branch if no match is found?
A repository has accumulated more than 10 GB of caches, and some entries have not been used for over a week. What behavior should the team expect?
A workflow calls a reusable workflow by a branch name. If you rerun all jobs for a previous run, which reusable workflow version is used?
An engineer debugs a shared automation and sees only one caller step in the logs, not the internal steps. Which reusable mechanism most likely caused ...
Workflow A calls reusable workflow B, and B calls reusable workflow C. C is not accessible to the original caller. What happens?
What branch does a workflow status badge show by default?
A workflow calls a reusable workflow by a branch name. If you rerun only a failed job from an earlier run, which reusable workflow version is used?
A team renamed the repository that hosted a reusable workflow, but left caller YAML unchanged. What should they expect?
A scheduled workflow on a public fork never runs, even though its cron syntax is valid. What is the documented reason?
A scheduled workflow in a public repository stopped running after long inactivity. What should you expect?
A job uses download-artifact without specifying a name. How are the files placed on disk?
A team wants a starting template that each repository can customize independently after creation. Which option fits best?
Sign in to see all 39 questions
Create a free account to browse all questions — completely free during our launch phase.