GH-500 Practice Test practice questions, page 2 of 5, with answer review and explanations.
Question 6
Which of the following benefits do code scanning, secret scanning, and dependency review provide?
Automatically raise pull requests, which reduces your exposure to older versions of dependencies.
View alerts about dependencies that are known to contain security vulnerabilities.
Search for potential security vulnerabilities, detect secrets, and show the full impact of changes to dependencies.
Confidentially report security vulnerabilities and privately discuss and fix security vulnerabilities in your repository’s code.
Question 7
Which alerts do you see in the repository’s Security tab? Each answer presents part of the solution. (Choose three.)
secret scanning alerts
Dependabot alerts
code scanning alerts
security status alerts
repository permissions
Question 8
A dependency has a known vulnerability. What does the warning message include?
an easily understandable visualization of dependency change
a brief description of the vulnerability
how many projects use these components
the security impact of these changes
Question 9
Which features require GitHub Advanced Security to be enabled for internal and private repositories in an organization? Each correct answer presents part of the solution. (Choose two.)
security policy
secret scanning
packages
dependency review
Question 10
Which of the following is the best way to dispose of a compromised secret?