Practice question 417 of 498 · medium
A repository scanner finds a valid production secret in a commit. What is the best response?
Choose the single best answer.
Show the answer and explanation
✓ Correct answer
- Rotate or revoke the exposed credential and fix storage and pipeline controls
An exposed credential requires rotation or revocation and preventive correction. Deleting one line leaves history and copies, private repositories still have compromise risks, and longer validity increases the exposure window.
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.