Microsoft certification · Exam GH-500

GH-500 Mock Exam Page 3

GitHub Advanced Security Exam

Free GH-500 mock exam questions 21–24, each with the answer and an explanation.

20 questions · 30 minutes · free, no sign-up

Free GH-500 questions

21–24 of 24 free
Question 21 Choose 1
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?
Show answerHide answer

Correct answer: A Show paths

Question 22 Choose 3
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]
Show answerHide answer

Correct answer: A, B, D - '/*.md'- '/*.txt'paths-ignore:

Question 23 Choose 1
What kind of repository permissions do you need to request a Common Vulnerabilities and Exposures (CVE) identification number for a security advisory?
Show answerHide answer

Correct answer: B Admin

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

Correct answer: B, C, E Secret scanning alertsDependabot alerts Code scanning alerts

That's the last free question

You've seen the free 30% (24 of 75 questions). Full access unlocks every question and full-length GH-500 mock exams, a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the GH-500 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real GH-500 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full GH-500 mock exam
  • —questions per mock
  • —time limit
  • 75questions in the bank
  • Newmock on every attempt