Free Microsoft GH-500 Actual Exam Questions - Question 3 Discussion

Question No. 3
– [Configure and Use Secret Scanning]
A secret scanning alert should be closed as "used in tests" when a secret is:
Select one option, then reveal solution.
US
RI
Ryan I.
2026-02-12

Guessing C since “solely used for tests” feels more precise than just “in a test file.”

0
FL
Fahad L.
2026-01-24

Maybe B makes sense since test files are where test secrets typically live, so closing alerts for secrets found there could be standard practice without needing to verify exclusivity.

0
RG
Ryan G.
2026-01-15

Option D makes sense too because if the secret isn't actually used in production, then it's not a real risk, so closing it as "used in tests" would be appropriate. It’s about whether the secret poses a security risk in the live environment, not just where it physically appears in code files.

0
RG
Ryan G.
2026-01-13

I think the right answer is C because if the secret is only used in tests, it makes sense to close the alert as "used in tests."

0