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.
Answer(s): A,C
- 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.
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?
Answer(s): C
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?
Answer(s): A
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.
Answer(s): B,D
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?
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.
Post your Comments and Discuss Microsoft GH-100 exam prep with other Community members: