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

Quiz: Secure Development and Careers · Question 6 of 10

Why do lockfiles (package-lock.json, poetry.lock) help supply-chain security?

Why do lockfiles (package-lock.json, poetry.lock) help supply-chain security?

  1. A.They encrypt your dependencies
  2. B.They pin exact versions, so a new malicious release is not installed silently
  3. C.They remove unused code
  4. D.They scan for SQL injection
Answer & explanation

Correct answer: They pin exact versions, so a new malicious release is not installed silently

Updates then happen deliberately, where you can review them.

Can you get the rest right without peeking?

Take the timed Quiz: Secure Development and Careers quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →