GitHub Actions Certificate Exam Questions and Answers
When creating and managing custom actions in an enterprise setting, which of the following is considered a best practice?
What are the advantages of using a matrix strategy in a job definition? (Choose two.)
As a developer, what options should you recommend to implement standards for automation reuse? (Choose two.)
How many jobs will result from the following matrix configuration?
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?
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)
Based on the YAML below, which two statements are correct? (Choose two.)
As a developer, how can you identify a Docker container action on GitHub?
Which action type should be used to bundle a series of run steps into a reusable custom action?
What will the output be for the following event trigger block in a workflow?
How should you install the bats NPM package in your workflow?
A)
B)
C)
D)
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.)
Which choices represent best practices for publishing actions so that they can be consumed reliably? (Choose two.)
What is the right method to ensure users approve a workflow before the next step proceeds?
Which default GitHub environment variable indicates the owner and repository name?
What are the two ways to pass data between jobs? (Choose two.)
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.)
As a developer, your Actions workflow often reuses the same outputs or downloaded dependencies from one run to another. To cache dependencies for a job, you are using the GitHub cache action. Which input parameters are required for this action? (Choose two.)
Where should workflow files be stored to be triggered by events in a repository?
What menu options in a repository do you need to select in order to use a starter workflow that is provided by your organization?
As a developer, you are designing a workflow and need to communicate with the runner machine to set environment variables, output values used by other actions, add debug messages to the output logs, and other tasks. Which of the following options should you use?