Month End Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: cramtick70

GitHub-Advanced-Security GitHub Advanced Security GHAS Exam Questions and Answers

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.

Buy Now
Questions 5

As a repository owner, you do not want to run a GitHub Actions workflow when changes are made to any .txt or markdown files. How would you adjust the event trigger for a pull request that targets the main branch? (Each answer presents part of the solution. Choose three.)

    on:

    pull_request:

    branches: [main]

Options:

A.

- '/*.md'

B.

- '/*.txt'

C.

paths:

D.

paths-ignore:

E.

- 'docs/*.md'

Buy Now
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

Buy Now
Questions 7

As a developer, you need to configure a code scanning workflow for a repository where GitHub Advanced Security is enabled. What minimum repository permission do you need?

Options:

A.

Write

B.

None

C.

Admin

D.

Read

Buy Now
Questions 8

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 Advisorydatabase

D.

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

Buy Now
Questions 9

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 10

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 11

Assuming that notification and alert recipients are not customized, what does GitHub do when it identifies a vulnerable dependency in a repository where Dependabot alerts are enabled? (Each answer presents part of the solution. Choose two.)​

Options:

A.

It generates a Dependabot alert and displays it on the Security tab for the repository.

B.

It notifies the repository administrators about the new alert.

C.

It generates Dependabot alerts by default for all private repositories.

D.

It consults with a security service and conducts a thorough vulnerability review.​

Buy Now
Questions 12

Who can fix a code scanning alert on a private repository?​

Options:

A.

Users who have the Triage role within the repository

B.

Users who have Read permissions within the repository

C.

Users who have Write access to the repository

D.

Users who have the security manager role within the repository​

Buy Now
Questions 13

Which CodeQL query suite provides queries of lower severity than the default query suite?

Options:

A.

github/codeql-go/ql/src@main

B.

github/codeql/cpp/ql/src@main

C.

security-extended

Buy Now
Questions 14

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

Options:

A.

List all open code scanning alerts for the default branch

B.

Modify the severity of an open code scanning alert

C.

Get a single code scanning alert

D.

Delete all open code scanning alerts

Buy Now
Questions 15

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

Options:

A.

When Dependabot creates a pull request to update dependencies

B.

When you dismiss the Dependabot alert

C.

When the pull request checks are successful

D.

When you merge a pull request that contains a security update

Buy Now
Questions 16

When configuring code scanning with CodeQL, what are your options for specifying additional queries? (Each answer presents part of the solution. Choose two.)

Options:

A.

Packs

B.

github/codeql

C.

Scope

D.

Queries

Buy Now
Questions 17

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 18

As a contributor, you discovered a vulnerability in a repository. Where should you look for the instructions on how to report the vulnerability?

Options:

A.

support.md

B.

readme.md

C.

contributing.md

D.

security.md

Buy Now
Questions 19

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

Buy Now
Questions 20

Which of the following statements most accurately describes push protection for secret scanning custom patterns?​

Options:

A.

Push protection must be enabled for all, or none, of a repository's custom patterns.

B.

Push protection is an opt-in experience for each custom pattern.

C.

Push protection is not available for custom patterns.

D.

Push protection is enabled by default for new custom patterns.​

Buy Now
Questions 21

Where in the repository can you give additional users access to secret scanning alerts?

Options:

A.

Security

B.

Settings

C.

Secrets

D.

Insights

Buy Now
Questions 22

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

Buy Now
Exam Name: GitHub Advanced Security GHAS Exam
Last Update: Apr 30, 2025
Questions: 75
GitHub-Advanced-Security pdf

GitHub-Advanced-Security PDF

$25.5  $84.99
GitHub-Advanced-Security Engine

GitHub-Advanced-Security Testing Engine

$30  $99.99
GitHub-Advanced-Security PDF + Engine

GitHub-Advanced-Security PDF + Testing Engine

$40.5  $134.99