Summer Sale- Special Discount Limited Time 65% Offer - Ends in 0d 00h 00m 00s - Coupon code: netdisc

Microsoft GH-100 GitHub Administration Exam Practice Test

Page: 1 / 7
Total 65 questions

GitHub Administration Questions and Answers

Question 1

Which of the following GitHub token types supports fine-grained repository permissions AND is recommended for CI/CD automation?

Options:

A.

Personal Access Tokens (PATs)

B.

GitHub App Installation Access Tokens

C.

Device Tokens

D.

OAuth tokens

Question 2

Which factor affects GitHub Actions pricing for GitHub-hosted runners on GitHub Enterprise Cloud?

Options:

A.

Number of workflows defined in .github/workflows/

B.

Number of contributors to the repository Explanation:Incorrect. Contributor count does not impact billing for Actions

C.

Total number of repositories using Actions

D.

Operating system used in the runner environment

Question 3

A token was used to access an organization's resource via API. What fields in the audit log help determine who used it?

Options:

A.

The token's permissions and the geographic region of access

B.

The token expiration date

C.

The GitHub Actions runner name

D.

The token ID, requesting IP address, and associated user

Question 4

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

Options:

A.

It creates a pull request to update the direct dependency to a version that resolves the vulnerability.

B.

It opens a pull request to update the affected package directly, regardless of version compatibility.

C.

It automatically removes the package from the repository.

D.

It sends an email to the repository owner but does not alter code.

Question 5

What is the new capability of GitHub's billing dashboard?

Options:

A.

Automatically removes unused users from billing

B.

Enables tracking of GitHub Copilot usage byuser

C.

Allows self-service plan upgrades

D.

Offers real-time Slack alerts for billing

Question 6

Which Git operation is not included in the Git activity audit log?

Options:

A.

Delete branch

B.

Fetch

C.

Push

D.

Clone

Question 7

Your organization is implementing team synchronization. Which of the following should you prioritize during the setup process?

Options:

A.

Disabling the audit log stream

B.

Setting an infrequent sync schedule to reduce performance impact

C.

Allowing manual updates to team memberships

D.

Clearly define how identity provider groups will align with GitHub teams and roles

Question 8

You want to ensure a secret is automatically available to only workflows in internal and private repositories in the organization. Where do you configure the required access policy?

Options:

A.

Actions policies

B.

Runner groups

C.

Rulesets

D.

Organization secret

Question 9

An organization wants to share a single API key required for their Actions workflows. They need to restrict its use to only a subset of repositories. Where should they configure the secrets to minimize maintenance?

Options:

A.

Repository secrets

B.

Environment secrets

C.

Organization secrets

D.

Development environment secrets

Question 10

What is the effect of enforcing a policy that restricts GitHub Actions to only those created by the enterprise?

Options:

A.

Marketplace actions are allowed only with SSO enabled

B.

Actions can only be triggered by organization members

C.

Only actions created within the enterprise are allowed

D.

All public actions are allowed

Question 11

What benefit does GitHub Advanced Security provide?

Options:

A.

helps organization administrators analyze and configure permissions to the least privilege required

B.

helps developers improve and maintain the security and quality of code

C.

helps enterprise administrators improve and maintain network security for their GitHub Enterprise Server instances

D.

helps organization administrators manage security tokens

Question 12

A team member is unable to push to a repository due to a 403-error related to branch protection. What should the GitHub Enterprise administrator do first?

Options:

A.

Remove the user from the team and re-add them

B.

Check the user's permissions and rulesets applied to the branch

C.

Raise a GitHub Support request for permissions issues

D.

Revert the branch to an earlier state

Question 13

Which of the following is a key benefit of using GitHub Marketplace Apps in an enterprise?

Options:

A.

They guarantee no downtime during enterprise GitHub maintenance windows

B.

They often include integrations with external services, reducing the need for custom code

C.

Apps eliminate the need for GitHub Actions entirely

D.

All apps come pre-approved by GitHub's internal security team

Question 14

What do you need to successfully generate a support bundle on a GitHub Enterprise Server?

Options:

A.

Approval from GitHub Support

B.

A custom GitHub Action in the root repo

C.

Administrator SSH access to the appliance

D.

A GitHub App with read:org permissions

Question 15

What needs to be done to ensure that only specific repositories can access the runners in an organization runner group?

Options:

A.

Use GitHub's meta API to configure access.

B.

Add a label to the runner group.

C.

Configure repository access in the runner group settings.

D.

Configure the Actions Policies to "Only selected repositories".

Question 16

Which GitHub feature is responsible for tracking dependencies and known vulnerabilities in those dependencies from an advisory database?

Options:

A.

Repository Insights

B.

Dependency Graph

C.

Security Policy

D.

CodeQL

Question 17

Which of the following actions can a user with Write permissions perform in a GitHub repository?

Options:

A.

Manage repository settings, such as labels and GitHub Pages.

B.

Push code to non-protected branches.

C.

Configure branch protection rules.

D.

Delete the repository.

Question 18

How is CodeQL different from other static analysis tools?

A Itremoves insecure code automatically

B. It allows querying of code semantics using a database-like language.

C. It only works for open-source projects.

D. It runs analysis only after a security breach.

Options:

Question 19

You need to create a support bundle for your GitHub Enterprise Server instance with the hostname ghe.avocado.corp. What command should you use to create a support bundle?

Options:

A.

ssh -p 122 adming@ghe.avocado.corp -- 'ghe-support-bundle -o' > support-bundle.tgz

B.

ssh -p 122 adming@ghe.avocado.corp – 'ghe-diagnostics' > support-bundle.tgz

C.

curl -u admin https://ghe.avocado.corp/diagnostics/support-bundle.tgz -o

D.

ssh -p 122 adming@ghe.avocado.corp -- 'ghe-config generate-support-bundle' > support-bundle.tgz

Page: 1 / 7
Total 65 questions