| Exam Code | GitHub-Advanced-Security |
| Exam Name | GitHub Advanced Security Certification |
| Vendor | GitHub |
| Total Questions | 75 |
| Last Updated | 26-Oct, 2026 |
- Latest & Verified Questions
- Detailed Explanations
- Regular Updates
- Full-Length Practice Tests
- Boost Your Exam Confidence
PDF Study Materials
Downloadable guides and resources
Practice Tests
Full-length tests with real exam experience
Progress Tracking
Monitor your performance and improvement
Study Anywhere
Access on desktop, tablet, and mobile
Free GitHub-Advanced-Security Practice Questions
Explore 5 free practice questions for the GitHub GitHub-Advanced-Security exam and review the answers and explanations to support your preparation.
-
Question 1
Single answerWhich security feature shows a vulnerable dependency in a pull request?
-
Option A:Correct
Dependency graph
-
Option B:Correct
Dependency review
-
Option C:Correct
Dependabot alert
-
Option D:Correct
The repository's Security tab
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: B
Explanation
Dependency review runs as part of a pull request and shows which dependencies are being added, removed, or changed — and highlights vulnerabilities associated with any added packages.
It works in real-time and is specifically designed for use during pull request workflows.
The dependency graph is an overview, Dependabot alerts notify post-merge, and the Security tab shows the aggregated alert list.
[: GitHub Docs – About Dependency Review, ==========] -
-
Question 2
Single answerWhich of the following options would close a Dependabot alert?
-
Option A:Correct
Creating a pull request to resolve the vulnerability that will be approved and merged
-
Option B:Correct
Viewing the Dependabot alert on the Dependabot alerts tab of your repository
-
Option C:Correct
Viewing the dependency graph
-
Option D:Correct
Leaving the repository in its current state
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A
Explanation
A Dependabot alert is only marked as resolved when the related vulnerability is no longer present in your code — specifically after you merge a pull request that updates the vulnerable dependency.
Simply viewing alerts or graphs does not affect their status. Ignoring the alert by leaving the repo unchanged keeps the vulnerability active and unresolved.
[: GitHub Docs – Managing Dependabot Security Updates, ==========] -
-
Question 3
Single answerWhere in the repository can you give additional users access to secret scanning alerts?
-
Option A:Correct
Security
-
Option B:Correct
Settings
-
Option C:Correct
Secrets
-
Option D:Correct
Insights
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: B
Explanation
To grant specific users access to view and manage secret scanning alerts , you do this via the Settings tab of the repository. From there, under the "Code security and analysis" section, you can add individuals or teams with roles such as security manager .
The Security tab only displays alerts; access control is handled in Settings.
[: GitHub Docs – Granting Access to Secret Scanning Alerts, ==========] -
-
Question 4
Single answerA repository's dependency graph includes:
-
Option A:Correct
Dependencies parsed from a repository's manifest and lock files.
-
Option B:Correct
Annotated code scanning alerts from your repository's dependencies.
-
Option C:Correct
A summary of the dependencies used in your organization's repositories.
-
Option D:Correct
Dependencies from all your repositories.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: A
Explanation
The dependency graph in a repository is built by parsing manifest and lock files (like package.json, pom.xml, requirements.txt). It helps GitHub detect dependencies and cross-reference them with known vulnerability databases for alerting.
It is specific to each repository and does not show org-wide or cross-repo summaries.
[: GitHub Docs – Understanding the Dependency Graph, ==========] -
-
Question 5
Single answerSecret scanning will scan:
-
Option A:Correct
A continuous integration system.
-
Option B:Correct
Any Git repository.
-
Option C:Correct
The GitHub repository.
-
Option D:Correct
External services.
Show Answer & Explanation Hide Answer & Explanation
Correct Answer: C
Explanation
Secret scanning is a feature provided by GitHub that scans the contents of your GitHub repositories for known types of secrets, such as API keys and tokens. It operates within the GitHub environment and does not scan external systems, services, or repositories outside of GitHub. Its primary function is to prevent the accidental exposure of sensitive information within your GitHub-hosted code.
[: GitHub Docs – About secret scanning, ] -