← 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?
- A.They encrypt your dependencies
- B.They pin exact versions, so a new malicious release is not installed silently
- C.They remove unused code
- 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 →