🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Portfolio Projects: all 10 questions

Quiz: Portfolio Projects · Question 5 of 10

What should you never commit to a public project repository?

What should you never commit to a public project repository?

  1. A.Tests
  2. B.Screenshots
  3. C.API keys or .env files with secrets
  4. D.A docker-compose.yml
Answer & explanation

Correct answer: API keys or .env files with secrets

Secrets in repos get scraped by bots within minutes; use environment variables.

Can you get the rest right without peeking?

Take the timed Quiz: Portfolio Projects quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →