← 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?
- A.Delete the file in a new commit and move on
- B.Make the repository private and wait
- C.Revoke or rotate the key immediately, then check what it was used for
- 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 →