Summer Special 60% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: bestdeal

Free Microsoft GH-500 Practice Exam with Questions & Answers | Set: 2

Questions 11

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

Microsoft GH-500 Premium Access
Questions 12

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'

Questions 13

Secret scanning will scan:​

Options:
A.

A continuous integration system.

B.

Any Git repository.

C.

The GitHub repository.

D.

External services.​

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.

Questions 15

Which patterns are secret scanning validity checks available to?

Options:
A.

High entropy strings

B.

Custom patterns

C.

Partner patterns

D.

Push protection patterns

Questions 16

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

Options:
A.

decrypt_secret.sh

B.

paths-ignore:

C.

branches-ignore:

D.

secret scanning.yml

Questions 17

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

Questions 18

What does a CodeQL database of your repository contain?​

Options:
A.

A build for Go projects to set up the project

B.

A build of the code and extracted data

C.

Build commands for C/C++, C#, and Java

D.

A representation of all of the source code​

GitHub

Agentic AI for AppSec Teams

Questions 19

A dependency has a known vulnerability. What does the warning message include?

Options:
A.

The security impact of these changes

B.

An easily understandable visualization of dependency change

C.

How many projects use these components

D.

A brief description of the vulnerability

Questions 20

You are managing code scanning alerts for your repository. You receive an alert highlighting a problem with data flow. What do you click for additional context on the alert?​

Options:
A.

Show paths

B.

Security

C.

Code scanning alerts​