GitHub Advanced Security GH-500 Exam Dumps & Practice Test
GitHub Advanced Security Questions 51–55 (page: 12)

Updated On: 16-Nov-2026

Which patterns are secret scanning validity checks available to?

  1. high entropy strings
  2. custom patterns
  3. push protection patterns
  4. partner patterns

Answer(s): B

Explanation:

Supported secrets
This table lists the secrets supported by secret scanning. You can see the types of alert that get generated for each token, as well as whether a validity check is performed on the token.
Provider: Name of the token provider.
Partner: Token for which leaks are reported to the relevant token partner. Applies to public repositories only.
*-> User: Token for which leaks are reported to users on GitHub.
Applies to public repositories, and to private repositories where GitHub Secret Protection and secret scanning are enabled.
-> Includes default tokens, which relate to supported patterns and specified *custom patterns*, as well as non-provider tokens such as private keys, which usually have a higher ratio of false positives.
For secret scanning to scan for non-provider patterns, the detection of non-provider patterns must be enabled for the repository or the organization.


Reference:

https://docs.github.com/en/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#sup ported-secrets



In the pull request, how can developers avoid adding new dependencies with known vulnerabilities?

  1. Enable Dependabot security updates.
  2. Add Dependabot rules.
  3. Enable Dependabot alerts.
  4. Add a workflow with the dependency review action.

Answer(s): D

Explanation:

You can use the dependency review action to help enforce dependency reviews on pull requests in your repository. The dependency review action scans your pull requests for dependency changes and raises an error if any new dependencies have known vulnerabilities.
Note: About dependency review
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
Dependency review allows you to "shift left". You can use the provided predictive information to catch vulnerable dependencies before they hit production.


Reference:

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/re viewing-dependency-changes-in-a-pull-request



Which of the following formats are used to describe a Dependabot alert? Each answer presents a complete solution. (Choose two.)

  1. Vulnerability Exploitability eXchange (VEX)
  2. Common Vulnerabilities and Exposures (CVE)
  3. Common Weakness Enumeration (CWE)
  4. Exploit Prediction Scoring System (EPSS)

Answer(s): A,C

Explanation:

Dependabot alerts utilize standardized identifiers to describe vulnerabilities:​
CVE (Common Vulnerabilities and Exposures):A widely recognized identifier for publicly known cybersecurity vulnerabilities.​
CWE (Common Weakness Enumeration):A category system for software weaknesses and vulnerabilities.​
These identifiers help developers understand the nature of the vulnerabilities and facilitate the search for more information or remediation strategies.​
Note:
Dependabot alerts utilize standardized identifiers like Common Vulnerabilities and Exposures (CVE) identifiers and GitHub Advisory IDs to describe vulnerabilities within your project's dependencies. These identifiers help link the specific vulnerability to a standardized database entry, providing more context and details about the issue.
--
Publicly disclosed CWEs used by the Dismiss low impact issues for development-scoped dependencies rule Along with the ecosystem:npm and scope:development alert metadata, we use the following GitHub-curated Common Weakness Enumerations (CWEs) to filter out low impact alerts for the Dismiss low impact issues for development-scoped dependencies rule. We regularly improve this list and vulnerability patterns covered by built-in rules.
Resource Management Issues
CWE-400 Uncontrolled Resource Consumption
CWE-770 Allocation of Resources Without Limits or Throttling
Etc.
Incorrect:
[Not A] Dependabot alerts, combined with Vulnerability Exploitability eXchange (VEX), help users understand and manage vulnerabilities in their dependencies. Dependabot provides alerts when vulnerable dependencies are found, and VEX adds context about whether those vulnerabilities are actually exploitable in a specific environment.
VEX (Vulnerability Exploitability eXchange):
Purpose:
VEX provides a standardized way to communicate whether a vulnerability is actually exploitable in a specific context, like a particular product or environment.
Functionality:
VEX can be used to convey that a vulnerability doesn't pose a risk in a specific scenario, potentially due to specific configurations or mitigations.
Example:
If a product uses a vulnerable component, but that component is not reachable or has a mitigation in place, VEX can be used to communicate that the vulnerability is not exploitable.
[Not D]
Dependabot helps users focus on the most important alerts by including EPSS scores that indicate likelihood of exploitation, now generally available [February 2025]
Dependabot alerts now feature the Exploit Prediction Scoring System (EPSS) from the global Forum of Incident Response and Security Teams (FIRST), helping you better assess vulnerability risks.
EPSS scores predict the likelihood of a vulnerability being exploited, with scores ranging from 0 to 1 (0 to 100%). Higher scores mean higher risk. We also show the EPSS score percentile, indicating how a vulnerability compares to others.
For example, a 90.534% EPSS score at the 95th percentile means:
90.534% chance of exploitation in the next 30 days
95% of other vulnerabilities are less likely to be exploited
You can use EPSS scores to help prioritize dependency vulnerabilities based on exploit likelihood.


Reference:

https://www.cisa.gov/sites/default/files/2023-01/VEX_Use_Cases_Aprill2022.pdf https://docs.github.com/en/code-security/dependabot/dependabot-auto-triage-rules/using-github-preset-rules-t o-prioritize-dependabot-alerts https://github.blog/changelog/2025-02-19-dependabot-helps-users-focus-on-the-most-important-alerts-by-inclu ding-epss-scores-that-indicate-likelihood-of-exploitation-now-generally-available/



Which of the following formats are used to describe a code scanning alert from CodeQL?

  1. Common Weakness Enumeration (CWE)
  2. Vulnerability Exploitability eXchange (VEX)
  3. GitHub Security Advisory (GHSA)
  4. Common Vulnerabilities and Exposures (CVE)

Answer(s): A

Explanation:

Common Weakness Enumeration (CWE) is used by CodeQL to describe the vulnerabilities it detects in code scanning alerts. CodeQL's queries are designed to identify a wide range of weaknesses, and each security query is associated with one or more specific CWEs, providing developers with standardized identifiers for the types of vulnerabilities found.
By associating alerts with CWEs, CodeQL provides a structured and informative approach to vulnerability management, making it easier for development teams to understand, address, and prevent security issues.
Note: The Common Weakness Enumeration (CWE) system is an industry-standard way of cataloging insecure software development patterns. CodeQL runs hundreds of queries out of the box that are able to detect an even greater number of CWEs. We went back through our existing queries, and aligned dozens of them with updated CWE IDs to give users better insight into the potential impact of a security issue when an alert is flagged up by code scanning.
Incorrect:
[Not B]
Vulnerability Exploitability eXchange (VEX) is not used by CodeQL; rather, CodeQL and VEX are complementary tools in software security: CodeQL identifies code vulnerabilities, while VEX communicates the exploitability of a vulnerability within a specific product context, helping users focus on relevant threats.
[Not C]
GitHub Advisories (GHSA) is a database of CVEs and GitHub-originated security advisories affecting the open source world. Advisories may or may not be documented in the National Vulnerability Database. Dependency-Track integrates with GHSA by mirroring advisories via GitHub's public GraphQL API.
[Not D]
CodeQL finds the vulnerability, and CVE provides the universally recognized identifier and description for that specific vulnerability, allowing for better communication and faster response within the cybersecurity community.
Common Vulnerabilities and Exposures (CVE) is a standardized dictionary that provides unique identifiers for publicly known cybersecurity weaknesses in software and hardware. Maintained by the MITRE Corporation and funded by the U.S. Department of Homeland Security, CVE ensures a common language for cybersecurity professionals to track, discuss, and address vulnerabilities effectively across the industry. Each CVE entry includes an identifier, a description, and references to publicly available information about the vulnerability.


Reference:

https://github.blog/changelog/2022-02-24-code-scanning-detects-more-security-issues-supports-new-language -versions/



What is code scanning?

  1. a feature to identify all your project’s dependencies
  2. a feature that analyzes the code in a GitHub repository to find security vulnerabilities and coding errors
  3. a feature to privately discuss, fix, and publish information about security vulnerabilities in your repository
  4. a feature that scans repositories for known types of secrets, to prevent fraudulent use of secrets that were committed accidentally

Answer(s): B

Explanation:

GitHub's Code scanning is a feature that analyzes the code in a GitHub repository to find security vulnerabilities and coding errors, providing alerts in the repository and offering tools to triage, prioritize, and fix issues. It acts as a Static Application Security Testing (SAST) tool, using engines like CodeQL to detect issues like SQL injection and Cross-Site Scripting (XSS), and can be triggered automatically on events like pushes and pull requests.


Reference:

https://docs.github.com/github/finding-security-vulnerabilities-and-errors-in-your-code



Viewing page 12 of 27
Viewing questions 51 - 55 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!