Skip to main content
Cloud Developer & DevOps ⭐ Premium ⭐ Featured

GitHub Advanced Security (GHAS) Certification

By Webmaster Certland English 📝 340 questions ❤️ 0 likes

Practice exam for the GitHub Advanced Security certification. Covers code scanning, CodeQL, secret scanning, dependency review, supply chain security, security policies, and reporting.

⭐ Premium Updated Mar 2026

Unlock all 340 GitHub Advanced Security (GHAS) Certification questions

Full simulation · Detailed explanations · Unlimited attempts

  • 340 questions — ~5 full-length simulations
  • Detailed explanations — why each answer is right or wrong
  • Unlimited attempts — retake as many times as needed
  • Smart Practice + Focus Mode + no ads
340
Questions
All certifications
from $4.90/mo

Sample Questions — GitHub Advanced Security (GHAS) Certification

5 free sample questions from this practice exam. Correct answers are highlighted.

1. A developer is new to CodeQL and asks what type of language it is. Which statement best describes CodeQL?

A An imperative programming language used to write custom static analysis rules
B A declarative, object-oriented query language that treats source code as a database ✓ Correct
C A scripting language for automating CI/CD pipeline security checks
D A markup language for defining security policies in GitHub repositories

2. A developer wants to write a custom CodeQL query to detect a specific insecure coding pattern in a Java repository. After writing the query in VS Code, which file extension should the query file use?

A .ql ✓ Correct
B .cql
C .qry
D .qlx

3. A company wants to ensure that no API keys or tokens are accidentally committed to any repository in their GitHub organization. Which GitHub Advanced Security feature should they enable first?

A Enable code scanning at the organization level
B Enable secret scanning at the organization level ✓ Correct
C Enable Dependabot alerts at the organization level
D Configure branch protection rules requiring status checks

4. What does GitHub Secret Scanning primarily detect in a repository?

A Credentials, API keys, and tokens committed to the repository ✓ Correct
B SQL injection vulnerabilities in application source code
C Outdated or vulnerable third-party dependencies
D Misconfigured branch protection rules

5. A company uses npm for their Node.js application. They want GitHub to automatically detect vulnerable packages in their repository. Which GitHub feature must be enabled first to allow Dependabot alerts to work?

A Code scanning
B Dependency graph ✓ Correct
C Secret scanning
D GitHub Actions

Want to test yourself for real?

Create a free account and run our exam simulation engine.

Free No credit card
  • Simulation engine
  • Up to 10 questions per attempt
  • Score & basic stats
Create free account Already have an account? Sign in
Best
Premium Premium
  • All 340 questions
  • Detailed explanations
  • Smart Practice + Focus Mode
⭐ Get Premium

Information

Questions 340
Time 2h
Difficulty Medium
Minimum Score 70.00%


💰 ROI

Official exam $250.00
CertLand $4.90/mo
Prepare for $250 for less than a coffee/mo

Study Guides & Articles

Related Exams

Discussion

No comments yet. Be the first to start the discussion!

Sign in to join the discussion.