
GitHubAdvanced Security (GH-500)
Domain 4Objective 2
Set up and Configure Code Security GH-500 Practice Questions (Page 2)
Part of the Configure and use Code Security (formerly Code Scanning with CodeQL) domain, which accounts for 10-15% of the GH-500 exam.
24questions here
5free pages
6concepts
10-15%of the exam
Questions 6–10
- 6
What is the purpose of the SARIF file in the context of code scanning?
Select an answer first - 7
What is the main benefit of using GitHub's default code scanning workflow template?
Select an answer first - 8
A team has a repository with a mix of C and C++ code. They want to use CodeQL to scan both, but the build system is complex and requires a specific configuration. They are using the default workflow. What is the best way to ensure the build is correct?
Select an answer first - 9
A team wants to customize the default CodeQL workflow to use a specific CodeQL pack for their C# project. What should they modify?
Select an answer first - 10
In a GitHub Actions workflow, which syntax is used to define a matrix of operating systems?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by GitHub. “GH-500” is a trademark of its owner, used for identification only.