Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
While reviewing your application's source code in your private GitHub repository, you discover that a service account key has been accidentally committed to git. What is the most appropriate action to take next?
A
Contact Google Cloud Support for assistance.
B
Ignore the issue since the repository is private and keys are safe there.
C
Delete the entire project and start anew to ensure security.
D
Immediately revoke the compromised key, remove it from Git, cleanse the Git history to eliminate all traces of the file, and add the key to the .gitignore file to prevent future commits.