← 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?
- A.Tests
- B.Screenshots
- C.API keys or .env files with secrets
- 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 →