Microsoft GitHub Administration GH-100 Dumps in PDF

Free Microsoft GH-100 Real Questions (page: 13)

HOTSPOT (Drag and Drop is not supported)
You have a GitHub Enterprise Cloud Organization that uses GitHub Actions for CI in private repositories. The repositories are used to develop apps that process sensitive data.
A GitHub Actions usage metrics report shows the following GitHub-hosted minutes:
● Windows: 60,000
● macOS: 120,000
● Linux: 70,000
You plan to reduce monthly GitHub Actions costs, while maintaining CI throughput for high-usage repositories.
You need to reduce the billed GitHub-hosted minutes for the private repositories. The solution must minimize the risk of sensitive data exposure.
What should you do? To answer, select the appropriate options in the answer area.
Note: Each correct selection is worth one point.
Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Self-hosted runners: Moving high-volume jobs to self-hosted runners reduces billed GitHub-hosted minutes while maintaining CI capacity. Keeping runners within a secured, organization-controlled environment helps protect sensitive data.
Restrict workflow triggers: Running selected workflows only on pushes to main reduces unnecessary executions and GitHub-hosted minute consumption.
Disabling all workflows that use caching reduces CI coverage for feature branches and pull requests, so it should be applied only to workflows that do not require PR validation.



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.



How does Dependabot determine which security update PRs to open?

  1. It waits for manual triage of all CVEs.
  2. It uses the dependency graph and Dependabot alerts to open PRs for patched versions.
  3. It reads the GitHub Issues and automatically suggests fixes.
  4. It compares your codebase to the GitHub Trending list.

Answer(s): B

Explanation:

Dependabot relies on your repository’s enabled Dependency Graph and Dependabot Alerts to identify vulnerable dependencies; it then automatically opens pull requests to update to the patched versions that resolve those alerts.



You are an administrator and need to write a script that will change the visibility of all repositories in the organization to private.
Which two commands should the script pass to the API endpoint? Each correct answer presents part of the solution.
Note: Each correct answer is worth one point.

  1. enterprise
  2. owner
  3. repo
  4. privacy

Answer(s): B,C

Explanation:

The GitHub REST API uses the endpoint PATCH /repos/{owner}/{repo} to update repository settings, including visibility. The script must specify the organization as owner, each repository as repo, and set visibility to private.



Share your comments for Microsoft GH-100 exam with other users:

J
Jorn
7/13/2023 5:05:00 AM

relevant questions

A
AM
6/20/2023 7:54:00 PM

please post

N
Nagendra Pedipina
7/13/2023 2:22:00 AM

q:42 there has to be a image in the question to choose what does it mean from the options

B
BrainDumpee
11/18/2023 1:36:00 PM

looking for cphq dumps, where can i find these for free? please and thank you.

S
sheik
10/14/2023 11:37:00 AM

@aarun , thanks for the information. it would be great help if you share your email

R
Random user
12/11/2023 1:34:00 AM

1z0-1078-23 need this dumps

L
labuschanka
11/16/2023 6:06:00 PM

i gave the microsoft azure az-500 tests and prepared from this site as it has latest mock tests available which helped me evaluate my performance and score 919/1000

M
Marianne
10/22/2023 11:57:00 PM

i cannot see the button to go to the questions

S
sushant
6/28/2023 4:52:00 AM

good questions

A
A\MAM
6/27/2023 5:17:00 PM

q-6 ans-b correct. https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-cli-quick-start/use-the-cli/commit-configuration-changes

U
unanimous
12/15/2023 6:38:00 AM

very nice very nice

A
akminocha
9/28/2023 10:36:00 AM

please help us with 1z0-1107-2 dumps

J
Jefi
9/4/2023 8:15:00 AM

please upload the practice questions

T
Thembelani
5/30/2023 2:45:00 AM

need this dumps

A
Abduraimov
4/19/2023 12:43:00 AM

preparing for this exam is overwhelming. you cannot pass without the help of these exam dumps.

P
Puneeth
10/5/2023 2:06:00 AM

new to this site but i feel it is good

A
Ashok Kumar
1/2/2024 6:53:00 AM

the correct answer to q8 is b. explanation since the mule app has a dependency, it is necessary to include project modules and dependencies to make sure the app will run successfully on the runtime on any other machine. source code of the component that the mule app is dependent of does not need to be included in the exported jar file, because the source code is not being used while executing an app. compiled code is being used instead.

M
Merry
7/30/2023 6:57:00 AM

good questions

V
VoiceofMidnight
12/17/2023 4:07:00 PM

Delayed the exam until December 29th.

U
Umar Ali
8/29/2023 2:59:00 PM

A and D are True

V
vel
8/28/2023 9:17:09 AM

good one with explanation

G
Gurdeep
1/18/2024 4:00:15 PM

This is one of the most useful study guides I have ever used.

AI Tutor 👋 I’m here to help!