Microsoft certification preparation

GH-500 Practice Questions

Practice exam-style questions, check your answers, and review explanations and source references where they are available.

Exam
GH-500
Provider
Microsoft
Full set
75 questions
Last Update Check
– [Configure and Use Secret Scanning] Secret scanning will scan:
Answer options
– [Use Code Scanning with CodeQL] Why should you dismiss a code scanning alert?
Answer options
– [Configure and Use Secret Scanning] A secret scanning alert should be closed as "used in tests" when a secret is:
Answer options
– [Configure and Use Dependency Management] Which of the following formats are used to describe a Dependabot alert? (Each answer presents a complete solution. Choose two.)
Answer options
– [Configure GitHub Actions Workflows] 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]
Answer options
– [Describe GitHub Advanced Security Best Practices] Which of the following benefits do code scanning, secret scanning, and dependency review provide?
Answer options
– [Configure and Use Dependency Management] Which security feature shows a vulnerable dependency in a pull request?
Answer options
– [Use Code Scanning with CodeQL] What does code scanning do?
Answer options
– [Configure and Use Dependency Management] Which of the following options would close a Dependabot alert?
Answer options

– [Configure and Use Secret Scanning] Which details do you have to provide to create a custom pattern for secret scanning? (Each answer presents part of the solution. Choose two.)

Answer options
Question 1 of 10

Source context

How this practice set is maintained

Maintained by the CertMage content team, this page loads questions from the exam dataset connected to its preparation resource. When an answer includes a supporting reference, it is shown with that answer so you can review the underlying vendor documentation.

Certification objectives, interfaces, and vendor services can change. Verify important details against the provider's current exam guide and documentation before your exam.

Scroll to Top