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

Quiz: Secrets and Configuration · Question 4 of 10

Which file should be committed to Git?

Which file should be committed to Git?

  1. A..env with the real production password
  2. B.id_rsa (an SSH private key)
  3. C..env.example with variable names and fake values
  4. D.A backup of the production database
Answer & explanation

Correct answer: .env.example with variable names and fake values

The example file documents what is needed without exposing any real secret.

Can you get the rest right without peeking?

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

Start the quiz →