SpinTheMic
Pro

Interview practice question

Credentials committed to Git

Data Engineering · DataOps CI/CD · Beginner

A teammate accidentally committed a database password to a Git repository. What do you do?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Rotate the credential immediately.
  • Remove it from code and move to a secrets manager.
  • Rewriting history isn't enough; assume it's compromised.
  • Check access logs for misuse.
  • Add secret scanning and pre-commit hooks.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics