Week Two: Managing Securely [GitHub Administration Certification Prep Course] #176103
Replies: 17 comments 8 replies
-
✅ Week Two Knowledge Check – GitHub Admin Prep (With Rationale) Posting my answers for Week Two, along with brief reasoning:
Looking forward to building on this in Week Three and seeing how others are approaching repo lifecycle and policy enforcement. |
Beta Was this translation helpful? Give feedback.
-
C) Secret scanning |
Beta Was this translation helpful? Give feedback.
-
Question One: What GitHub feature scans code for secrets such as API keys or passwords and alerts administrators? Question Two: What is the primary purpose of enabling branch protection rules in a repository? Question Three: What does Dependabot automatically do in a repository to help maintain security? Question Four: What should an administrator do when a security automation tool finds a secret in a repository? Question Five: What is a recommended best practice for the contents of a SECURITY.md file? Question Six: After removing sensitive data from the repository history, what must be done to prevent others from accessing the previous data? Question Seven: What is a key benefit of using GitHub’s audit log features in an enterprise environment? |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for these new week course materials. Wow! I was unaware of the well-architected site in Github! Awesome stuff! Thank you very much for sharing. These are my answers: Question One: What GitHub feature scans code for secrets such as API keys or passwords and alerts administrators when they are detected? Question Two: What is the primary purpose of enabling branch protection rules in a repository? Question Three: What does Dependabot automatically do in a repository to help maintain security? Question Four: What should an administrator do when a security automation tool finds a secret (such as an API key) in a repository? Question Five: What is a recommended best practice for the contents of a SECURITY.md file? Question Six: After removing sensitive data from the repository history, what must be done to prevent others from accessing the previous data? Question Seven: What is a key benefit of using GitHub’s audit log features in an enterprise environment? I must recognize that the GHAS course we previously took has been of great help this week... I look forward to the next week's contents. |
Beta Was this translation helpful? Give feedback.
-
My answers with links to the GitHub documentation - 1 C) GitHub's Secret scanning feature is designed to scan code for secrets such as API keys, passwords, or other sensitive information. When it detects such secrets, it alerts administrators so they can take appropriate action to secure their repositories. 2 B) Branch Protection Rules help maintain code quality and security by enforcing certain rules and restrictions on how changes can be made to important branches (typically main/master branch). By default, the restrictions of a branch protection rule don't apply to people with admin permissions to the repository or custom roles with the "bypass branch protections" permission. 3 C) Dependabot can fix vulnerable dependencies for you by raising pull requests with security updates. Make sure to review and test the pull requests created by Dependabot before merging them, as updating dependencies can sometimes break your code. 4 A) When a security automation tool finds a secret, such as an API key, in a repository, it's a serious security vulnerability. Revoke and/or rotate that secret. 5 A) A SECURITY.md file is a standard markdown file used to provide security-related guidance for a project. The primary purpose is to create a clear, accessible process for responsible security vulnerability disclosure. 6 D) After removing sensitive data from the repository history, force-push the rewritten history and advise all contributors to re-clone the repository 7 B) GitHub's audit log is a crucial security and compliance feature for enterprise environments that records and tracks important actions and changes across an organization. |
Beta Was this translation helpful? Give feedback.
-
my answers are:
|
Beta Was this translation helpful? Give feedback.
-
Here are my answers: Question 1 A) Dependabot B) Code scanning C) Secret scanning D) Issue templates Answer: C – Secret scanning is the dedicated feature for detecting hardcoded secrets. Question 2 A) To allow anyone to push changes to the default branch B) To enforce code review and prevent unauthorized changes C) To automatically delete inactive branches D) To increase repository visibility Answer: B – Branch protection ensures changes are reviewed and prevents unauthorized modifications. Question 3 A) Deletes unused branches B) Schedules code reviews C) Creates pull requests to update dependencies with security vulnerabilities D) Manages organization billing Answer: C – Dependabot creates pull requests to fix vulnerable dependencies. Question 4 A) Remove the secret from the repository and rotate it
B) Share the secret with team members C) Ignore the alert D) Make the repository internal Answer: A – Remove and rotate the secret to mitigate exposure. Question 5 A) Include instructions for reporting security vulnerabilities B) List members who are a security risk C) Describe recent security breaches D) Provide passwords or keys Answer: A – SECURITY.md should guide users on securely reporting vulnerabilities. Question 6 A) Archive the repository and start over B) Notify GitHub Support and share logs C) Enable branch protection and re-clone D) Force-push the rewritten history and advise all contributors to re-clone Answer: D – Force-push and re-clone are essential to prevent continued access to old history. Question 7 A) Increases storage limits B) Provides a record for security and compliance monitoring C) Automates code reviews D) Enables automatic pull request approvals Answer: B – Audit logs support compliance and real-time monitoring. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
The answers are... click details to reveal them! Don't worry if you haven't had a chance to study yet, after you post your answers, check them against the ones below. Question One: What GitHub feature scans code for secrets such as API keys or passwords and alerts administrators when they are detected? Question Two: What is the primary purpose of enabling branch protection rules in a repository? Question Three: What does Dependabot automatically do in a repository to help maintain security? Question Four: What should an administrator do when a security automation tool finds a secret (such as an API key) in a repository? A) Remove the secret from the repository and rotate it Question Five: What is a recommended best practice for the contents of a SECURITY.md file? Question Six: After removing sensitive data from the repository history, what must be done to prevent others from accessing the previous data? Question Seven: What is a key benefit of using GitHub’s audit log features in an enterprise environment? |
Beta Was this translation helpful? Give feedback.
-
1-)C |
Beta Was this translation helpful? Give feedback.
-
Knowledge check for week 2 below.
Question One: What GitHub feature scans code for secrets such as API keys or passwords and alerts administrators when they are detected?
**C) Secret scanning**
Question Two: What is the primary purpose of enabling branch protection rules in a repository? Question Three: What does Dependabot automatically do in a repository to help maintain security? Question Four: What should an administrator do when a security automation tool finds a secret (such as an API key) in a repository? Question Five: What is a recommended best practice for the contents of a SECURITY.md file? Question Six: After removing sensitive data from the repository history, what must be done to prevent others from accessing the previous data? Question Seven: What is a key benefit of using GitHub’s audit log features in an enterprise environment? |
Beta Was this translation helpful? Give feedback.
-
C thank you for new challenge |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
![]() [git-cheat-sheet-education](https://education.github.com/git-cheat-sheet-education.pdf)https://[education.github.com/git-cheat-sheet-education.pdf](https://education.github.com/git-cheat-sheet-education.pdf) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Unrelated question to week 2 study, but would love your thoughts on it nonetheless. Would you advice someone who has recently completed a MSc IT, who aspires to be a security engineer, unemployed at the moment but studying and obtaining a number of certifications in cybersecurity, to get the GitHub Administration Certificate? I am studying to take the AZ-500 (having already taken the AZ-900, AI-900 and DP-900) and I think the GitHub Administration Certificate would completement the AZ-500. I am however wondering if the GitHub Administration Certificate isn't more suited for people who are already employed and use GitHub in their organization. Thanks |
Beta Was this translation helpful? Give feedback.
-
We're halfway through the prep course - just a couple more modules until we reach the finish line! Join us in the Week Three discussion for more practice and prep! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Welcome to week two of the GitHub Administration Exam prep! Great job on completing Week One! And don’t worry, if you haven’t done it yet, you can always start at the beginning and catch up with us. Remember that you can always ask questions and chat with your fellow certification study group here.
As a thank you for participating in these discussions, we’ll be awarding 15 GitHub Certification exam vouchers to members who engage with us during the course.
Step One: Prep 📚
We’ve assembled some materials for this first section.
Step Two: Test Your Knowledge ⚡
Question One: What GitHub feature scans code for secrets such as API keys or passwords and alerts administrators when they are detected?
A) Dependabot
B) Code scanning
C) Secret scanning
D) Issue templates
Question Two: What is the primary purpose of enabling branch protection rules in a repository?
A) To allow anyone to push changes to the default branch
B) To enforce code review and prevent unauthorized changes
C) To automatically delete inactive branches
D) To increase repository visibility in the organization
Question Three: What does Dependabot automatically do in a repository to help maintain security?
A) Deletes unused branches to prevent confusion
B) Schedules code reviews to ensure code is meeting policy standards
C) Creates pull requests to update dependencies with security vulnerabilities
D) Manages organization billing on actions
Question Four: What should an administrator do when a security automation tool finds a secret (such as an API key) in a repository?
A) Remove the secret from the repository and rotate it
B) Share the secret with team members
C) Ignore the alert
D) Make the repository internal
Question Five: What is a recommended best practice for the contents of a SECURITY.md file?
A) Include instructions for reporting security vulnerabilities
B) List all organization members who are a security risk
C) Describe recent security breaches
D) Provide passwords, SSH keys, and other login/authentication information
Question Six: After removing sensitive data from the repository history, what must be done to prevent others from accessing the previous data?
A) Archive the repository and start over
B) Notify GitHub Support and share your logs with them
C) Enable branch protection rules and advise all contributors to re-clone the repository
D) Force-push the rewritten history and advise all contributors to re-clone the repository
Question Seven: What is a key benefit of using GitHub’s audit log features in an enterprise environment?
A) It increases repository storage limits and Dependabot capabilities
B) It provides a record of important events for security and compliance monitoring
C) It automates code reviews for Enterprise Admins
D) It enables automatic pull request approvals
Jump to the comments to view the answers when you are ready.
Use the discussion below to share additional study resources, ask questions, and respond to our prep questions.
*No Purchase Necessary. Open only to Github community members 18+. Game ends 11/1/25. For details, see Official Rules.
Beta Was this translation helpful? Give feedback.
All reactions