Github Foundations · Free Practice Question Easy
Question 18
GitHub offers a number of security features. What is true about the setup of these features?
-
A
security features are automatically enabled on every repository
-
B
GitHub Advanced Security features are enabled for all repositories on GitHub.com.
-
C
GitHub security features are solely dependent on the programming languages used in the repository.
-
D
repository administrators and organization owners can configure repository security settings.
Reveal correct answer
Correct answer: D
Explanation
You can use a number of GitHub features to help keep your repository secure. Repository administrators and organization owners can configure repository security settings.
****************
WRONG ANSWERS:
Your security needs are unique to your repository, so you may not need to enable every feature for your repository.
GitHub Advanced Security features are enabled for all public repositories on GitHub.com, but some additional features are only available to entprise plans including GitHub Advanced Security for private repositories.
GitHub security features are not solely determined by programming languages. While certain security checks may be language-specific, overall security features encompass a broader range of aspects, including vulnerability scanning and dependency analysis, which are language-agnostic.
https://docs.github.com/en/code-security/getting-started/github-security-features
A. Security features on GitHub are not automatically enabled on every repository. It is the responsibility of the repository administrators and organization owners to set up and configure the security features based on the specific needs and requirements of the repository.
B. GitHub Advanced Security features are not automatically enabled for all repositories on GitHub.com. These features, such as code scanning, secret scanning, and dependency graph, need to be enabled and configured by the repository administrators or organization owners to take advantage of the advanced security capabilities.
C. GitHub security features are not solely dependent on the programming languages used in the repository. While the programming languages and technologies used in a repository may impact the security vulnerabilities present, GitHub offers a wide range of security features that are independent of the programming languages being used. It is up to the repository administrators and organization owners to set up and utilize these security features effectively.
D. Repository administrators and organization owners have the ability to configure repository security settings on GitHub. This includes setting up features such as branch protection rules, code scanning, dependency alerts, and security vulnerability alerts to enhance the security of the repository.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
