You need to perform a task that requires running a custom script in a GitHub Actions workflow. The script must run within the workflow environment without requiring an external container or prebuilt image.
What should you use?
Which workflows can use an action stored in an internal repository when repository access is enabled for the organization or enterprise?
(Each correct answer presents a complete solution. Choose two.)
While awaiting approval, how many days can a workflow be in the “Waiting” state before it automatically fails?
Which of the following is the most common way to target a specific major release version?
What are the two types of environment protection rules you can configure? (Choose two.)
You need to create new workflows to deploy to an unfamiliar cloud provider. What is the fastest and safest way to begin?
How can a workflow deployment mitigate the risk of multiple workflow runs deploying to a single cloud environment simultaneously?
(Each correct answer presents part of the solution. Choose two.)
Which command can you include in your workflow file to set the output parameter for an action?
As a developer, your self-hosted runner sometimes loses its connection while running jobs. How should you troubleshoot the issue affecting your self-hosted runner?
What will the output be for the following event trigger block in a workflow?
As a developer, you have configured an IP allow list on a GitHub organization. Which effects does the IP allow list have on GitHub Actions?
(Each correct answer presents a complete solution. Choose two.)
Which workflow command would output the debug message " action successfully debugged " ?
You need to use a specific version of an action. How should you use v1 of an actions/javascript-action repository in your workflow?
You are a DevOps engineer in ABC Corp. You need to schedule your deployment workflow twice a week at 7:45 UTC every Wednesday and Saturday. What is the appropriate YAML structure?
You are a developer working on developing reusable workflows for your organization. What keyword should be included as part of the reusable workflow event triggers?
Without the need to use additional infrastructure, what is the simplest and most maintainable method for configuring a workflow job to provide access to an empty PostgreSQL database?
As a developer, what is the safest way to reference an action to prevent modification of the underlying code?
As a developer, you need to create a custom action written in Python. Which action type should you choose?
Which two actions ensure that a GitHub Actions workflow can be triggered manually? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
As a developer, you have a 10-MB data set that is required in a specific workflow. Which steps should you perform so the dataset is stored encrypted and can be decrypted during the workflow? (Choose three.)
A single secret must be accessed by workflows in specific repositories. What is the best way to create the secret?
What are the two most significant advantages of adding documentation while distributing custom actions? Each correct answer presents a complete solution.
NOTE: Each correct answer is worth one point.
You have exactly one Windows x64 self-hosted runner, and it is configured with custom tools. Which syntax could you use in the workflow to target that runner?
Which choices represent best practices for publishing actions so that they can be consumed reliably?
(Each correct answer presents a complete solution. Choose two.)
As a developer, you are using a Docker container action in your workflow. What is required for the action to run successfully?
Where should workflow files be stored to be triggered by events in a repository?
As a DevOps engineer, you are trying to leverage an organization secret in a repo. The value received in the workflow is not the same as that set in the secret. What is the most likely reason for the difference?
As a developer, you need to leverage Redis in your workflow. What is the best way to use Redis on a self-hosted Linux runner without affecting future workflow runs?