Microsoft GH-500 Actual Exam Questions

Last updated on Nov. 20, 2025.

Topic 1 - Topic 1, Describe the GHAS security features and functionality

Question #1 Topic 1

A secret scanning alert should be closed as “used in tests” when a secret is:

  • A. in a test file.
  • B. solely used for tests.
  • C. in the readme.md file.
  • D. not a secret in the production environment.
Reveal Solution Hide Solution   Discussion  

Correct Answer: B 🗳️

Question #2 Topic 1

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

  • A. Repository administrators can view Dependabot alerts.
  • B. Dependency review, secret scanning, and code scanning are enabled.
  • C. Your team is subscribed to security alerts.
  • D. GitHub performs a read-only analysis on the repository.
Reveal Solution Hide Solution   Discussion   1

Correct Answer: A 🗳️

Question #3 Topic 1

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

  • A. Buttons for sensitive actions in the GitHub UI are disabled.
  • B. Commits that contain secrets are blocked before code is added to the repository.
  • C. Users need to reply to a 2FA challenge before any push events.
  • D. Secret scanning alerts must be closed before a branch can be merged into the repository.
Reveal Solution Hide Solution   Discussion  

Correct Answer: B 🗳️

Question #4 Topic 1

What is a security policy?

  • A. a security alert issued to a community in response to a vulnerability
  • B. a file in a GitHub repository that provides instructions to users about how to report a security vulnerability
  • C. an alert about dependencies that are known to contain security vulnerabilities
  • D. an automatic detection of security vulnerabilities and coding errors in new or modified code
Reveal Solution Hide Solution   Discussion  

Correct Answer: B 🗳️

file Viewing page 1 out of 29 pages.
Viewing questions 1-4 out of 113 questions
Next Questions
Browse atleast 50% to increase passing rate cup
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Loading ...