Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft GH-500 Exam - Topic 5 Question 22 Discussion

Posted by Shelia on Oct 12, 2026 at 09:23 AM

What is a benefit of using a custom CodeQL configuration file?

Suggested Answer: C

A custom CodeQL configuration file can be stored in an external repository and referenced by multiple repositories. This allows an organization to centralize query packs, additional queries, query filters, path exclusions, threat-model configuration, and other CodeQL settings rather than duplicating the same settings across many workflow files. GitHub explicitly documents centralized configuration as a benefit of external configuration files. A token may be required when an advanced-setup workflow retrieves a configuration file from a private external repository, but providing the token is not the purpose of the configuration file itself. Likewise, a configuration file does not automatically choose a package, and query packs do not inherently disable the default query suite. Default queries are disabled only when the appropriate configuration option is deliberately specified. Therefore, C is correct.


Get Premium GH-500 Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
3 comments · newest first
CO
Cordelia 3 days ago
I feel like option C makes the most sense since it mentions multiple repositories, which is something we discussed in class.
VI
Vi 8 days ago
I remember practicing a question about CodeQL configurations, and I think it had something to do with disabling certain queries, but I can't recall the exact details.
CA
Caprice 13 days ago
I think a custom CodeQL configuration file helps with managing settings across multiple repositories, but I'm not entirely sure if that's the main benefit.
0/2000 characters

Save Cancel