GitHub Advanced Security GH-500 Exam Dumps & Practice Test
GitHub Advanced Security Questions 26–30 (page: 7)

Updated On: 16-Nov-2026

If notification and alert recipients are not customized, which users receive notifications about new Dependabot alerts in an affected repository?

  1. users with Maintain privileges to the repository
  2. users with Read permissions to the repository
  3. users with Write permissions to the repository
  4. users with Admin privileges to the repository

Answer(s): C

Explanation:

Access to Dependabot alerts
You can see all of the alerts that affect a particular project on the repository's Security tab or in the repository's dependency graph.
By default, we notify people with write, maintain, or admin permissions in the affected repositories about new Dependabot alerts.
Write permissionis the minimum levelneeded to be automatically notified.


Reference:

https://docs.github.com/en/code-security/dependabot/dependabot-alerts/about-dependabot-alerts



Which of the following options are code scanning application programming interface (API) endpoints? Each answer presents part of the solution. (Choose two.)

  1. Delete all open code scanning alerts.
  2. List all open code scanning alerts for the default branch.
  3. Modify the severity of an open code scanning alert.
  4. Get a single code scanning alert.

Answer(s): C,D

Explanation:

REST API endpoints for code scanning
Use the REST API to retrieve and update code scanning alerts from a repository.
[D] Get a code scanning alert
Gets a single code scanning alert.
OAuth app tokens and personal access tokens (classic) need the security_events scope to use this endpoint with private or public repositories, or the public_repo scope to use this endpoint with only public repositories. Fine-grained access tokens for "Get a code scanning alert"
This endpoint works with the following fine-grained token types:
GitHub App user access tokens
GitHub App installation access tokens
Fine-grained personal access tokens
[C] Update a code scanning alert
Updates the status of a single code scanning alert. OAuth app tokens and personal access tokens (classic) need the security_events scope to use this endpoint with private or public repositories, or the public_repo scope to use this endpoint with only public repositories.


Reference:

https://docs.github.com/en/enterprise-server@3.17/rest/code-scanning/code-scanning?apiVersion=2022-11-28



By default, what is the minimum role needed to bypass push protection in a repository?

  1. Maintain
  2. Admin
  3. Triage
  4. Write

Answer(s): D

Explanation:

By default, when push protection is enabled for a repository, anyone with write access can still push a secret to the repository, provided that they specify a reason for bypassing push protection.


Reference:

https://docs.github.com/en/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protectio n-features/delegated-bypass-for-push-protection/about-delegated-bypass-for-push-protection



You have enabled security updates for a repository.
When does GitHub mark a Dependabot alert as resolved for that repository?

  1. when you merge a pull request that contains a security update
  2. when Dependabot creates a pull request to update dependencies
  3. when you dismiss the Dependabot alert
  4. when the pull request checks are successful

Answer(s): A

Explanation:

If you have enabled Dependabot security updates for your repository, the alert may also contain a link to a pull request to update the manifest or lock file to the minimum version that resolves the vulnerability.


Reference:

https://docs.github.com/en/code-security/dependabot/dependabot-alerts/about-dependabot-alerts



Which GitHub security feature should you use to see details of any vulnerable dependency versions within a pull request?

  1. dependency graph
  2. code scanning
  3. dependency review
  4. Dependabot alerts

Answer(s): C

Explanation:

Dependency review helps you understand dependency changes and the security impact of these changes at every pull request. It provides an easily understandable visualization of dependency changes with a rich diff on the "Files Changed" tab of a pull request. Dependency review informs you of:
Which dependencies were added, removed, or updated, along with the release dates
How many projects use these components
Vulnerability data for these dependencies


Reference:

https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/abo ut-dependency-review



Viewing page 7 of 27
Viewing questions 26 - 30 out of 127 questions


Post your Comments and Discuss Microsoft GH-500 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!