Pass the GitHub GitHub Certification GitHub-Advanced-Security Questions and answers with CertsForce

Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions
Questions # 11:

What does code scanning do?

Options:

A.

It contacts maintainers to ask them to create security advisories if a vulnerability is found


B.

It prevents code pushes with vulnerabilities as a pre-receive hook


C.

It analyzes a GitHub repository to find security vulnerabilities


D.

It scans your entire Git history on branches present in your GitHub repository for any secrets


Expert Solution
Questions # 12:

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


Expert Solution
Questions # 13:

In a private repository, what minimum requirements does GitHub need to generate a dependencygraph? (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​


Expert Solution
Questions # 14:

Which patterns are secret scanning validity checks available to?

Options:

A.

High entropy strings


B.

Custom patterns


C.

Partner patterns


D.

Push protection patterns


Expert Solution
Questions # 15:

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


Expert Solution
Questions # 16:

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


Expert Solution
Questions # 17:

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.​


Expert Solution
Questions # 18:

Which of the following steps should you follow to integrate CodeQL into a third-party continuous integration system? (Each answer presents part of the solution. Choose three.)

Options:

A.

Process alerts


B.

Analyze code


C.

Upload scan results


D.

Install the CLI


E.

Write queries


Expert Solution
Questions # 19:

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

Options:

A.

Common Weakness Enumeration (CWE)


B.

Exploit Prediction Scoring System (EPSS)


C.

Common Vulnerabilities and Exposures (CVE)


D.

Vulnerability Exploitability exchange (VEX)​


Expert Solution
Questions # 20:

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


Expert Solution
Viewing page 2 out of 3 pages
Viewing questions 11-20 out of questions