Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
You've discovered that a service account key has been accidentally committed to your private GitHub repository while reviewing your application's source code. What is the most appropriate course of action to take next?
A
Revoke the key, remove the key from Git, purge the Git history to eliminate all traces of the file, and ensure the key is added to the .gitignore file.
B
Delete the project and start anew.
C
Take no action. Storing keys in Git is acceptable if the repository is private.
D
Reach out to Google Cloud Support for assistance.