Practice question 78 of 498 · medium
A secret scanner detects a production credential committed to a repository. Which TWO immediate responses are required to address the exposure? Select TWO.
Select all that apply. Every correct option and no extras are required for credit in the app.
Show the answer and explanation
✓ Correct answers
- Revoke or rotate the exposed credential through the owning service
- Remove the secret from the workflow and remediate its storage pattern
Rotation/revocation invalidates exposed authority and safe storage prevents recurrence. Deleting one line leaves history/copies, private repository exposure is still credential compromise risk, and waiting for every clone delays invalidation.
Read and review here, or open the app to practise and save your results on this device.
Unofficial study material. Not affiliated with or endorsed by Microsoft. These are original learning questions, not actual exam questions. Product capabilities and exam objectives can change; verify current Microsoft documentation. Practice scores do not predict or guarantee an exam result.