Browse all practice questions for the GitHub Advanced Security Certification Pracice Test. Search by topic, open any question and review its full explanation, then test yourself in the practice quiz.

GitHub Advanced Security Certification Pracice Test course image
More practice questions

These questions are part of the practice quiz. Start practicing

  • Which of the following languages is NOT listed as supported by CodeQL queries for Code Scanning?
  • Which feature runs by default in CodeQL code scanning on GitHub?
  • What should Dependency Review summarize in a PR?
  • How does GAS support compliance across a software supply chain?
  • How does Dependency Review work in GitHub Advanced Security?
  • What is the role of Extractors?
  • What does Scrub do in a repository?
  • What is GitHub Advanced Security?
  • What are the benefits of using a centralized CodeQL repository for queries?
  • Which ecosystems are commonly covered by Dependency Review?
  • Which statement best describes how to stay current with CodeQL languages and patterns?
  • Where are Code Scanning alerts displayed in the GitHub user interface?
  • Phase 1 involves piloting the initial rollout with a few high impact projects or teams.
  • Which format enables code scanning alerts from third-party tools in the repository?
  • Which statement best describes CodeQL scanning in PRs?
  • Which best practices improve the security of GitHub Actions workflows?
  • Which statement accurately describes the purpose of CodeQL within GitHub Advanced Security?
  • Phase 3 focuses on full organizational rollout and change management.
  • What are triggers in a CodeQL workflow used for?
  • How can you differentiate Code Scanning alerts from Secret Scanning alerts in the UI?
  • Phase 0 in GHAS rollout focuses on what?
  • Which statement best describes the role of SARIF in Code Scanning?
  • What is the difference between Direct dependencies and Transitive dependencies in the context of Dependency Review?
  • How does GitHub's Code Scanning integrate with pull request checks?
  • How do you enable Code Scanning with CodeQL for a repository on GitHub?
  • What is SECURITY.md?
  • What is a Security Advisory used for?
  • What activity helps ensure ongoing effectiveness after enabling GAS?
  • How many languages does CodeQL support in GAS and how do you enable them?
  • Where is the suppression file for Code Scanning commonly placed?
  • What is a CodeQL query pack and what is its role in scanning?
  • What is the process for triaging a Code Scanning alert?
  • Dependabot Alerts are designed to do what?
  • Which of the following should be kept up-to-date to maintain CodeQL effectiveness?
  • Which mechanism can be used to suppress a Code Scanning alert via CodeQL?
  • Which feature reviews the security configuration and alerts for an organization and identifies the repositories at greater risk?
  • After Phase 1, which phase follows?
  • Vendor Dependencies: Where are vendor dependencies stored?
  • What is the process to publish a security advisory to the public?
  • Direct Dependencies are which of the following?
  • How do you configure secret scanning to ignore certain patterns or allowlist certain strings?
  • What is a practical way GAS results can be connected to ongoing work items?
  • What is a CodeQL workflow file and what are its key sections?
  • How do you suppress a false positive in Code Scanning?
  • What are SARIF files used for in this context?
  • Which type includes extra securities with slightly lower precision and severity?
  • Custom patterns can include patterns internal to your organization.
  • What is the CodeQL database creation step, and what inputs does it require?
  • What is Dependabot?
  • Name at least three languages supported by CodeQL queries for Code Scanning.
  • What is the purpose of Secret Scanning in GAS?
  • Which of the following statements about SBOM is most accurate?
  • How are rule severities configured for Code Scanning alerts?
  • What is a Security Advisory in GitHub and how do you create a private one?
  • Which component runs the CodeQL queries during Code Scanning?
  • What is the primary purpose of SECURITY.md?
  • How do you use Code Owners in GAS to assign security-related fixes?
  • Expressiveness describes which of the following?
  • Dependents refer to what in the project context?
  • Which statement about Code Scanning findings is accurate?
  • What is a SARIF file, and how is it used in GitHub's security workflow?
  • How does Dependabot determine the target version for upgrades?
  • Which feature highlights issues in specific locations of your code?
  • Explain the role of 'Code scanning alerts' in pull request reviews.
  • Secret Scanning: which description best matches its function?
  • What is the role of CodeQL scanning within pull request workflows?
  • Which best describes Dependabot's role?
  • What is Autobuild used for?
  • How can you prevent secrets from being committed in the first place?
  • How does GitHub compute vulnerable dependencies and show advisories?
  • What is the purpose of Dependency Review in GAS?
  • Where is codeql-suppressions.yml typically stored?
  • Where are security advisories created in GitHub Advanced Security (GAS)?
  • Which combination of practices helps prevent secrets from being committed?
  • Which combination correctly lists the three primary areas of focus in GitHub Advanced Security?
  • What is the purpose of paths-ignore in secret scanning configuration?
  • How do you document and communicate remediation progress to stakeholders?
  • Explain the difference between a Code Scanning alert and a Dependabot alert.
  • Enabling Dependabot security updates in a repository results in which of the following?
  • The rollout process begins with Phase 0 and ends with Phase 3.
  • What are the limitations of pattern-based secret detectors?
  • How can you disable scanning for a specific language or file type?
  • Which statement about Public Repositories is true?
  • How can you enforce Code Scanning results before merging using branch protection?
  • What is CodeQL and how is it used in GAS?
  • Which of the following lists the four primary features of GitHub Advanced Security?
  • How can SBOM aid in license compliance?
  • How can you use the SBOM to respond to a zero-day vulnerability?
  • How can GAS results be integrated with external issue trackers?
  • Which primary focus area concerns the reliance on open-source software within repositories?
  • Where can advisories surfaced by vulnerability analysis be viewed in GitHub Advanced Security?
  • Phase 1 duration ranges from 2 weeks to 3 months.
  • What is a CodeQL database, and how is it used in code scanning?
  • How does GAS certification assess understanding of incident response?
  • What is SBOM generation and usage in GAS used for?
  • What is the difference between a private vulnerability advisory and a public one?
  • What is the role of a security policy in GitHub Advanced Security, and how does it guide responders?
  • What is codeql-suppressions.yml used for?
  • In GitHub Advanced Security, a security policy helps responders by guiding handling of advisories, alerts, and incident workflows.
  • How can you suppress a Secret Scanning alert?
  • How do you enable and configure Code Scanning in a GitHub repository?
  • What is the purpose of creating private advisories in GAS?
  • What best describes the primary technique used by CodeQL to identify vulnerabilities?
  • Which capability does GAS provide concerning dependencies and risk?
  • Which components are typically included in a GitHub Advanced Security Code Scanning workflow file?
  • Which languages are supported by CodeQL for Code Scanning's analysis beyond the core languages?
  • What is the recommended timing for public disclosure of a vulnerability via a Security Advisory?
  • Dependabot Version Updates automatically perform which of the following?
  • Phase 2 is titled Organizational Buy In.
  • What is the recommended sequence of actions after discovering a vulnerability in a dependency in GAS?
  • What does CVE stand for?
  • As part of maintaining CodeQL integration, what should be reviewed periodically?
  • Which is NOT a valid type of query suite?
  • What triggers Code Scanning runs?
  • How do you interpret SBOM results for risk prioritization?
  • What is a CodeQL query pack, and how is it used in Code Scanning?
  • How do you export or view Code Scanning results outside the GitHub UI?
  • Which events typically trigger a Code Scanning workflow?
  • Indirect Dependencies are also known as which term?
  • What is the primary purpose of SARIF in GitHub's security workflow?
  • What does SBOM enable regarding license compliance?
  • What does CodeQL CLI provide?
  • What is a SARIF rule in Code Scanning?
  • What is a 'false positive' in the context of Code Scanning, and how should you handle it?
  • Secret refers to which category?
  • Which type of secret pattern is looked for by Secret Scanning?
  • Which sequence best describes the lifecycle of a security advisory in GHAS?
  • How can you limit the scope of CodeQL analysis to specific languages or paths?
  • Who are the default receivers for secret scanning alerts?
  • What does the Dependency Review/Graph feature provide?
  • Where is SBOM data surfaced in GitHub to aid vulnerability assessment and supply chain risk analysis?
  • What are query language packs used to organize the files used in CodeQL analysis?
  • Dependabot Security Updates automatically do what?
  • What is Dependency Graph, and why is it required for Dependency Review and Dependabot?
  • Which term refers to grouping multiple CodeQL queries for easier management?
  • How does SBOM support supply chain security in GitHub Advanced Security?
  • How can you view a list of all dependencies and their known vulnerabilities for a repository in GitHub Advanced Security?
  • What happens if a vulnerability is found during Dependency Review?
  • Dependabot Alerts are generated automatically when a new vulnerable dependency is found.
  • How do you assign CVSS scores to advisories?
  • Which file is used to configure CodeQL languages?
  • After addressing a high-severity Code Scanning alert, what is the recommended final step?
  • What is the relationship between Code Scanning and repository vulnerability advisories?
  • What is a key benefit of Code Scanning with CodeQL?
  • Code-scanning Queries run by default in CodeQL code scanning on GitHub. Which term describes these default queries?
  • Which tool is used to generate a database representation of your codebase?
  • Which statement about Private Repositories is true?
  • What method does GitHub's secret scanning primarily use to detect secrets?
  • What happens if a dependency upgrade introduces a known vulnerability?
  • Which of the following is listed as an example of partners for Secret Scanning?
  • What is the difference between 'secret scanning' and 'secret detection' in GitHub Advanced Security?
  • How does GAS automatically assist with assigning reviewers for code changes?
  • What is a 'false negative' in this context, and how can it be mitigated?
  • The process of using a known security vulnerability as a seed to find similar problems in your code is called?
  • What is the primary function of Code Scanning?
  • What practice best ensures coordination with teams when responding to a vulnerability in GAS?
  • Which statement best describes how Code Scanning findings relate to remediation?
  • What is the purpose of code scanning alerts triage, and what steps are typical?
  • How can you export Code Scanning results for integration with external tools?
  • What is considered a secret?
  • Which set includes queries from both code-scanning and security-extended plus extra maintainability and reliability queries?
  • What is CodeQL?
  • What are the typical steps in triaging a Code Scanning alert?
  • How can you view Dependency Review results in a PR?
  • Which set includes extra maintainability and reliability queries?
  • How can you measure the impact of enabling GAS in a project?
  • Which scenario demonstrates SBOM value for license compliance?
  • What must you enable in GitHub for Dependabot to work?
  • How does Dependency Review highlight vulnerable or license-risky dependencies?
  • What is an alert triage workflow and why is it important for GAS efficiency?
  • The statistic that 94% of code repositories rely on open-source software highlights which focus area?
  • Secret Scanning for Users provides alerts to users when which condition is met?
  • Which statement correctly describes Scrub and BFG Repo-Cleaner?
  • Which practice helps reduce the risk of false negatives in CodeQL scanning?
  • Which statement best describes GAS's approach to a compliant security process?
  • GitHub Advisory Database provides information on which of the following?
  • What are common secret patterns Secret Scanning looks for?
  • Which tool is used to test CodeQL queries locally before pushing to GitHub?
  • In security analysis, what is a primary use of the CodeQL database?
  • What do Extractors provide in the CodeQL workflow?
  • Dependencies refer to which concept in the project?
  • What is the primary benefit of CodeQL packs in GitHub Advanced Security?
  • What is the recommended action when a secret is detected?
  • Which GitHub Advanced Security feature helps identify all dependencies used by a repository, including transitive dependencies?
  • What is Dependabot Security Updates, and how does it integrate with GitHub Advanced Security?
  • Where is the SBOM stored after generation?
  • What are best practices for maintaining CodeQL queries and monitoring new vulnerabilities?
  • How do you verify the effectiveness of GAS remediation efforts over time?
  • Which feature allows you to pass multiple queries to CodeQL without specifying the path to each query file individually?
  • How can you assign advisories to a team for remediation?
  • Which statement best describes CodeQL in Code Scanning?
  • What can Secret Scanning do in Git history?
  • What is SBOM, and why is it important in GitHub Advanced Security?
  • What file formats are produced by Code Scanning results, and how are they used within GitHub?
  • What does git filter-repo do?
  • Secret Scanning is automatically performed on which type of repositories?
  • What is the BFG Repo-Cleaner used for?
  • What is a CycloneDX SBOM and why is it important?
  • Which tool is described as a powerful tool used to remove passwords or renaming of specific files or file sets?
  • Which of the following is a trait of GHAS?
  • Which statement about Dependabot alerts and Dependabot security updates is accurate?
  • Code is a focus area that helps developers achieve which outcome?
  • What is the primary function of declarative specifications?
  • What is CodeQL in the context of GitHub Advanced Security, and what is its primary purpose?
  • How would you suppress a known false positive in Code Scanning?
  • What does the CodeQL setup step do in a Code Scanning workflow?
  • What are the recommended language coverage and scanning frequency for CodeQL in a typical GitHub repository using GAS?
  • Which feature allows defining custom patterns for secrets beyond the built-in set?
  • In GHAS, what does Automated refer to?
  • Which format does Code Scanning use to report results, and what is its purpose?
  • How can you run CodeQL analysis locally to test queries before pushing to GitHub?
  • What is the recommended approach to minimize token exposure in GitHub Actions?
  • Which of the following is an example of partners?
  • REST API in this context retrieves information about actions up to how many days old?
  • What is CodeQL packs and how do they relate to queries?
  • How can you customize Code Scanning to focus on specific files or paths?
  • How are custom CodeQL queries added to Code Scanning?
  • What is the purpose of the Dependency Graph?
  • Which statement about CodeQL scope is accurate?
  • In a Code Scanning workflow, what type of results are uploaded after analysis?
  • What is the purpose of Custom Patterns in secret scanning?
  • How can CodeQL queries stay up-to-date with new languages and patterns?
  • How can you customize CodeQL queries to target a specific library or framework in your project?
  • Which feature describes the flow of information between a source and a sink in your code?
  • Push Protection for Secrets is primarily concerned with preventing commits to which branch when a secret is identified?
  • In GitHub Advanced Security, what is an advisory and how does Dependabot use advisories?
  • What does Security Overview provide?
  • What is the typical duration of Phase 0?
  • How many types of query suites are there?
  • Explain how to interpret a Code Scanning alert's 'Severity' and 'Confidence' fields.
  • How do you enable SBOM generation in GAS?
  • Environments are a focus area that primarily aims to do which of the following?
Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy