🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.They make repositories bigger
  2. B.Public repos expose them, and attackers scan GitHub for leaked keys
  3. C.GitHub deletes them
  4. 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 →