StudyByteLearn
← SC-100: Microsoft Cybersecurity Architect
SC-100 · Application lifecycle workload identities and APIs

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.

  1. A.Record it as harmless because the repository is private
  2. B.Delete only the current line and assume history is inaccessible
  3. C.Rotate or revoke the exposed credential and fix storage and pipeline controls
  4. D.Increase the secret's lifetime to avoid outages
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 the source reference

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.