You need to make a script to retrieve workflow run logs via the API. Which is the correct API to download a workflow run log?
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 default environment variable specifies the branch or tag that triggered a workflow?
When creating and managing custom actions in an enterprise setting, which of the following is considered a best practice?
A development team has been using a Powershell script to compile and package their solution using existing tools on a Linux VM, which has been configured as a self-hosted runner. They would like to use the script as-is in an automated workflow. Which of the following should they do to invoke their script within a workflow step?
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)

As a developer, which of the following snippets will enable you to run the commands npm ci and npm run build as part of a workflow?
While writing a custom action, some behavior within the runner must be changed. Which workflow commands would set an error message in the runner ' s output?
(Each correct answer presents a complete solution. Choose two.)
Your organization is managing secrets using GitHub encrypted secrets, including a secret named SuperSecret. As a developer, you need to create a version of that secret that contains a different value for use in a workflow that is scoped to a specific repository named MyRepo. How should you store the secret to access your specific version within your workflow?
Which default GitHub environment variable indicates the owner and repository name?
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? (Choose two.)
What are the two types of environment protection rules you can configure? (Choose two.)
You are a DevOps engineer working on deployment workflows. You need to execute the deploy job only if the current branch name is feature-branch. Which code snippet will help you implement the conditional execution of the job?
As a developer, you need to create a custom action written in Python. Which action type should you choose?
As a DevOps engineer, you are developing a composite action. You have a step that needs to be executed against a subdirectory. Which code snippet should you use within the composite action to specify the directory?
As a developer, you are authoring a workflow that will deploy to both DevCloud and TestCloud resources. Each cloud resource is accessed with a different deployment key. Which approach best allows you to use the same reusable workflow in separate jobs to target the different cloud resources?
What is the most secure way to store sensitive information in GitHub Actions workflows?
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?
Which of the following is the proper syntax to specify a custom environment variable named MY_VARIABLE with the value my-value?
Which statement accurately describes using labels to route GitHub Actions workflows to runners?
As a developer, you need to use GitHub Actions to deploy a microservice that requires runtime access to a secure token. This token is used by a variety of other microservices managed by different teams in different repos. To minimize management overhead and ensure the token is secure, which mechanisms should you use to store and access the token? (Choose two.)
You need to trigger a workflow using the GitHub API for activity that happens outside of GitHub. Which workflow event do you use?
Which command can you include in your workflow file to set the output parameter for an action?
An organization ' s policies specify that only local actions are allowed. How should actions be distributed for this organization?
You need to use a specific version of an action. How should you use v1 of an actions/javascript-action repository in your workflow?
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, your self-hosted runner sometimes loses its connection while running jobs. How should you troubleshoot the issue affecting your self-hosted runner?
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.)
Which of the following commands will set the $FOO environment variable within a script, so that it may be used in subsequent workflow job steps?
Which choices represent best practices for publishing actions so that they can be consumed reliably?
(Each correct answer presents a complete solution. Choose two.)
Your organization needs to simplify reusing and maintaining automation in your GitHub Enterprise Cloud. Which components can be directly reused across all repositories in an organization? (Choose three.)
Your organization has a secret that must be available to all the repositories within GitHub Actions workflows.
You need to store the secret. The solution must minimize administrative effort.
What should you do in GitHub?