Free GitHub-Actions Practice Test Questions and Answers (2026) | Cert Empire Practice Questions
Free preview: 20 questions.
GITHUB GITHUB ACTIONS
Q: 1
Which choices represent best practices for publishing actions so that they can be consumed reliably?
(Choose two.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 2
How should you install the bats NPM package in your workflow?
A)
B)
C)
D)

B)
C)
D)

Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 3
As a developer, you want to run a workflow from the Actions tab in GitHub. Which YAML snippet
should you use to match the interface in this image?
A)
B)
C)
D)

A)
B)
C)
D)

Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 4
You installed specific software on a Linux self-hosted runner. You have users with workflows that
need to be able to select the runner based on the identified custom software. Which steps should
you perform to prepare the runner and your users to run these workflows? (Choose two.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 5
As a developer, what options should you recommend to implement standards for automation reuse?
(Choose two.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 6
You are reaching your organization's storage limit for GitHub artifacts and packages. What should you
do to prevent the storage limit from being reached?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 7
As a DevOps engineer, you are developing a container action. You need to execute a cleanup script after completing the main script execution. Which code block should be used to define the cleanup script?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 8
How many jobs will result from the following matrix configuration?


Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 9
GitHub-hosted runners support which capabilities? (Choose two.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 10
As a developer, you need to make sure that only actions from trusted sources are available for use in
your GitHub Enterprise Cloud organization. Which of the following statements are true? (Choose
three.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 11
How can GitHub Actions encrypted secrets be used in if: conditionals within a workflow job?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 12
Which of the following is the best way for an enterprise to prevent certain marketplace actions from
running?
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 13
As a developer, you are optimizing a GitHub workflow that uses and produces many different files.
You need to determine when to use caching versus workflow artifacts. Which two statements are
true? (Choose two.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 14
You are a developer, and your container jobs are failing on a self-hosted runner. Which requirements
must you check to ensure that the self-hosted runner is properly configured? (Choose two.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Q: 15
In which scenarios could the GITHUB_TOKEN be used? (Choose two.)
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.
Question 1 of 20