
GitHubAdvanced Security (GH-500)
Domain 4Objective 2
Set up and Configure Code Security GH-500 Practice Questions (Page 5)
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 21–24
- 21
Which file format is used by the default CodeQL workflow to define the code scanning configuration?
Select an answer first - 22
Which GitHub Actions trigger would run a code scanning workflow when a pull request is opened?
Select an answer first - 23
A team wants to enable code scanning on a repository that uses a compiled language (C++). They are unsure if the default autobuild will work. What should they do?
Select an answer first - 24
A team has a repository with a complex build that requires a specific environment variable to be set before the build. They are using the default CodeQL workflow. How should they incorporate this requirement?
Select an answer first
Finished these 4 questions?
Review the revealed explanations, or continue through the curriculum.
No more pagesBack to GH-500
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.