GH-500 Practice Test

GH-500 Practice Test practice questions, page 5 of 5, with answer review and explanations.

Question 21

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

  1. paths-ignore:
  2. secret_scanning.yml
  3. branches-ignore:
  4. decrypt_secret.sh

Question 22

Secret scanning will scan:

  1. a continuous integration system.
  2. the GitHub repository.
  3. any Git repository.
  4. external services.

Question 23

Which of the following features helps to prioritize secret scanning alerts that present an immediate risk?

  1. non-provider patterns
  2. push protection
  3. secret validation
  4. custom pattern dry runs

Question 24

What do you need to do before you can define a custom pattern for a repository?

  1. Add a secret scanning custom pattern.
  2. Provide match requirements for the secret format.
  3. Enable secret scanning on the repository.
  4. Provide a regular expression for the format of your secret pattern

Question 25

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

  1. Push protection is enabled by default for new custom patterns.
  2. Push protection must be enabled for all, or none, of a repository’s custom patterns.
  3. Push protection is not available for custom patterns.
  4. Push protection is an opt-in experience for each custom pattern.