GH-200 Practice Questions
GitHub Actions Exam
Last Update 3 days ago
Total Questions : 100
Dive into our fully updated and stable GH-200 practice test platform, featuring all the latest GitHub Administrator exam questions added this week. Our preparation tool is more than just a Microsoft study aid; it's a strategic advantage.
Our free GitHub Administrator practice questions crafted to reflect the domains and difficulty of the actual exam. The detailed rationales explain the 'why' behind each answer, reinforcing key concepts about GH-200. Use this test to pinpoint which areas you need to focus your study on.
Which of the following scenarios would require the use of self-hosted runners instead of GitHub-hosted runners?
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.)
Which choices represent best practices for publishing actions so that they can be consumed reliably? (Choose two.)
Which workflow command would output the debug message " action successfully debugged " ?
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?
You create a self-hosted runner labeled as runner1.
You need to ensure that a GitHub Actions workflow job runs only on runner1.
Which YAML statement should you use?
In the following workflow file, line 5 interprets lines 3 and 4 as Python. Which of the following is a valid option to complete line 5?
1 steps:
2 - run: |
3 import os
4 print(os.environ[ ' PATH ' ])
5
Which scopes are available to define custom environment variables within a workflow file? (Choose three.)
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 to implement the conditional execution of the job?
