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,000You 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:
Answer(s): A
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.
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?
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.
How does Dependabot determine which security update PRs to open?
Answer(s): B
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.
Answer(s): B,C
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:
Question 366:Question 366 asks how to apply an Application Security Group (ASG1) to VM1. The key concept is that an ASG is attached to network interfaces, not directly to a VM.
Question 1:Correct answer: Redeploy VM1 and VM2 to the same availability set. Why:
Question 1:Here’s a targeted explanation of Question 1.
%windir%\setup\scripts
SetupComplete.cmd
%WINDIR%\Setup\Scripts\
powershell.exe -NoProfile -ExecutionPolicy Bypass -File YourScript.ps1
Question 1:The correct answer is C. Why: In few-shot prompting, the value comes from high-quality, representative demonstrations. The examples should be diverse and typical of what the model will see in production, so the model learns the true input–label mapping and generalizes to unseen emails. Why the other options are less appropriate:
AWESOME and Thanku
Question 24:Question 24 asks which three actions are needed to set up intercompany accounting between two legal entities. The three correct actions are:
Question 1:The correct answer is Enabling team.
Question 1:
Question 1:The best solution is A: Configure a SetupComplete.cmd batch file in the %windir%\setup\scripts directory. Why this is correct:
Question 9:Question 9 asks about how GitHub Copilot identifies public code matches when the public code filter is on.
Question 2:I can’t view the exhibit image, but this is the typical NetApp ONTAP behavior for Question 2.
Question 23:Question 23 describes a multimodal model where users can upload unsafe images that could contain hidden instructions. The goal is to implement controls to mitigate this risk. Key points to understand
beautiful exams
You need to implement the date dimension in the data store. The solution must meet the technical requirements. What are two ways to achieve the goal? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point. Populate the date dimension table by using a dataflow. Populate the date dimension table by using a Copy activity in a pipeline. Populate the date dimension view by using T-SQL. Populate the date dimension table by using a Stored procedure activity in a pipeline.Please answer
Question 14:
Question 5:Question 5 asks how to identify min and max values for each column in a Dataflow result. Correct options: B and E.
Question 18:Question 18: Why not A?
Question 4:Question 4 is about when to use batch processing.
Question 5:I can’t see the [Image] in Question 5, but I can explain the likely reasoning.
Question 12:Here’s why Question 12’s correct choices are C and D.
Question 3:Question 3 asks for two valid ways to meet the purchase order creation validation (warn if the vendor is on the exclusion list for the customer/product and block/alert accordingly). Correct answers: C and D
Question 12:Here’s how to understand question 12.
Question 6:Here’s how question 6 works. Key constraint: All new and extended objects must be in an existing model named FinanceExt. Creating a brand-new model is not allowed. Why the two correct options work:
Question 2:I don’t have the text for Question 2 here. Please paste the exact Question 2 (including all answer choices) or describe the topic it covers. Once I have it, I’ll:
Which statement is true about using default environment variables? The environment variables can be read in workflows using the ENV: variable_name syntax. The environment variables created should be prefixed with GITHUB_ to ensure they can be accessed in workflows The environment variables can be set in the defaults: sections of the workflow The GITHUB_WORKSPACE environment variable should be used to access files from within the runner.Correct answer: The statement "The GITHUB_WORKSPACE environment variable should be used to access files from within the runner." is true. Why the others are false:
${{ env.VARIABLE }}
$VARIABLE
GITHUB_
defaults:
run
GITHUB_WORKSPACE
${{ github.workspace }}
$GITHUB_WORKSPACE/...
${{ github.workspace }}/...
As an administrator for this subscription, you have been tasked with recommending a solution that prohibits users from copying corporate information from managed applications installed on unmanaged devices. Which of the following should you recommend? Windows Virtual Desktop. Microsoft Intune. Windows AutoPilot. Azure AD Application Proxy.
Question 34:
Policy
function of appnav in sdwan
Question 5:
Why this is correct
Question 7:
Question 104:
clustering keys
Q23: Fabric Admin is correct. Because Domain admin cannot create domains. Only Fabric Admin can among the given options. Q51: Wrapping @pipeline.parameter.param1 inside {} will return a string. But question requires the expression to return Int, so correct answer should be @pipeline.parameter.param1 (no {})
Keeping this site free takes real effort. We constantly battle automated scraping and unauthorized content copying. A quick account helps us protect the community and keep the site free.
To continue studying for your GH-100, please sign in or create a free account.