nerdexam
Microsoft

AZ-400 · Question #449

You have a GitHub Enterprise account. You need to enable push protection for secret scanning of the account repositories. What should you do first?

The correct answer is A. Purchase a GitHub Advanced Security license.. Secret scanning alerts for partners run automatically on all public repositories. If you have a license for GitHub Advanced Security, you can enable and configure secret scanning alerts for users for any repository owned by an organization. https://docs.github.com/en/enterprise-c

Submitted by ricky.ec· Mar 6, 2026Develop a security and compliance plan

Question

You have a GitHub Enterprise account. You need to enable push protection for secret scanning of the account repositories. What should you do first?

Options

  • APurchase a GitHub Advanced Security license.
  • BPurchase Premium Plus support.
  • CEnforce multi-factor authentication (MFA).
  • DCreate an access policy for secrets.

How the community answered

(57 responses)
  • A
    93% (53)
  • B
    2% (1)
  • C
    2% (1)
  • D
    4% (2)

Explanation

Secret scanning alerts for partners run automatically on all public repositories. If you have a license for GitHub Advanced Security, you can enable and configure secret scanning alerts for users for any repository owned by an organization. https://docs.github.com/en/enterprise-cloud@latest/code-security/secret-scanning/protecting- pushes-with-secret-scanning

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice