← Quiz: LinkedIn and GitHub: all 10 questions
Quiz: LinkedIn and GitHub · Question 4 of 10
Why should API keys never be committed to GitHub?
Why should API keys never be committed to GitHub?
- A.They make repositories bigger
- B.Public repos expose them, and attackers scan GitHub for leaked keys
- C.GitHub deletes them
- D.They slow down Git
Answer & explanation
Correct answer: Public repos expose them, and attackers scan GitHub for leaked keys
Leaked keys can be abused within minutes.
Can you get the rest right without peeking?
Take the timed Quiz: LinkedIn and GitHub quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →