GitHub Foundations Practice Exam Part III Flashcards
Which security feature of GitHub can you use to prevent pushing secrets to your repo?
a. Secret Scanning
b. Dependency Graph
c. CodeQL Analysis
a. Secret Scanning
Which of these elements is NOT typically included in a Git commit?
a. The branch name where the commits it’s made.
b. The SHA-1 hash identifying the commit.
c. The changes made to the code or files.
d. The date and time of the commit.
a. The branch name where the commits it’s made.
What does Dependabot alerts do?
a. They notify you about outdated dependencies in your repository.
b. They notify you when your repository size exceeds quota.
c. They send notifications about failed build processes.
d. They send alerts about critical software runtime errors.
a. They notify you about outdated dependencies in your repository.
Which of the following are built-in workflows for GitHub Projects?
a. Code review approved.
b. Item closed.
c. Auto-add to project.
d. Item moved to another column.
e. Card commented on.
a. Code review approved.
b. Item closed.
c. Auto-add to project.
How do you subscribe to a notifications thread in GitHub?
a. Click the “Subscribe” button on the right side of an issue or pull request page.
b. Leave a comment on the thread.
c. Fork the repository.
d. Use the “Watch” button at the top of the repository.
a. Click the “Subscribe” button on the right side of an issue or pull request page.
What are GitHub Wiki pages primarily used for?
a. To provide a platform for user-generated documentation and notes related to a project.
b. To host the static website for the project.
c. To automatically generate code documentation from comments in source code.
d. To store sensitive configuration files.
a. To provide a platform for user-generated documentation and notes related to a project.
What is the primary purpose of GitHub Projects?
a. To offer a project management tool that organizes tasks, issues, and pull requests.
b. To serve as a centralized repository for storing and sharing code.
c. To provide a chat system for real-time collaboration among developers.
d. To automate code compilation and deployment.
a. To offer a project management tool that organizes tasks, issues, and pull requests.
Which options can you use to configure the visibility of a GitHub repository? (Choose 2)
a. Make the repository public, allowing unrestricted access to the code.
b. Use a VPN to control which users can access the repository.
c. Encrypt the repository content to make it visible only to users with the decryption key.
d. Set the repository as private, restricting access to specific collaborators or teams.
a. Make the repository public, allowing unrestricted access to the code.
d. Set the repository as private, restricting access to specific collaborators or teams.
What best describes a GitHub Flow?
a. A method of version control that is exclusive to GitHub and cannot be used with other version control systems.
b. A strict, linear approach to software development that requires sequential completion of tasks.
c. A collaborative workflow that centers around creating branches for new features, code reviews, and pull requests.
d. A system that integrates code changes directly into the master branch without review.
c. A collaborative workflow that centers around creating branches for new features, code reviews, and pull requests.
What is the primary purpose of enabling Two-Factor Authentication (2FA) for your GitHub account?
a. To provide an extra layer of security by requiring a second form of verification besides your password.
b. To enable automated code merging in pull requests.
c. To customize the appearance and theme of your GitHub profile.
d. To increase the storage capacity of your repositories.
a. To provide an extra layer of security by requiring a second form of verification besides your password.
What is the main difference between InnerSource and open source?
a. InnerSource is about private collaboration within an organization, while open source involves public collaboration.
b. InnerSource does not allow code sharing, while open source is based on freely sharing code.
c. InnerSource is only for software development, while open source can be used for any type of project.
d. InnerSource requires a paid subscription, whereas open source is completely free.
a. InnerSource is about private collaboration within an organization, while open source involves public collaboration.
Which features can you use to improve your workflow in GitHub Projects? (Choose 2)
a. Labels for categorizing and filtering tasks.
b. Hard disk encryption for securing your project data.
c. Direct messaging for real-time communication with contributors.
d. Custom fields for adding unique information to each task.
a. Labels for categorizing and filtering tasks.
d. Custom fields for adding unique information to each task.
What distinguishes GitHub Copilot for Business from GitHub Copilot for Individuals?
a. GitHub Copilot for Business is designed for enterprise-scale deployment and administrative controls, whereas GitHub Copilot for Individuals is for personal use.
b. GitHub Copilot for Business offers cloud-based storage, whereas GitHub Copilot for Individuals offers local storage only.
c. GitHub Copilot for Business allows code sharing, while GitHub Copilot for Individuals does not.
d. GitHub Copilot for Business includes project management tools, whereas GitHub Copilot for Individuals focuses on code completion.
a. GitHub Copilot for Business is designed for enterprise-scale deployment and administrative controls, whereas GitHub Copilot for Individuals is for personal use.
Which is NOT a role for GitHub Organization collaborators?
a. Triage
b. Collaborator
c. Admin
d. Write
b. Collaborator
What is the main feature of the Roadmap layout for GitHub Projects?
a. It facilitates automated code reviews and pull request merges.
b. It provides an interactive Kanban board for managing issues and pull requests.
c. It enables a Gannt chart view to visualize and plan tasks and deadlines in a timeline.
d. It allows to filter items by labels or milestones.
c. It enables a Gannt chart view to visualize and plan tasks and deadlines in a timeline.