GitHub Foundations Practice Exam Flashcards
What project management feature in GitHub can simply track the amount of open and closed tasks for a specific goal?
a. GitHub Wiki
b. GitHub Notifications
c. GitHub Discussions
d. GitHub Milestones
d. GitHub Milestones
What does forking a repo in GitHub do?
a. It deletes the original repository.
b. It contributes your changes directly to the original repository.
c. It pins the repository to your GitHub homepage.
d. It creates a personal copy of the repository in your account.
d. It creates a personal copy of the repository in your account.
What best describes a GitHub Repo?
a. A project management tool exclusively for tracking issues and tasks.
b. A collection of files and folders stored on GitHub.
c. A communication platform for developers.
d. A version control system.
b. A collection of files and folders stored on GitHub.
Which Git command allows you to check out and create a new branch simultaneously?
a. git branch new-branch
b. git checkout -b new-branch
c. git merge new-branch
d. git init new-branch
b. git checkout -b new-branch
To perform a pull request in a GitHub repository, which of the following conditions must be true?
a. The target branch must exist in the repository.
b. You must have commit access to the repository.
c. You must have a fork of the repository.
d. The repository must be private.
a. The target branch must exist in the repository.
What are the differences between GitHub for individuals and GitHub Business?
a. GitHub Business provides SAML single sign-on support while GitHub Individual does not.
b. GitHub Individuals comes with a built-in C|/CD tool, while GitHub Business requires additional setup for CI/CD.
c. GitHub Individuals allow creating organizations, while GitHub Business does not.
d. GitHub Business allows unlimited collaborators in private repositories, GitHub Individuals allows unlimited collaborators only in public repositories.
a. GitHub Business provides SAML single sign-on support while GitHub Individual does not.
d. GitHub Business allows unlimited collaborators in private repositories, GitHub Individuals allows unlimited collaborators only in public repositories.
How can you make a copy of a public Gist on GitHub and maintain its version history?
a. By downloading and uploading the Gist files to your account.
b. By using the ‘Fork’ button on the Gist page.
c. By using the ‘Star’ button on the Gist page.
d. By creating a new Gist and copying the content manually.
e. By cloning the Gist repository using Git.
b. By using the ‘Fork’ button on the Gist page.
Which of the following are actual push notifications that you can receive from GitHub Mobile?
a. Direct Mentions
b. Review Requested
c. Pull Request Review
d. Workflow Runs
e. Assigned
f. Deployment Review
a. Direct Mentions
b. Review Requested
c. Pull Request Review
e. Assigned
Which type of GitHub repository is unique to GitHub Enterprise accounts?
a. Internal Repositories
b. Forked Repositories
c. Private Repositories
d. Public Repositories
a. Internal Repositories
What best describes the use-case for Personal Access Tokens (PATs) in GitHub?
a. For two-factor authentication during sign-in
b. To encrypt repository data
c. Is a replacement for password authentication when using the GitHub API or Git over HTTPS.
d. To provide administrative access to all repositories in an organization
c. Is a replacement for password authentication when using the GitHub API or Git over HTTPS.
Which of the following are attributes that can be defined in a GitHub Actions workflow file? (Choose 3)
a. jobs
b. on
c. triggers
d. runs
e. steps
a. jobs
b. on
e. steps
What best describes the differences between GitHub.com, GitHub Desktop, and GitHub Mobile?
a. GitHub Mobile is for Linux, GitHub.com is mobile-only, GitHub Desktop is for cloud storage
b. Github.com, GitHub Desktop and GitHub Mobile are identical services with different names:
c.
- Github.com is a web-based Git repository hosting service
- GitHub Desktop is a GUI client for Git
- GitHub Mobile allows repository management on mobile device
d.
- GitHub Desktop is a code review web service
- GitHub Mobile is for desktop software development
- GitHub.com is a cloud storage tool
Figure this one out
Which GitHub personal plan offers Dependabot alerts? (Choose 2)
a. GitHub Enterprise
b. GitHub Free
c. GitHub Pro
d. GitHub Team
b. GitHub Free
c. GitHub Pro
What CodeQL Analysis peform in GitHub?
a. It monitors commit activity and contributor statistics.
b. It manages software workflows like building, testing, and deploying code.
c. It automates the analysis of code for detecting vulnerabilities and errors.
d. It scans for sensitive information in the repository.
c. It automates the analysis of code for detecting vulnerabilities and errors.
What is the use-case for using saved replies in GitHub? (Choose 2)
a. To pre-load common responses for issues and pull request reviews.
b. To quickly reply to common questions or recurring themes in your repositories.
c. To bookmark repositories for future visit.
d. To save a draft of the code you are writing.
a. To pre-load common responses for issues and pull request reviews.
b. To quickly reply to common questions or recurring themes in your repositories.