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

ExamsBrite Dumps

GitHub Advanced Security Exam Question and Answers

GitHub Advanced Security Exam

Last Update Oct 24, 2026
Total Questions : 125

We are offering FREE GH-500 Microsoft exam questions. All you do is to just go and sign up. Give your details, prepare GH-500 free exam questions and then go for complete pool of GitHub Advanced Security Exam test questions that will help you more.

GH-500 pdf

GH-500 PDF

$28.75  $114.99
GH-500 Engine

GH-500 Testing Engine

$33.75  $134.99
GH-500 PDF + Engine

GH-500 PDF + Testing Engine

$43.75  $174.99
Questions 1

What CodeQL query information must you specify to identify the results as a simple alert?

Options:

A.  

@kind problem

B.  

@kind diagnostic

C.  

@kind path-problem

D.  

@kind metric

Discussion 0
Questions 2

Dependabot has created a pull request. Which of the following commands should you use in a comment to prevent Dependabot from re-creating the same pull request?

Options:

A.  

@dependabot recreate

B.  

@dependabot ignore this dependency

C.  

@dependabot close

D.  

@dependabot rebase

Discussion 0
Questions 3

What happens when you remove someone's access to a private repository?

Options:

A.  

Local clones of the private repository are deleted.

B.  

Team access to a private repository is revoked.

C.  

Their forks of that private repository are deleted.

D.  

Confidential information is deleted.

Discussion 0
Questions 4

What is required to trigger code scanning on a specified branch?

Options:

A.  

The repository must be private.

B.  

Secret scanning must be enabled on the repository.

C.  

Developers must actively maintain the repository.

D.  

The workflow file must exist in that branch.

Discussion 0
Questions 5

What YAML syntax do you use to exclude certain files from secret scanning?

Options:

A.  

decrypt_secret.sh

B.  

paths-ignore:

C.  

branches-ignore:

D.  

secret scanning.yml

Discussion 0
Questions 6

What classifications are used to categorize Dependabot alerts? (Each correct answer presents part of the solution. Choose three.)

Options:

A.  

Static Application Security Testing (SAST)

B.  

Exploit Prediction Scoring System (EPSS)

C.  

Common Vulnerabilities and Exposures (CVE)

D.  

GitHub Security Advisory ID (GHSA)

E.  

Common Weakness Enumeration (CWE)

Discussion 0
Questions 7

Which Dependabot configuration fields are required? (Each answer presents part of the solution. Choose three.)

Options:

A.  

directory

B.  

package-ecosystem

C.  

milestone

D.  

schedule.interval

E.  

allow

Discussion 0
Questions 8

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

Discussion 0
Questions 9

Which organization policy lets organizations choose whether to allow members to view dependency insights?

Options:

A.  

Enable all

B.  

Enabled

C.  

Disabled

D.  

No policy

Discussion 0
Questions 10

Which of the following dependencies could trigger a Dependabot alert? (Each answer presents a complete solution. Choose two.)

Options:

A.  

Indirect dependencies explicitly declared in a lockfile

B.  

Loose dependencies declared in a manifest

C.  

Direct dependencies explicitly declared in a manifest

D.  

Direct dependencies at 08:00 UTC

Discussion 0
Questions 11

What happens when you disable secret scanning for a GitHub organization?

Options:

A.  

Changes affect public repositories for your organization where GitHub Advanced Security is enabled.

B.  

All GitHub Advanced Security features are disabled.

C.  

Changes affect private repositories where GitHub Advanced Security is also enabled.

D.  

Changes affect all repositories with GitHub Advanced Security disabled.

Discussion 0
Questions 12

What step is required to run a SARIF-compatible (Static Analysis Results Interchange Format) tool on GitHub Actions?​

Options:

A.  

Update the workflow to include a final step that uploads the results.

B.  

By default, the CodeQL runner automatically uploads results to GitHub on completion.

C.  

The CodeQL action uploads the SARIF file automatically when it completes analysis.

D.  

Use the CLI to upload results to GitHub.​

Discussion 0
Questions 13

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

Discussion 0
Questions 14

Assuming that notification settings and Dependabot alert recipients have not been customized, which user account setting should you use to get an alert when a vulnerability is detected in one of your repositories?

Options:

A.  

Enable all in existing repositories

B.  

Enable by default for new public repositories

C.  

Enable all for Dependabot alerts

D.  

Enable all for Dependency graph

Discussion 0
Questions 15

What filter or sort settings can be used to prioritize the secret scanning alerts that present the most risk?

Options:

A.  

Sort to display the oldest first

B.  

Sort to display the newest first

C.  

Filter to display active secrets

D.  

Select only the custom patterns

Discussion 0
Questions 16

As a developer with write access, you navigate to a code scanning alert in your repository. When will GitHub close this alert?

Options:

A.  

After you triage the pull request containing the alert

B.  

When you use data-flow analysis to find potential security issues in code

C.  

After you find the code and click the alert within the pull request

D.  

After you fix the code by committing within the pull request

Discussion 0
Questions 17

Which of the following information can be found in a repository's Security tab?

Options:

A.  

Number of alerts per GHAS feature

B.  

Two-factor authentication (2FA) options

C.  

Access management

D.  

GHAS settings

Discussion 0
Questions 18

When secret scanning detects a set of credentials on a public repository, what does GitHub do?

Options:

A.  

It notifies the service provider who issued the secret.

B.  

It displays a public alert in the Security tab of the repository.

C.  

It scans the contents of the commits for additional secrets.

D.  

It sends a notification to repository members.

Discussion 0
Questions 19

You are configuring code scanning with CodeQL. What is one impact of using a language matrix in your workflow?

Options:

A.  

CodeQL excludes alerts for those dependencies specified in the language matrix.

B.  

CodeQL is configured to run analysis sequentially.

C.  

You can use the languages parameter under the init action.

D.  

CodeQL will only analyze the languages in the matrix.

Discussion 0
Questions 20

When using code scanning and GitHub Actions on Windows, what is the relative difference between the minute consumption of code scanning jobs and jobs on Linux runners?

Options:

A.  

2x higher

B.  

5x higher

C.  

10x higher

D.  

No difference

Discussion 0
Questions 21

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

Discussion 0
Questions 22

What kind of repository permissions do you need to request a Common Vulnerabilities and Exposures (CVE) identification number for a security advisory?​

Options:

A.  

Maintain

B.  

Admin

C.  

Triage

D.  

Write​

Discussion 0
Questions 23

In a private repository, what minimum requirements does GitHub need to generate a dependency graph? (Each answer presents part of the solution. Choose two.)​

Options:

A.  

Read-only access to all the repository's files

B.  

Dependency graph enabled at the organization level for all new private repositories

C.  

Write access to the dependency manifest and lock files for an enterprise

D.  

Read-only access to the dependency manifest and lock files for a repository​

Discussion 0
Questions 24

Which of the following is the best way to prevent developers from adding secrets to the repository?

Options:

A.  

Create a CODEOWNERS file

B.  

Make the repository public

C.  

Configure a security manager

D.  

Enable push protection

Discussion 0
Questions 25

Where can you remove access to GitHub Advanced Security features for an individual repository in an organization? (Each answer presents part of the solution. Choose two.)

Options:

A.  

The enterprise's Settings tab

B.  

The organization's Settings tab

C.  

The repository's Settings tab

D.  

The organization's Repository permissions

Discussion 0
Questions 26

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

Options:

A.  

Common Weakness Enumeration (CWE)

B.  

Vulnerability Exploitability eXchange (VEX)

C.  

Common Vulnerabilities and Exposures (CVE)

D.  

GitHub Security Advisory (GHSA)

Discussion 0
Questions 27

Which GitHub Advanced Security options are available under the Security section of the GitHub Enterprise Server Management Console? (Each answer presents part of the solution. Choose two.)

Options:

A.  

Secret scanning

B.  

Code scanning

C.  

Dependency review

D.  

Dependabot version updates

Discussion 0
Questions 28

What does a CodeQL database of your repository contain?​

Options:

A.  

A build for Go projects to set up the project

B.  

A build of the code and extracted data

C.  

Build commands for C/C++, C#, and Java

D.  

A representation of all of the source code​

GitHub

Agentic AI for AppSec Teams

Discussion 0
Questions 29

Which of the following Watch settings could you use to get Dependabot alert notifications? (Each answer presents part of the solution. Choose two.)

Options:

A.  

The Custom setting

B.  

The Participating and @mentions setting

C.  

The All Activity setting

D.  

The Ignore setting

Discussion 0
Questions 30

Using advanced setup, which code scanning configuration would help detect vulnerabilities before they are added to a shared branch?

Options:

A.  

on:

issues:

B.  

on:

pull_request:

C.  

on:

schedule:

D.  

on:

workflow_dispatch:

Discussion 0
Questions 31

Where can you find a deleted line of code that contained a secret value?

Options:

A.  

Insights

B.  

Issues

C.  

Commits

D.  

Dependency graph

Discussion 0
Questions 32

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

Options:

A.  

Enable Dependabot alerts.

B.  

Add Dependabot rules.

C.  

Add a workflow with the dependency review action.

D.  

Enable Dependabot security updates.

Discussion 0
Questions 33

What is the format of the GitHub security advisory form?

Options:

A.  

A CVE Numbering Authority (CNA) description format

B.  

A Dependabot alert sent to the affected repositories

C.  

A form matching the MITRE database security advisory format

D.  

A form matching the Common Vulnerabilities and Exposures (CVE) description format

Discussion 0
Questions 34

When does Dependabot alert you of a vulnerability in your software development process?

Options:

A.  

When a pull request adding a vulnerable dependency is opened

B.  

As soon as a vulnerable dependency is detected

C.  

As soon as a pull request is opened by a contributor

D.  

When Dependabot opens a pull request to update a vulnerable dependency

Discussion 0
Questions 35

Which of the following options would close a Dependabot alert?

Options:

A.  

Creating a pull request to resolve the vulnerability that will be approved and merged

B.  

Viewing the Dependabot alert on the Dependabot alerts tab of your repository

C.  

Viewing the dependency graph

D.  

Leaving the repository in its current state

Discussion 0
Questions 36

When using CodeQL, what extension stores query suite definitions?

Options:

A.  

.yml

B.  

.ql

C.  

.qll

D.  

.qls

Discussion 0
Questions 37

You need to run code scanning when files are modified in a specific directory. Which option can be used to complete line 3 in the workflow fragment below?

1. on:

2. push:

3.

Options:

A.  

**foo

B.  

(

C.  

?

D.  

paths:

Discussion 0