Your code is hosted in GitHub. A developer accidentally commits an Azure Storage Account access key directly into the repository. You need a system that immediately detects this exposed key and alerts the security team. Which feature should you enable?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: GitHub Advanced Security Secret Scanning

Secret scanning is a feature of GitHub Advanced Security that monitors repositories for known secret formats (like Azure access keys, AWS tokens, API keys). If a secret is committe...

๐Ÿ“‹Part of Microsoft Certified: DevOps Engineer Expert (AZ-400) ยท Azure Certification Practice
Real Exam ScenarioDevSecOps

Your code is hosted in GitHub. A developer accidentally commits an Azure Storage Account access key directly into the repository. You need a system that immediately detects this exposed key and alerts the security team. Which feature should you enable?

โœ“ Correct Answer & ExplanationDevSecOps

Correct Answer

GitHub Advanced Security Secret Scanning

Why This Answer Is Correct

Secret scanning is a feature of GitHub Advanced Security that monitors repositories for known secret formats (like Azure access keys, AWS tokens, API keys). If a secret is committed, it immediately flags it and can alert administrators or even block the push (with push protection enabled).

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of DevSecOps โ€” a core concept tested in Microsoft Certified: DevOps Engineer Expert (AZ-400). Understanding DevSecOps is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.