Halloween Special Sale 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: sale75best

Free Microsoft GH-500 Practice Exam with Questions & Answers

Questions 1

Which top-level keys are mandatory for the dependabot.yml file? (Each answer presents part of the solution. Choose two.)

Options:
A.

updates

B.

version

C.

registries

D.

assignees

Microsoft GH-500 Premium Access
Questions 2

What is the minimum role needed in order to view the secret scanning alerts list within the Security tab of a repository?

Options:
A.

Admin

B.

Read

C.

Repository owner

D.

Write

Questions 3

If default code security settings have not been changed at the repository, organization, or enterprise level, which repositories receive Dependabot alerts?

Options:
A.

Repositories owned by an enterprise account

B.

Private repositories

C.

None

D.

Repositories owned by an organization

Questions 4

What do you need to do before you can define a custom pattern for a repository?​

Options:
A.

Provide a regular expression for the format of your secret pattern.

B.

Add a secret scanning custom pattern.

C.

Enable secret scanning on the repository.

D.

Provide match requirements for the secret format.​

Stack Overflow

Questions 5

As a repository owner, you want to receive specific notifications, including security alerts, for an individual repository. Which repository notification setting should you use?

Options:
A.

Ignore

B.

Participating and @mentions

C.

All Activity

D.

Custom

Questions 6

Assuming there is no custom Dependabot behavior configured, where possible, what does Dependabot do after sending an alert about a vulnerable dependency in a repository?

Options:
A.

Creates a pull request to upgrade the vulnerable dependency to the minimum possible secure version

B.

Scans repositories for vulnerable dependencies on a schedule and adds those files to a manifest

C.

Constructs a graph of all the repository's dependencies and public dependents for the default branch

D.

Scans any push to all branches and generates an alert for each vulnerable repository

Questions 7

By default, where will secret scanning look in a repository in order to execute its job? (Each correct answer presents part of the solution. Choose three.)

Options:
A.

Dependencies

B.

Selected files in the repository

C.

All branches

D.

Full commit history

E.

All files in the repository

Questions 8

Why should you dismiss a code scanning alert?

Options:
A.

If you fix the code that triggered the alert

B.

To prevent developers from introducing new problems

C.

If it includes an error in code that is used only for testing

D.

If there is a production error in your code

Questions 9

Which alerts do you see in the repository's Security tab? (Each answer presents part of the solution. Choose three.)

Options:
A.

Repository permissions

B.

Secret scanning alerts

C.

Dependabot alerts

D.

Security status alerts

E.

Code scanning alerts

Questions 10

Where can you find the vulnerable dependencies that GitHub detected in your repository?

Options:
A.

In Dependabot alerts

B.

In secret scanning alerts

C.

In security advisories

D.

In code scanning alerts

Exam Code: GH-500
Certification Provider: Microsoft
Exam Name: GitHub Advanced Security Exam
Last Update: Oct 18, 2026
Questions: 125