🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Secrets and Configuration: all 10 questions

Quiz: Secrets and Configuration · Question 8 of 10

Your cloud key was pushed to a public repository. What should you do first?

Your cloud key was pushed to a public repository. What should you do first?

  1. A.Delete the file in a new commit and move on
  2. B.Make the repository private and wait
  3. C.Revoke or rotate the key immediately, then check what it was used for
  4. D.Rewrite Git history, then rotate the key next week
Answer & explanation

Correct answer: Revoke or rotate the key immediately, then check what it was used for

Bots may already have copied the key; only revoking it stops further misuse.

Can you get the rest right without peeking?

Take the timed Quiz: Secrets and Configuration quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →