GH-100 Exam Dumps & Practice Test
GitHub Administration Questions 26–30 (page: 7)

Updated On: 16-Nov-2026

You need GitHub to automatically notify a third-party service whenever a new repository is created. You want to avoid writing custom code. The vendor provides a tool in the GitHub Marketplace.
Which two types of tools should you use? Each correct answer presents part of the solution.
Note: Each correct answer is worth one point.

  1. GitHub App
  2. GitHub Copilot Extension
  3. GitHub Action
  4. GitHub Models

Answer(s): A,C

Explanation:

- GitHub App integrates GitHub with external services and can receive webhook notifications when repositories are created.
- GitHub Action provides reusable automation from GitHub Marketplace to interact with third-party services without writing custom integration code.
GitHub Marketplace supports both GitHub Apps and GitHub Actions. However, for notifications specifically triggered by new repository creation, a GitHub App using webhooks is the more direct solution.


Reference:

https://docs.github.com/en/apps/github-marketplace/github-marketplace-overview/about-github-marketplace-fo r-apps https://docs.github.com/en/enterprise-server@3.20/admin/concepts/enterprise-fundamentals/automations-in-y our-enterprise



Which scenario demonstrates poor CI/CD design for a GitHub Enterprise environment?

  1. A team stores secrets in GitHub Environments with required approvals
  2. Teams use matrix strategies to test against multiple versions
  3. All workflows trigger on every push across all branches
  4. Workflows are separated by purpose (e.g., build, test, deploy)

Answer(s): C

Explanation:

Triggering every workflow on every push can cause unnecessary executions, increased CI/CD costs, resource contention, and longer build queues. Well-designed workflows use appropriate event triggers and branch filters to optimize efficiency.



What will happen if Dependabot discovers a vulnerable transitive dependency in a repository?

  1. It creates a pull request to update the direct dependency to a version that resolves the vulnerability.
  2. It opens a pull request to update the affected package directly, regardless of version compatibility.
  3. It automatically removes the package from the repository.
  4. It sends an email to the repository owner but does not alter code.

Answer(s): A

Explanation:

Dependabot will automatically open a pull request that updates the direct dependency to a version which, in turn, resolves (or removes) the vulnerable transitive dependency—ensuring the fix is applied via your declared dependencies.



An organization wants to restrict an organization-level secret to only three repositories.
Which two options should you use? Each correct answer presents part of the solution.
Note: Each correct answer is worth one point.

  1. Configure a repository ruleset.
  2. Use the GitHub CLI to set the secret and specify the repositories.
  3. Use a custom repository property.
  4. Use the GitHub web interface to restrict the secret to specific repositories.

Answer(s): B,D

Explanation:

The gh secret set command supports the --repos option to restrict an organization-level secret to selected repositories.
Organization administrators can configure the secret's repository access policy and select the three authorized repositories.



What information does the API activity audit log provide that is most useful in identifying potential credential misuse?

  1. The number of repositories owned by the user
  2. The theme color of the user’s GitHub interface
  3. The IP address and token ID used for the API call
  4. A list of starred repositories by the token owner

Answer(s): C

Explanation:

GitHub's API activity audit log records information such as the source IP address and token identifier. Administrators can use these details to identify suspicious API requests, investigate potential credential misuse, and trace activity associated with compromised tokens.



Viewing page 7 of 36
Viewing questions 26 - 30 out of 171 questions


Post your Comments and Discuss Microsoft GH-100 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!