GITHUB-ADVANCED-SECURITY practice question 5 of 15
– [Describe the GHAS Security Features and Functionality] What is a security policy?
Full set: 75 questionsIn the context of GitHub, a security policy is a specific file, SECURITY.md, that is added to a repository. The purpose of this file is to provide clear, public instructions to security researchers and users on the responsible and private process for reporting security vulnerabilities they may have discovered in the project. By centralizing these instructions, repository maintainers can manage incoming vulnerability reports more effectively and prevent premature public disclosure. GitHub integrates this file by linking to it from the repository's "Security" tab and when users open new issues.
A. This describes code scanning (e.g., using CodeQL), a feature that automatically analyzes code for potential security vulnerabilities.
B. This describes a GitHub Security Advisory, which is a formal mechanism for disclosing, discussing, and resolving a vulnerability.
D. This describes Dependabot alerts, a feature that automatically detects and alerts developers about vulnerable dependencies in their project.
1. GitHub Docs, "Adding a security policy to your repository." This official documentation explicitly states, "To give people instructions for reporting security vulnerabilities in your project, you can add a SECURITY.md file to your repository's root, docs, or .github folder." It details how this file functions as the repository's security policy.
2. GitHub Docs, "About coordinated disclosure of security vulnerabilities." This document outlines best practices for vulnerability reporting and references the security policy (SECURITY.md) as a key tool for maintainers: "To facilitate reporting, add a security policy to your repository... GitHub will display a link to your security policy on your repository's security tab."
Keep practicing
Take the free GITHUB-ADVANCED-SECURITY practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other GITHUB-ADVANCED-SECURITY practice questions
- Question 1– [Use Code Scanning with CodeQL] When using CodeQL, what extension stores query suite de…
- Question 2– [Configure and Use Secret Scanning] What happens when you enable secret scanning on a p…
- Question 3– [Configure and Use Dependency Management] A dependency has a known vulnerability. What …
- Question 4– [Configure and Use Secret Scanning] What is a prerequisite to define a custom pattern f…
- Question 6– [Configure GitHub Advanced Security Tools in GitHub Enterprise] What role is required t…
- Question 7– [Configure and Use Code Scanning] Who can fix a code scanning alert on a private reposi…
