Pre-Winter Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: best70

GH-500 GitHub Advanced Security Exam Questions and Answers

Questions 4

Assuming security and analysis features are not configured at the repository, organization, or enterprise level, secret scanning is enabled on:

Options:

A.

Public repositories

B.

All new repositories within your organization

C.

User-owned private repositories

D.

Private repositories

Buy Now
Questions 5

By default, which role can enable Dependabot alerts?

Options:

A.

Repository administrators

B.

Repository maintainers

C.

Security analysts

D.

Outside collaborators

Buy Now
Questions 6

Secret scanning will ignore a secret_scanning.yml file that:

Options:

A.

Is 100 KB or larger.

B.

Is 1 MB or larger.

C.

Contains 1,000 or more entries.

D.

Has 1,000 or more directories.

Buy Now
Questions 7

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​

Buy Now
Questions 8

Which features are part of GitHub Advanced Security in the context of GitHub Enterprise? (Each correct answer presents part of the solution. Choose two.)

Options:

A.

Dependency review

B.

Dependency graph

C.

Security policy

D.

Secret scanning

Buy Now
Questions 9

What is the best method to ensure all new code is scanned for vulnerabilities?

Options:

A.

Add the extended suite.

B.

Configure code owners.

C.

Set up a security policy.

D.

Configure code scanning.

Buy Now
Questions 10

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

Options:

A.

Users with Write permissions to the repository

B.

Users with Admin privileges to the repository

C.

Users with Maintain privileges to the repository

D.

Users with Read permissions to the repository

Buy Now
Questions 11

The autobuild step in the CodeQL workflow has failed. What should you do?

Options:

A.

Remove specific build steps.

B.

Compile the source code.

C.

Remove the autobuild step from your code scanning workflow and add specific build steps.

D.

Use CodeQL, which implicitly detects the supported languages in your code base.

Buy Now
Questions 12

Where can a user change a repository's code scanning severity threshold that fails a pull request status check?

Options:

A.

Security tab

B.

Pull Requests tab

C.

Actions tab

D.

Settings tab

Buy Now
Questions 13

You are viewing a code scanning alert. What detail is included in the alert?

Options:

A.

The secret checked into the repository

B.

The Common Weakness Enumeration (CWE) submission date

C.

The GitHub username of anyone who has Read access to the repository

D.

The line of code that triggered the alert

Buy Now
Questions 14

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.

Buy Now
Questions 15

How would you build your code within the CodeQL analysis workflow? (Each answer presents a complete solution. Choose two.)​

Options:

A.

Upload compiled binaries.

B.

Use CodeQL's init action.

C.

Ignore paths.

D.

Implement custom build steps.

E.

Use jobs.analyze.runs-on.

F.

Use CodeQL's autobuild action.

Buy Now
Questions 16

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

Buy Now
Questions 17

Secret scanning will scan:​

Options:

A.

A continuous integration system.

B.

Any Git repository.

C.

The GitHub repository.

D.

External services.​

Buy Now
Questions 18

As a repository administrator, you can enable secret scanning on:

Options:

A.

Current private repositories owned by your organization

B.

Current private repositories owned by users of your organization

C.

New user-owned private repositories created by users within your organization

D.

New private repositories created by users outside your organization

Buy Now
Questions 19

Which of the following is the most complete method for Dependabot to find vulnerabilities in third-party dependencies?

Options:

A.

Dependabot reviews manifest files in the repository

B.

CodeQL analyzes the code and raises vulnerabilities in third-party dependencies

C.

A dependency graph is created, and Dependabot compares the graph to the GitHub Advisory database

D.

The build tool finds the vulnerable dependencies and calls the Dependabot API

Buy Now
Questions 20

Assuming that no custom Dependabot behavior is configured, who has the ability to merge a pull request created via Dependabot security updates?​

Options:

A.

An enterprise administrator

B.

A user who has write access to the repository

C.

A user who has read access to the repository

D.

A repository member of an enterprise organization​

Buy Now
Questions 21

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

Buy Now
Questions 22

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

Buy Now
Questions 23

You are tasked with filtering queries in a CodeQL query suite. Which metadata tag matches on the last path component?

Options:

A.

query path

B.

tags contain all

C.

query filename

D.

tags contain

Buy Now
Questions 24

An organization owner can give view access to Dependabot alerts to which type of user?

Options:

A.

Members of a team with Read access to a different repository within the same organization

B.

Outside collaborators with Read access

C.

Members of a team with Write access to the repository

D.

Members of an enterprise unassigned to the repository

Buy Now
Questions 25

When using the advanced CodeQL code scanning setup, what is the name of the workflow file?​

Options:

A.

codeql-config.yml

B.

codeql-scan.yml

C.

codeql-workflow.yml

D.

codeql-analysis.yml

Buy Now
Questions 26

Which of the following secret scanning features can verify whether a secret is still active?

Options:

A.

Push protection

B.

Validity checks

C.

Branch protection

D.

Custom patterns

Buy Now
Questions 27

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.

Buy Now
Questions 28

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

Buy Now
Questions 29

When using CodeQL, how does extraction for compiled languages work?

Options:

A.

By generating one language at a time

B.

By resolving dependencies to give an accurate representation of the codebase

C.

By monitoring the normal build process

D.

By running directly on the source code

Buy Now
Questions 30

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

Options:

A.

Insights

B.

Issues

C.

Commits

D.

Dependency graph

Buy Now
Questions 31

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

Buy Now
Questions 32

After defining a secret scanning custom pattern, what is the final step before publishing the pattern?

Options:

A.

Defining a custom pattern

B.

Enabling push protection

C.

Adding additional match requirements

D.

Performing a dry run

Buy Now
Questions 33

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

Buy Now
Questions 34

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

Buy Now
Questions 35

Which of the following tasks can be performed by a security team as a proactive measure to help address secret scanning alerts? (Each answer presents a complete solution. Choose two.)

Options:

A.

Dismiss alerts that are older than 90 days.

B.

Configure a webhook to monitor for secret scanning alert events.

C.

Enable system for cross-domain identity management (SCIM) provisioning for the enterprise.

D.

Document alternatives to storing secrets in the source code.

Buy Now
Questions 36

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

Buy Now
Questions 37

Assuming that no custom patterns are configured, what type of secret is detected by secret scanning?

Options:

A.

Usernames

B.

Personally Identifiable Information (PII)

C.

Private keys

D.

Sealed boxes

Buy Now
Exam Code: GH-500
Exam Name: GitHub Advanced Security Exam
Last Update: Oct 12, 2026
Questions: 125

PDF + Testing Engine

$144.99

Testing Engine

$109.99

PDF (Q&A)

$94.99