Quiz
Based on the chapter’s coverage of securing a one-page portfolio website on GitHub, here are some quiz questions to encapsulate the key points about applying secure development practices:
- What is the purpose of setting up permissions and access controls in a GitHub repository?
- To decide who can contribute code
- To lock the repository from everyone
- To delete unwanted users
- To automate code deployment
Answer: A. To decide who can contribute code
- Trur or false – 2FA on GitHub adds an extra layer of security to your account by requiring a second form of verification.
- True
- False
Answer: A. True
- Fill in the blank: ___________ automatically updates your dependencies to fix vulnerabilities.
Answer: Dependabot
- Which file helps to specify who can review and approve changes to certain parts of your project on GitHub?
README.md
.
gitignore
- CODEOWNERS
.
gitconfig
Answer: C. CODEOWNERS
- True or false – branch protection rules can help ensure that changes to your site...