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.)
Correct answer:
A. Specific actions can individually be enabled for the organization, including version information.
B. GitHub-verified actions can be collectively enabled for use in the enterprise.
F. Actions can be published to an internal marketplace
Question 12Choose 2
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.)
Correct answer:
B. key: the key created when saving a cache and the key used to search for a cache
D. path: the file path on the runner to cache or restore
Question 13Choose 1
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?
Correct answer:
D. Use the YAML shell: pwsh in a run step.
Question 14Choose 1
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?
Correct answer:
C. workflow_call
Question 15Choose 2
What are the two types of environment protection rules you can configure? (Choose two.)
Correct answer:
A. required reviewers
C. wait timer
Question 16Choose 1
As a developer, you need to integrate a GitHub Actions workflow with a third-party code quality provider that uses the Checks API. How should you trigger a follow-up workflow?
Correct answer:
B. Add the check_run webhook event as a trigger for the workflow when the code quality integration is completed
Question 17Choose 1
As a developer, your self-hosted runner sometimes looses connection while running jobs. How should you troubleshoot the issue affecting your self-hosted runner?
Correct answer:
C. Access the self-hosted runner's installation directory and look for log files in the _diag folder.
Question 18Choose 3
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.)
Correct answer:
A. Encrypt the dataset.
C. Store the dataset in a GitHub encrypted secret.
D. Store the encryption keys in a GitHub encrypted secret.
Question 19Choose 1
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?
Correct answer:
C. GET /repos/:owner/:repo/actions/runs/:run_id/logs
That's the last free question
You've seen the free 30% of every topic (19 of 64 questions). Get complete access for every question, explanation and the timed mock exam.
Get exam-ready with a timed GH 200 GitHub Actions Exam mock exam designed to match the official exam's question format, question count, and time limit.