GH-500 - Describe GitHub Security suites, features, and ecosystem - Section 1.3

Apply a secure SDLC using GitHub Security suites, and compare prevention-first approaches with gate-based security strategies and security campaigns.

Apply GitHub Security suites across the secure SDLC by combining shift-left, prevention-first controls with gate-based enforcement. Compare how security campaigns differ from gate-based strategies when driving developer remediation at scale.

secure SDLCprevention-firstgate-based securitysecurity campaignsshift left

Practice question for this objective

Free sampleDescribe GitHub Security suites, features, and ecosystemhard

A security architect is sequencing controls along the secure SDLC and wants each control mapped to the earliest stage where it can stop a problem cheaply, embodying the shift-left principle. They list four controls: push protection blocking a credential at push time, a CodeQL pull request scan flagging a SQL injection before merge, Dependency Review surfacing a vulnerable package on the pull request, and a security campaign driving remediation of alerts already in production. Which ordering correctly arranges these from the earliest, most preventive point in the lifecycle to the latest, most remedial?

  • APush protection at push time, then Dependency Review and the CodeQL pull request scan together at pull request review, then a security campaign driving remediation in production Correct
  • BDependency Review on the pull request, then push protection at push time, then a security campaign in production, then the CodeQL pull request scan during review
  • CA security campaign in production first, then push protection at push time, then the CodeQL pull request scan, then Dependency Review on the pull request during review
  • DThe CodeQL pull request scan first, then push protection at push time, then Dependency Review on the pull request, then a security campaign driving remediation in production
Order GitHub security controls along the SDLC from earliest prevention (push protection) through pre-merge gates to post-deployment remediation campaigns. Shift-left means catching problems at the earliest, cheapest stage. Push protection stops a secret before it is committed, so it is earliest; Dependency Review and CodeQL pull request scans gate changes before merge; a security campaign remediates findings that are already live, so it is the latest. Correct sequencing follows the moment in the lifecycle at which each control can first act.

Why A is correct: Push protection acts earliest, stopping a secret before it ever lands; Dependency Review and the CodeQL scan act next at the pull request stage as pre-merge gates; and a security campaign is the latest, remedial step that chases down findings already shipped, which matches the shift-left progression.

Why B is wrong: This places Dependency Review and the CodeQL scan, which both act at pull request review, on either side of the campaign, mixing pre-merge gates with post-deployment remediation and putting push protection after a pre-merge check, so the lifecycle ordering is incoherent.

Why C is wrong: Leading with a security campaign puts the most remedial, post-deployment activity first, inverting the shift-left intent, and it also separates the two pull request gates that belong together at the review stage.

Why D is wrong: Push protection acts before any code review begins, so placing it after a pull request scan is wrong; the credential block is the earliest control and cannot sit between two pre-merge checks at review time.

See more GH-500 practice questions, answers explained.

More in this domain

Back to all Describe GitHub Security suites, features, and ecosystem objectives, or the GH-500 cert hub.

Examworthy is not affiliated with or endorsed by GitHub. Original, blueprint-aligned practice material only.