Month End Sale - Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70dumps

GitHub-Advanced-Security Questions and Answers

Question # 6

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

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

Full Access
Question # 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?

A.

Write

B.

None

C.

Admin

D.

Read

Full Access
Question # 8

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 # 9

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?

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

Full Access
Question # 10

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

A.

Security

B.

Settings

C.

Secrets

D.

Insights

Full Access
Question # 11

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

A.

Push protection

B.

Validity checks

C.

Branch protection

D.

Custom patterns

Full Access
Question # 12

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

A.

codeql-config.yml

B.

codeql-scan.yml

C.

codeql-workflow.yml

D.

codeql-analysis.yml

Full Access
Question # 13

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

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.

Full Access
Question # 14

How many alerts are created when two instances of the same secret value are in the same repository?

A.

1

B.

2

C.

3

D.

4

Full Access
Question # 15

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

A.

support.md

B.

readme.md

C.

contributing.md

D.

security.md

Full Access
Question # 16

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 # 17

Which alerts do you see in the repository's Security tab? (Each answer presents part of the solution. Choose three.)

A.

Repository permissions

B.

Secret scanning alerts

C.

Dependabot alerts

D.

Security status alerts

E.

Code scanning alerts

Full Access
Question # 18

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

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.

Full Access
Question # 19

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]

A.

- '/*.md'

B.

- '/*.txt'

C.

paths:

D.

paths-ignore:

E.

- 'docs/*.md'

Full Access
Question # 20

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 # 21

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

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

Full Access
Question # 22

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

A.

decrypt_secret.sh

B.

paths-ignore:

C.

branches-ignore:

D.

secret scanning.yml

Full Access