Microsoft GitHub Administration GH-100 Dumps in PDF

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

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:

F
Future practitioner
8/10/2023 1:26:00 PM

question 4 answer is c. this site shows the correct answer as b. "adopt a consumption model" is clearly a cost optimization design principle. looks like im done using this site to study!!!

A
Ace
8/3/2023 10:37:00 AM

number 52 answer is d

N
Nathan
12/17/2023 12:04:00 PM

just started preparing for my exam , and this site is so much help

C
Corey
12/29/2023 5:06:00 PM

question 35 is incorrect, the correct answer is c, it even states so: explanation: when a vm is infected with ransomware, you should not restore the vm to the infected vm. this is because the ransomware will still be present on the vm, and it will encrypt the files again. you should also not restore the vm to any vm within the companys subscription. this is because the ransomware could spread to other vms in the subscription. the best way to restore a vm that is infected with ransomware is to restore it to a new azure vm. this will ensure that the ransomware is not present on the new vm.

R
Rajender
10/18/2023 3:54:00 AM

i would like to take psm1 exam.

B
Blessious Phiri
8/14/2023 9:53:00 AM

cbd and pdb are key to the database

A
Alkaed
10/19/2022 10:41:00 AM

the purchase and download process is very much streamlined. the xengine application is very nice and user-friendly but there is always room for improvement.

D
Dave Gregen
9/4/2023 3:17:00 PM

please upload p_sapea_2023

S
Sarah
6/13/2023 1:42:00 PM

anyone use this? the question dont seem to follow other formats and terminology i have been studying im getting worried

S
Shuv
10/3/2023 8:19:00 AM

good questions

R
Reb974
8/5/2023 1:44:00 AM

hello are these questions valid for ms-102

M
Mchal
7/20/2023 3:38:00 AM

some questions are wrongly answered but its good nonetheless

S
Sonbir
8/8/2023 1:04:00 PM

how to get system serial number using intune

M
Manju
10/19/2023 1:19:00 PM

is it really helpful to pass the exam

L
LeAnne Hair
8/24/2023 12:47:00 PM

#229 in incorrect - all the customers require an annual review

A
Abdul SK
9/28/2023 11:42:00 PM

kindy upload

A
Aderonke
10/23/2023 12:53:00 PM

fantastic assessment on psm 1

S
SAJI
7/20/2023 2:51:00 AM

56 question correct answer a,b

R
Raj Kumar
10/23/2023 8:52:00 PM

thank you for providing the q bank

P
piyush keshari
7/7/2023 9:46:00 PM

true quesstions

B
B.A.J
11/6/2023 7:01:00 AM

i can´t believe ms asks things like this, seems to be only marketing material.

G
Guss
5/23/2023 12:28:00 PM

hi, could you please add the last update of ns0-527

R
Rond65
8/22/2023 4:39:00 PM

question #3 refers to vnet4 and vnet5. however, there is no vnet5 listed in the case study (testlet 2).

C
Cheers
12/13/2023 9:55:00 AM

sometimes it may be good some times it may be

S
Sumita Bose
7/21/2023 1:01:00 AM

qs 4 answer seems wrong- please check

A
Amit
9/7/2023 12:53:00 AM

very detailed explanation !

F
FisherGirl
5/16/2022 10:36:00 PM

the interactive nature of the test engine application makes the preparation process less boring.

C
Chiranthaka
9/20/2023 11:15:00 AM

very useful.

S
SK
7/15/2023 3:51:00 AM

complete question dump should be made available for practice.

G
Gamerrr420
5/25/2022 9:38:00 PM

i just passed my first exam. i got 2 exam dumps as part of the 50% sale. my second exam is under work. once i write that exam i report my result. but so far i am confident.

K
Kudu hgeur
9/21/2023 5:58:00 PM

nice create dewey stefen

A
Anorag
9/6/2023 9:24:00 AM

i just wrote this exam and it is still valid. the questions are exactly the same but there are about 4 or 5 questions that are answered incorrectly. so watch out for those. best of luck with your exam.

N
Nathan
1/10/2023 3:54:00 PM

passed my exam today. this is a good start to 2023.

1
1
10/28/2023 7:32:00 AM

great sharing

AI Tutor 👋 I’m here to help!