GH-500 practice question 1 of 15
– [Configure and Use Secret Scanning] Secret scanning will scan:
Full set: 75 questionsGitHub secret scanning is a native security feature that operates specifically on repositories hosted on the GitHub platform (GitHub.com and GitHub Enterprise). It automatically scans the entire Git history of all branches within a repository to find accidentally committed secrets, such as tokens and private keys. The scope of the scan is confined to the content of the GitHub repository itself, making it a repository-centric security tool.
A. Secret scanning is a GitHub feature that scans repository content, not the continuous integration system's infrastructure or configuration itself.
B. The feature is specific to repositories hosted on GitHub. It does not scan any arbitrary Git repository hosted on other platforms like GitLab or a private server.
D. Secret scanning finds credentials for external services that are located within a repository; it does not scan the external services themselves.
1. GitHub Docs
"About secret scanning." This document explicitly states
"Secret scanning scans your entire Git history on all branches present in your GitHub repository for secrets." This confirms the feature's scope is the GitHub repository.
Source: https://docs.github.com/en/code-security/secret-scanning/about-secret-scanning
Section: "About secret scanning."
2. Microsoft Learn
"Configure secret scanning
" GH-500 Learning Path. The official training material for the exam describes the feature's function: "GitHub scans repositories for known types of secrets to prevent fraudulent use of secrets that were committed by accident." The context is always a repository on GitHub.
Paragraph 1.
3. GitHub Docs
"Managing security and analysis settings for your repository." The configuration process for secret scanning is performed within the settings of a specific GitHub repository
reinforcing that its operational boundary is the repository.
Section: "Allowing or disallowing features for your private repository."
Keep practicing
Take the free GH-500 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other GH-500 practice questions
- Question 2– [Use Code Scanning with CodeQL] Why should you dismiss a code scanning alert?
- Question 3– [Configure and Use Secret Scanning] A secret scanning alert should be closed as "used i…
- Question 4– [Configure and Use Dependency Management] Which of the following formats are used to de…
- Question 5– [Configure GitHub Actions Workflows] As a repository owner, you do not want to run a Gi…
- Question 6– [Describe GitHub Advanced Security Best Practices] Which of the following benefits do c…
- Question 7– [Configure and Use Dependency Management] Which security feature shows a vulnerable dep…
