D1: Secure SDLC & Security Strategies
GH-500 GitHub Advanced Security exam practice questions · 10 flashcards
Question
Secret Protection vs Code Security interplay?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Secure SDLC & Security Strategies practice questions and answers
- Secret Protection vs Code Security interplay?Secret Protection stops credential leaks; Code Security finds code and dependency flaws — together cover code, secrets and supply chain.
- End-to-end secure SDLC on GitHub?Plan (advisories/threat model) → code (Copilot, push protection) → PR (code scanning, dependency review) → build (attestations) → deploy → monitor (alerts, campaigns).
- Prevention-first approach?Stop issues at source: push protection, pre-merge checks, secure defaults.
- Gate-based approach?Block releases at checkpoints (e.g. required status checks) after scanning.
- Prevention vs gates trade-off?Prevention reduces new debt with low friction; gates enforce standards but can slow delivery.
- Shift left?Move security earlier into development (IDE, pre-commit, PR).
- Security campaigns?Coordinated remediation of selected alerts across repos with owners, due dates and Copilot Autofix.
- Campaign benefit?Reduces security debt at scale with developer engagement.
- Who creates campaigns?Org owners/security managers.
- Scenario: 500 existing SQL injection alerts across 80 repos. Approach?Create a security campaign with Autofix and deadlines.