Question 6
GH-200 Practice Test
GH-200 Practice Test practice questions, page 2 of 5, with answer review and explanations.
Question 7
As a developer, you want to review the step that caused a workflow failure and the failed step's build logs, First navigate to the main page of the repository on GitHub, Which section contains the step failure information?
- Code
- Issues
- Actions
- Insights
- Pull requests
Question 8
As a developer, how can you identify a Docker container action on GitHub?
- The action's repository includes @actions/core in the root directory.
- The action.yml metadata file has the runs.using value set to Docker.
- The action.yml metadata file references a Dockerfile file.
- The action's repository name includes the keyword "Docker."
Question 9
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?
Question 10
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?
- For each GitHub repository, select Settings > Secrets and variables > Actions, and then add the secret.
- From your personal GitHub profile, select Settings > Developer settings > Secrets, and then add the secret.
- From the organization's page, select Settings > Security > Secrets, and then add the secret.
- From the organization's page, select Settings > Secrets and variables > Actions, and then add the secret.