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

Exact2Pass Menu

Question # 4

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

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

Full Access
Question # 5

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

A.

Number of alerts per GHAS feature

B.

Two-factor authentication (2FA) options

C.

Access management

D.

GHAS settings

Full Access
Question # 6

What is a prerequisite to define a custom pattern for a repository?

A.

Change the repository visibility to Internal

B.

Close other secret scanning alerts

C.

Specify additional match criteria

D.

Enable secret scanning

Full Access
Question # 7

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

A.

github/codeql-go/ql/src@main

B.

github/codeql/cpp/ql/src@main

C.

security-extended

Full Access
Question # 8

Which details do you have to provide to create a custom pattern for secret scanning? (Each answer presents part of the solution. Choose two.)

A.

The secret format

B.

The name of the pattern

C.

A list of repositories to scan

D.

Additional match requirements for the secret format

Full Access
Question # 9

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?

A.

Write

B.

None

C.

Admin

D.

Read

Full Access
Question # 10

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

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​

Full Access
Question # 11

Which of the following statements best describes secret scanning push protection?​

A.

Commits that contain secrets are blocked before code is added to the repository.

B.

Secret scanning alerts must be closed before a branch can be merged into the repository.

C.

Buttons for sensitive actions in the GitHub UI are disabled.

D.

Users need to reply to a 2FA challenge before any push events.​

Full Access
Question # 12

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

A.

Process alerts

B.

Analyze code

C.

Upload scan results

D.

Install the CLI

E.

Write queries

Full Access
Question # 13

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

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

Full Access
Question # 14

What role is required to change a repository's code scanning severity threshold that fails a pull request status check?

A.

Maintain

B.

Write

C.

Triage

D.

Admin

Full Access
Question # 15

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

A.

Packs

B.

github/codeql

C.

Scope

D.

Queries

Full Access
Question # 16

Which of the following workflow events would trigger a dependency review? (Each answer presents a complete solution. Choose two.)​

A.

pull_request

B.

workflow_dispatch

C.

trigger

D.

commit

Full Access
Question # 17

Where can you use CodeQL analysis for code scanning? (Each answer presents part of the solution. Choose two.)

A.

In a third-party Git repository

B.

In a workflow

C.

In an external continuous integration (CI) system

D.

In the Files changed tab of the pull request

Full Access
Question # 18

Which of the following benefits do code scanning, secret scanning, and dependency review provide?

A.

Search for potential security vulnerabilities, detect secrets, and show the full impact of changes to dependencies

B.

Confidentially report security vulnerabilities and privately discuss and fix security vulnerabilities in your repository's code

C.

View alerts about dependencies that are known to contain security vulnerabilities

D.

Automatically raise pull requests, which reduces your exposure to older versions of dependencies

Full Access
Question # 19

What happens when you enable secret scanning on a private repository?

A.

Repository administrators can view Dependabot alerts.

B.

Your team is subscribed to security alerts.

C.

GitHub performs a read-only analysis on the repository.

D.

Dependency review, secret scanning, and code scanning are enabled.

Full Access
Question # 20

Where can you view code scanning results from CodeQL analysis?

A.

The repository's code scanning alerts

B.

A CodeQL database

C.

A CodeQL query pack

D.

At Security advisories

Full Access
Question # 21

As a repository owner, you want to receive specific notifications, including security alerts, for an individual repository. Which repository notification setting should you use?

A.

Ignore

B.

Participating and @mentions

C.

All Activity

D.

Custom

Full Access
Question # 22

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

A.

Create a CODEOWNERS file

B.

Make the repository public

C.

Configure a security manager

D.

Enable push protection

Full Access