Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free Microsoft GH-100 Practice Exam with Questions & Answers | Set: 2

Questions 11

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

Microsoft GH-100 Premium Access
Questions 12

You discover that a secret (e.g., a token or password) was accidentally committed to a GitHub repository. What is the first step you should take to mitigate the risk?

Options:
A.

Contact GitHub Support to remove the secret from all forks and clones of the repository.

B.

Revoke and/or rotate the secret to render it unusable, then assess whether history rewriting is necessary.

C.

Rewrite the repository history using git filter-repo or BFG Repo-Cleaner to remove the secret from all commits.

D.

Delete the repository and create a new one to ensure the secret is no longer accessible.

Questions 13

You are using GitHub-hosted runners and need to securely deploy to an internal system. The security team requires that these runners use IP address ranges that would not be shared with other companies. Which of the following approaches would meet their requirements?

Options:
A.

GitHub-hosted larger runners with Azure private networking

B.

GitHub-hosted standard runners, using the IP addresses provided in "actions" from https://api.github.com/meta

C.

GitHub-hosted standard runners, using the IP addresses provided in "api" from https://api.github.com/meta

D.

GitHub-hosted larger runners with static IP addresses

Questions 14

What additional capability does secret scanning offer for private repositories on GitHub Enterprise Cloud?

Options:
A.

Allows custom pattern definitions for internal secret formats.

B.

Disables any code that contains a secret.

C.

Rewrites history to remove secrets.

D.

Revokes GitHub access tokens automatically.

Questions 15

How does metered billing work in GitHub Enterprise Cloud with Enterprise Managed Users (EMU)?

Options:
A.

Billing is based on number of total users in the enterprise

B.

Billing is based on owners and members of GitHub organizations

C.

Billing is based on total users in the enterprise that are not dormant

D.

Billing is based on the number of users created in Azure AD

Questions 16

Which of the following are valid ways to pass data to a reusable workflow in a separate repository?

Options:
A.

Use environment variables to pass data directly to the reusable workflow.

B.

Define inputs in the reusable workflow and pass values from the calling workflow.

C.

Define the secrets in the caller repository and call the reusable workflow using the ‘secrets’ keyword.

D.

Define the secrets in the reusable workflow's repository and reference the secret using the ‘secrets’ context.

Questions 17

Why would a GitHub App be favored over a machine account for automation tasks?

Options:
A.

Machine accounts are required for webhook delivery.

B.

GitHub Apps provide a higher rate limit ceiling than using a personal access token on a machine account, when they use an install token and are owned by a GitHub Enterprise Cloud licensed enterprise.

C.

GitHub Apps are limited to a single repository.

D.

Machine accounts are easier to audit than GitHub Apps.

Questions 18

Which feature is unique to self-hosted runners?

Options:
A.

Execute scripts before and after a job

B.

Dynamic scaling

C.

Automatic updates to the operating system

D.

GPU support

Questions 19

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.