Table of Contents
In this article, we will go through GitHub Foundations Certification Practice Test Questions and Answers. If you are looking to get expertise GitHub version control platform then the first step is to get yourself certified in the fundamentals of GitHub. This can be done by passing the GitHub Foundations Certification exam. To achieve this goal, I am going to help you with a series of latest practice test questions and answers which will definitely give the confidence you need to pass this exam.
GitHub Foundations Certification Practice Test Questions and Answers Part - 1
Also Read: Solved "git push fatal: 'origin' does not appear to be a git repository"
1. Which of the following GitHub syntax formats is consistent with the associated text?
a) * This is a heading
b) This is a link
c) <!-- This is a comment -->
d) This is bolded text
e) 1.This is an ordered list
Ans. c) <!-- This is a comment -->
2. What are two recommended ways of improving the discoverability of a repository?
(Each answer presents a complete solution. Choose two.)
a) Register the repository with GitHub search.
b) Create a README file describing the repository.
c) Add labels to categorize the repository.
d) Add topics to classify the repository.
Ans. b) Create a README file describing the repository.
d) Add topics to classify the repository.
3. How can a user highlight a post to the top of the Discussions page?
a) Save the discussion.
b) Pin the discussion.
c) Create an issue from the discussion.
d) Star the discussion.
Ans. b) Pin the discussion.
4. What are primary benefits of using GitHub issues templates?
(Each answer presents a complete solution. Choose two.)
a) To automatically label or assign newly created issues
b) To provide an easy-to-fill-out form for creating new issues
c) To easily coerce existing issues into a standard format
d) To automatically create new branches when issues are created
Ans. a) To automatically label or assign newly created issues
b) To provide an easy-to-fill-out form for creating new issues
5. What layouts are available for GitHub Projects?
(Each answer presents a complete solution. Choose three.)
a) Roadmap
b) Kanban
c) Board
d) Table
e) Backlog
Ans. b) Kanban
c) Board
d) Table
6. Which of the following steps are part of the Codespaces lifecycle?
(Each answer presents a complete solution. Choose three.)
a) Commit
b) Clone
c) Rebuild
d) Rollback
e) Delete
f) Create
Ans. c) Rebuild
e) Delete
f) Create
7. What is the benefit of using the CODEOWNERS file in a GitHub repository to define individuals or teams who are responsible for code in a repository?
a) Code owners are automatically requested for review when someone opens a pull request
b) Code owners are the only members that can write to a repository using a pull request
c) Code owners gain access to features available in GitHub Pro
d) Code owners are automatically requested to review draft pull requests
Ans. a) Code owners are automatically requested for review when someone opens a pull request
8. If there are multiple README files, which of the following locations will be displayed first?
a) .github
b) /src
c) Root
d) /docs
Ans. c) Root
9. The differences between GitHub Desktop and github.com is that Desktop:
a) Is a standalone software application
b) Enables Integration with office suite applications
c) Is only available on Windows operating systems
d) Offers a graphical user interface
Ans. d) Offers a graphical user interface
10. What features are offered by Copilot for Business that are not offered by Copilot for individuals?
(Each answer presents a complete solution. Choose three.)
a) Offers multi-line function suggestions
b) Organization-wide policy management
c) Blocks suggestions matching public code
d) VPN proxy support via self-signed certificates
e) Support for organization or Enterprise GitHub Accounts
Ans. b) Organization-wide policy management
c) Blocks suggestions matching public code
e) Support for organization or Enterprise GitHub Accounts
11. What is the GitHub Marketplace?
a) A collaborative communication forum for the community around an open source or internal project
b) A place where you can sponsor open-source developers on a subscription basis
c) A platform provided by GitHub that allows developers to discover and purchase various tools, services and integrations to enhance their development workflows
d) An AI pair programmer that offers autocomplete-style suggestions as you code
Ans. c) A platform provided by GitHub that allows developers to discover and purchase various tools, services and integrations to enhance their development workflows
12. Which of the following are not controlled via an ldP for GitHub Enterprise Managed Users?
a) Issue tracking
b) Team membership
c) Usernames
d) Repository access
Ans. a) Issue tracking
13. What is a Codespaces deep link and why would you use one?
a) A hyperlink that directly opens a pre-configured Codespace
b) A URL that leads to the main GitHub repository page
c) A referral link used to invite collaborators to a repository
d) A connection to GitHub Actions for continuous integration
Ans. a) A hyperlink that directly opens a pre-configured Codespace
14. What is the purpose of a SECURITY.md file?
a) To provide documentation on GitHub security best practices
b) To give people instructions for reporting security vulnerabilities in your project
c) To provide a placeholder for secret keys and encrypted passwords
d) To serve as a configuration file for GitHub.com code repository access
Ans. b) To give people instructions for reporting security vulnerabilities in your project
15. Who can enable or disable GitHub discussions on an Organization repository?
a) GitHub discussions cannot be disabled on a repository
b) Only repository owners
c) People with admin permissions to a repository
d) Contributors assigned the write role to the repository
Ans. c) People with admin permissions to a repository
16. Which of the following best describes the board layout in GitHub Projects?
a) A powerful and adaptable spreadsheet with your issues, pull requests, and draft issues
b) A configurable timespan to track your issues, pull requests, and draft issues on a timeline
c) A layout that organizes issues, pull requests, and draft issues into a linear list
d) A layout with customizable columns with your issues, pull requests, and draft issues
Ans. d) A layout with customizable columns with your issues, pull requests, and draft issues
17. Your organization is using GitHub Projects, but the admin is having trouble using Insights to create customized charts for your project. What could be the problem?
a) Insights is only available to GitHub Free users and is not a feature that can be used by Organizations
b) Insights is a beta feature and not available to all Organizations
c) Your team is using projects (classic) and insight is only available for the new Projects experience
d) You don't have permission to use insights in your Organization
Ans. c) Your team is using projects (classic) and insight is only available for the new Projects experience
18. What is the purpose of the github.dev web-based editor in GitHub Codespaces?
a) To provide a lightweight, browser-based code editing experience directly in the GitHub web interface
b) To view real-time collaboration metrics and insights on team contributions
c) To manage repository settings and access analytics for GitHub repositories
d) To integrate third-party extensions and plugins for enhanced coding capabilities
Ans. a) To provide a lightweight, browser-based code editing experience directly in the GitHub web interface
19. You can receive notifications for activity on GitHub.com in the following locations (select three)
a) An email client that uses a verified email address
b) The notifications inbox in the GitHub.com web interface
c) Through text messages to a mobile phone
d) The notification inbox on GitHub mobile, which syncs with the inbox on GitHub.com
Ans. a) An email client that uses a verified email address
b) The notifications inbox in the GitHub.com web interface
d) The notification inbox on GitHub mobile, which syncs with the inbox on GitHub.com
20. How are commits related to pull requests?
a) Commits are made on a branch that can have a linked pull request.
b) Commits can only be made after a pull request is created.
c) Commits can only be made before a pull request is created.
d) Commits are made on a pull request that can have a linked branch.
Ans. a) Commits are made on a branch that can have a linked pull request.
21. What is the purpose of GitHub Sponsors?
a) It funds the most popular open source projects based on stars.
b) It provides a channel for GitHub to support open source projects.
c) It offers a way for companies to purchase software on GitHub.
d) It allows the developer community to financially support open source projects.
Ans. d) It allows the developer community to financially support open source projects.
22. Which of the following are included as pre-defined repository roles?
(Each answer presents a complete solution. Choose three.)
a) Security
b) View
c) Triage
d) Maintain
e) Delete
f) Write
Ans. c) Triage
d) Maintain
f) Write
23. What is the minimum access needed to contribute to a repository?
a) Read
b) Triage
c) Maintain
d) Write
Ans. d) Write
24. Which of the following best describes a Codespace?
a) A lightweight editing experience that runs entirely in your browser
b) An AI pair programmer that offers autocomplete-style suggestions
c) A development environment hosted in the cloud
d) A Visual Studio Code plug-in to manage local dev containers
Ans. c) A development environment hosted in the cloud
25. While maintaining the gist history, which of the following is the most efficient way to create a public gist based on another user's gist?
a) Fork the gist.
b) Create a new gist and copy the content from the existing gist.
c) Clone the gist.
d) Request to be added to the existing gist.
Ans. a) Fork the gist.
26. What is the difference between an organization member and an outside collaborator?
a) Organization base permissions do not apply to outside collaborators.
b) Two-factor authentication (2FA) is not required for outside collaborators.
c) Outside collaborators cannot be given the admin role on a repository.
d) Outside collaborators do not consume paid licenses.
Ans. a) Organization base permissions do not apply to outside collaborators.
27. What are the defining features of Git?
a) Distributed version control, open source software, and being designed for handling projects of any size with efficiency
b) Sequential version control, cloud-based hosting service, and being designed for collaboration on large projects
c) Low-cost local branching, convenient staging areas, multiple workflows, and being designed for managing small projects
d) Centralized version control, proprietary software, and being designed for small projects
Ans. a) Distributed version control, open source software, and being designed for handling projects of any size with efficiency
28. Who can be assigned to an Issue or pull request? (Each answer presents a complete solution. Choose two.)
a) Anyone who has an enterprise GitHub account
b) Anyone who has commented on the Issue or pull request
c) Anyone who has a personal GitHub account
d) Anyone with write permissions to the repository
Ans. a) Anyone who has an enterprise GitHub account
b) Anyone who has commented on the Issue or pull request
29. Which of the following is the best GitHub feature for long-form documentation for a project?
a) Insights
b) Pull Requests
c) Projects
d) Wikis
Ans. d) Wikis
30. Which tool helps you keep the repository dependencies up to date?
a) GitHub Actions
b) GitHub Copilot
c) CodeQL
d) Dependabot
Ans. d) Dependabot
31. Which of the following is a key characteristic of GitHub Projects?
a) Ability to visualize the commit history
b) Ability to import Gantt charts from Microsoft Project
c) Ability to create and customize multiple views
d) Ability to enforce required fields
Ans. c) Ability to create and customize multiple views
32. Which of the following is an Innersource development practice?
a) Adopting open source code into the organization
b) Sharing code between teams within the organization
c) Removing open source code from the organization
d) Making all repositories publicly accessible
Ans. b) Sharing code between teams within the organization
33. What is CodeQL?
a) A code analysis tool
b) A programming language
c) A version control system
d) A text editor
Ans. a) A code analysis tool
34. What are the key areas of focus for GitHub? (Each answer presents a complete solution. Choose three.)
a) Nurturing a community that supports open source principles
b) Providing access and opportunities for developers
c) Providing a social media platform for project managers
d) Building a technology platform for secure code sharing and collaboration
e) Hosting video calls with other developers
Ans. a) Nurturing a community that supports open source principles
b) Providing access and opportunities for developers
d) Building a technology platform for secure code sharing and collaboration
35. After 30 minutes of inactivity, a GitHub Codespace will:
a) Be deleted
b) Commit changes
c) Restart
d) Time out
Ans. d) Time out
36. As a user, what feature can you use to merge proposed changes in a repository on GitHub?
a) Issues
b) Pull requests
c) Projects
d) Discussions
Ans. b) Pull requests
37. How can you enforce status checks passing before merging a pull request to the main branch?
a) By creating a branch protection rule
b) By running tests locally prior to pushing to the remote repository
c) By making the repository private
d) By using GitHub Actions
Ans. a) By creating a branch protection rule
38. What are the different repository visibility options?
a) Personal and Public
b) Personal, Public and Internal (Enterprise only)
c) Private and Public
d) Private, Public and Internal (Enterprise only)
Ans. d) Private, Public and Internal (Enterprise only)
39. Where can you disable repository features such as issues, wikis or projects on a repository that you own?
a) In your account settings
b) In the .github/settings.yml configuration file
c) These features cannot be disabled
d) In the repository settings
Ans. d) In the repository settings
40. Can you disable the issues tab on a repository?
a) No
b) Yes
Ans. b) Yes
41. Which of these is NOT a role in a GitHub Organization?
a) Security manager
b) Outside collaborator
c) Billing manager
d) Organization owner
e) GitHub App manager
f) Organization architect
g) Organization moderator
h) Organization member
Ans. f) Organization architect
42. Which of the following describes a branch in Git?
a) A pointer to an identical snapshot of the project at a specific point in time
b) A physical copy of the entire project stored on disk
c) A separate, isolated copy of the project's codebase
d) A new repository that shares code with the original "upstream" repository
Ans. c) A separate, isolated copy of the project's codebase
43. Where should a repository admin navigate to view pre-built visualizations from repository data?
a) Settings
b) Issues
c) Insights
d) Charts
Ans. c) Insights
44. How can a user create a repository template, and what permissions are required?
a) With Admin permissions, navigate to Repository settings and select Template Repository.
b) With Maintain permissions, navigate to Organization settings, select the repository, and choose Template Repository.
c) With Admin permissions, navigate to Organization settings, select the repository, and choose Template Repository.
d) With Maintain permissions, navigate to Repository settings and select Template Repository.
Ans. a) With Admin permissions, navigate to Repository settings and select Template Repository
45. As a user, which of the following default labels is used to indicate that a maintainer needs assistance on an issue or pull request?
a) Enhancement
b) Question
c) Help wanted
d) Documentation
Ans. c) Help wanted
46. Which of the following options is available as a default Discussion category?
a) Bug report
b) Daily check-in
c) Show and tell
d) Security concern
Ans. c) Show and tell
47. What is a benefit of using GitHub Enterprise Cloud with Enterprise Managed Users (EMU)?
a) It provides centralized control and streamlined management of user accounts through their identity provider (IdP).
b) It offers additional collaboration and content creation capabilities for managed user accounts.
c) It automatically validates user interactions using the identity provider (IdP) conditional access policy (CAP).
d) It enables GitHub user accounts access to protected resources using SAML SS
Ans. a) It provides centralized control and streamlined management of user accounts through their identity provider (IdP).
48. Which of the following is the purpose of a GitHub repository?
a) To provide a folder that stores project files, including documentation, on your local machine
b) To provide a version control system designed for small projects, offering simple tools for organizing files on your laptop
c) To provide a cloud-based hosting service for project documentation, providing a secure and centralized location for file storage
d) To provide a collaborative space where developers can share and manage code files, track changes, and store revision history
Ans. d) To provide a collaborative space where developers can share and manage code files, track changes, and store revision history
49. Which of the following best describes cloning a repository?
a) It creates a copy of the repository on GitHub.com.
b) It retrieves code updates from the remote repository.
c) It creates a copy of the repository on your local machine.
d) It imports your source code into a new repository
Ans. c) It creates a copy of the repository on your local machine.
50. What does a CODEOWNERS file do in a repository?
a) Restricts who can edit specific files
b) Requires peer code review for code changes
c) Defines access permissions for the repository
d) Sets the reviewers for pull requests automatically
Ans. d) Sets the reviewers for pull requests automatically
51. From the Organization settings, which restrictions can organization owners place on GitHub Actions usage? (Each answer presents a complete solution. Choose three.)
a) Allow actions that use self-hosted runners.
b) Allow an action to be run from a Codespace.
c) Allow specified actions.
d) Allow actions by Marketplace verified creators.
e) Allow actions created by GitHub.
Ans. a) Allow actions that use self-hosted runners.
c) Allow specified actions.
d) Allow actions by Marketplace verified creators.
52. Which of the following best describes GitHub flow?
a) A branching model that uses feature branches and multiple primary branches
b) A strategy where separate branches are created for each release, and pull requests are used to collaborate on and approve releases
c) A lightweight workflow that allows for safe experimentation with new ideas and collaboration on projects through branching, pull requests, and merging
d) A strict workflow that enforces a linear development process with all changes made directly on the main branch
Ans. c) A lightweight workflow that allows for safe experimentation with new ideas and collaboration on projects through branching, pull requests, and merging
53. Which of the following is always true about the feature preview phases Alpha and Beta?
a) Alpha features are not available to the public.
b) Alpha features are documented.
c) Alpha and Beta features offer Service Level Agreements (SLAs).
d) Beta features provide technical support.
Ans. a) Alpha features are not available to the public.
54. Which of the following statements most accurately describes who can access a private repository Wiki?
a) Wikis are only viewable by repository admins.
b) Wikis can be viewed by the same people who have Read access to the repository.
c) Wikis will not be visible until shared with a specific user.
d) Wikis are public regardless of whether you have access to the repository.
Ans. b) Wikis can be viewed by the same people who have Read access to the repository.
55. Which of the following is the best GitHub feature for long - form documentation for a project?
a) Insights
b) Pull Requests
c) Projects
d) Wikis
Ans. d) Wikis
56. Who can be assigned to an Issue or pull request? (Each answer presents a complete solution. Choose two.)
a) Anyone who has an enterprise GitHub account
b) Anyone who has commented on the Issue or pull request
c) Anyone who has a personal GitHub account
d) Anyone with write permissions to the repository
Ans. b) Anyone who has commented on the Issue or pull request
d) Anyone with write permissions to the repository
57. What are the defining features of Git?
a) Distributed version control, open source software, and being designed for handling projects of any size with efficiency
b) Sequential version control, cloud - based hosting service, and being designed for collaboration on large projects
c) Low - cost local branching, convenient staging areas, multiple workflows, and being designed for managing small projects
d) Centralized version control, proprietary software, and being designed for small projects
Ans. a) Distributed version control, open source software, and being designed for handling projects of any size with efficiency
58. What are the different permission levels for a repository owned by a personal account? (Choose two.)
a) repository owner
b) project owner
c) security manager
d) billing manager
e) collaborator
Ans. a) repository owner
e) collaborator
59. What are Enterprise Managed Users?
a) It's a GitHub Enterprise support user that can be used to manage your Enterprise by GitHub Support once requested
b) It's an user account without access to GitHub web UI but is rather only used for automation tasks in your GitHub Enterprise
c) It's a GitHub Enterprise feature that allows you to manage user access from an external identity provider such as Azure AD or Okta
d) It's a shared user account that can be used by multiple users in your Enterprise
Ans. c) It's a GitHub Enterprise feature that allows you to manage user access from an external identity provider such as Azure AD or Okta
60. Who should have 2 Factor Authentication enabled on GitHub?
a) It's not recommended to use 2FA on GitHub for anyone
b) All GitHub users
c) GitHub Enterprise Server users
d) GitHub Organization owners
Ans. b) All GitHub users
61. What is a GitHub Codespace deep link?
a) It's a link to the most recent GitHub Codespace that was created for the repository
b) It's a link to the most recent GitHub Codespace that you have used in any repository
c) It's a link between the GitHub Codespace and the repository which keeps the Codespace in sync with the changes in the repository
d) It's a link that points to a specific GitHub.com Page that allows you to create a new GitHub Codespace and select specific configuration
Ans. d) It's a link that points to a specific GitHub.com Page that allows you to create a new GitHub Codespace and select specific configuration
62. What are the different possible lifecycle phases for a GitHub Codespace?
a) Create, Delete
b) Create, Stop, Delete
c) Create, Rebuild, Stop, Delete
d) Create, Rebuild, Delete
Ans. c) Create, Rebuild, Stop, Delete
63. What GitHub features allow repository contributors to work on simple code changes directly through the web browser? (Choose two.)
a) github.dev editor
b) GitHub Dependabot
c) GitHub Projects
d) GitHub Codespaces
e) GitHub Remote
f) GitHub Online
Ans. a) github.dev editor
d) GitHub Codespaces
64. What GitHub feature allows the creation of preconfigured development environments where all necessary tools and dependencies to contribute to a repository are installed?
a) GitHub Docker
b) GitHub Copilot
c) GitHub DevEnv
d) GitHub Codespaces
Ans. d) GitHub Codespaces
65. How can you start using GitHub Copilot after activating the GitHub Copilot subscription?
a) Setup GitHub Copilot in one of the supported IDE's such as Visual Studio Code or JetBrains and start coding
b) GitHub Copilot will automatically start giving suggestions on pull requests and issues in your repository
c) You need to edit the repository settings and enable GitHub Copilot for the repository
d) You need to setup a GitHub Action that will setup GitHub Copilot on your repository
Ans. a) Setup GitHub Copilot in one of the supported IDE's such as Visual Studio Code or JetBrains and start coding
66. What are the differences between GitHub Copilot Individual and GitHub Copilot Business?
a) GitHub Copilot Individual is free and GitHub Copilot Business is a paid feature
b) GitHub Copilot Individual uses an AI model trained on public source code and GitHub Copilot Business uses an AI model trained on private source code
c) GitHub Copilot Individual can only be used when working on public repositories and GitHub Copilot Business can be used when working on public and private repositories within an organization
d) GitHub Copilot Individual can only be used by personal accounts and GitHub Copilot Business is used by organizations and enterprises
Ans. d) GitHub Copilot Individual can only be used by personal accounts and GitHub Copilot Business is used by organizations and enterprises
67. Is GitHub Copilot free to use?
a) Yes
b) Yes, but only for individuals working on public repositories
c) No
d) Yes, if you are a student, teacher, or maintainer of a popular open source project
Ans. d) Yes, if you are a student, teacher, or maintainer of a popular open source project
68. Which of these tools serves as an AI pair programmer that offers autocomplete-style suggestions as you code?
a) GitHub Partner
b) GitHub Copilot
c) GitHub Assistant
d) GitHub AI Aid
Ans. b) GitHub Copilot
69. Where can you find publicly available GitHub Actions?
a) GitHub Marketplace
b) GitHub Public Action Storage
c) GitHub private repositories
d) GitHub Actions Project Boards
Ans. a) GitHub Marketplace
70. GitHub Action workflows are triggered by events. Which of these are valid events that GitHub Actions support? (Choose two.)
a) A pull request is opened
b) A commit is pushed to a branch
c) A change is made to the repository settings
d) A new vulnerability has been detected in a dependency
e) A new member has been added to the repository
Ans. a) A pull request is opened
b) A commit is pushed to a branch
71. Which of these is a common use case for GitHub Actions?
a) Adding sponsorship button to your project
b) Running automated tests prior to merging a pull request
c) Training machine learning models
d) Large data processing and analytics
Ans. b) Running automated tests prior to merging a pull request
71. What is the name of GitHub's continuous integration and continuous delivery (CI/CD) platform?
a) GitHub Pipelines
b) GitHub Actions
c) GitHub Workflows
d) GitHub Projects
Ans. b) GitHub Actions
72. Which feature in GitHub Projects enables you to effortlessly generate graphs and charts for visualizing the current status and historical progression of your project?
a) Project Insights
b) GitHub Actions
c) Copilot Charts
d) Milestones
Ans. a) Project Insights
73. What are some actions you can do in regards to Repository Templates? (Choose two.)
a) Delete all repositories that do not use a repository template provided by your organization
b) Create a repository template from an existing repository
c) Create a new repository from a repository template
d) Delete all repositories created from a repository template
e) Create an organization from a repository template
Ans. b) Create a repository template from an existing repository
c) Create a new repository from a repository template
74. Which of these statements about saved replies are true? (Choose two.)
a) When someone comments on your issue or pull request, you can save their reply and set a notification to remind yourself about responding to it later.
b) Saved replies are comments that you can reuse in issues and pull requests.
c) You can create, edit and delete them in your GitHub account settings in the Saved replies section.
d) Saved replies are only available to repository owners which can setup automated replies to issues and pull requests.
Ans. b) Saved replies are comments that you can reuse in issues and pull requests.
c) You can create, edit and delete them in your GitHub account settings in the Saved replies section.
75. If you face yourself often writing the same set of comments on issues or pull requests, what GitHub feature would you use to save time?
a) Repository templates
b) Saved replies
c) Labels
d) Comment templates
Ans. b) Saved replies
76. How can you assign a person to an issue or pull request?
a) By using the Assignees field in the sidebar
b) It's not possible to assign a person to an issue or pull request.
c) By adding a label with their GitHub username to that issue or pull request
d) By mentioning them in the issue or pull request description
Ans. a) By using the Assignees field in the sidebar
77. Why would a repository owner want to use milestones? (Choose two.)
a) To associate issues and pull requests with specific project phases
b) To have an overview of how much work is left to complete a project phase
c) To list the repository contributors
d) To track the repository dependencies
e) To bring automation to the repository
f) To communicate that the repository is in a stable state
Ans. a) To associate issues and pull requests with specific project phases
b) To have an overview of how much work is left to complete a project phase
78. What are the use cases for labels?
a) Categorizing files in the repository
b) Assigning them to releases so that they are included in the release notes
c) Assigning labels to repository contributors to indicate their role and permissions in the project
d) Categorizing issues and pull requests
Ans. d) Categorizing issues and pull requests
79. What is the difference between GitHub projects and GitHub projects classic?
a) GitHub Projects classic is the enhanced versions which in addition to GitHub Projects offers some pre-cooked templates such as roadmaps and sprints.
b) GitHub Projects classic is a the new GitHub experience which offers a lot of new features and improvements over the older GitHub Projects.
c) GitHub Projects classic is simpler way to manage your GitHub Projects and is recommended for beginners.
d) GitHub Projects is a the new GitHub experience which offers a lot of new features and improvements over the older GitHub Projects classic.
Ans. d) GitHub Projects is a the new GitHub experience which offers a lot of new features and improvements over the older GitHub Projects classic.
80. What are the different options that allow you to automate operations in your GitHub Project? (Choose three.)
a) GitHub Actions
b) GitHub Copilot
c) GitHub Dependabot
d) GitHub GraphQL API
e) GitHub Charts
f) Project workflows
g) Project items
Ans. a) GitHub Actions
d) GitHub GraphQL API
f) Project workflows
81. Which of these workflows are built-in automations in GitHub Projects? (Choose two.)
a) When issues or pull requests are opened in your project, their status is set to Done.
b) When issues or pull requests in your project are closed, their status is set to Done
c) When a new contributor is added to a repository, the unassigned issues are assigned to him.
d) When a GitHub Action is triggered, create a new item in your GitHub Project.
e) When pull requests in your project are merged, their status is set to Done.
Ans. b) When issues or pull requests in your project are closed, their status is set to Done
e) When pull requests in your project are merged, their status is set to Done.
82. Which GitHub Project layout would best serve as a Kanban board?
a) Table layout
b) Agile layout
c) Board layout
d) Roadmap layout
Ans. c) Board layout
83. Which of these layouts are available in GitHub Projects? (Choose three.)
a) Scrum layout
b) Project layout
c) Agile layout
d) Board layout
e) Table layout
f) Roadmap layout
Ans. d) Board layout
e) Table layout
f) Roadmap layout
84. What are the different available options for adding issues and pull requests to a GitHub Project board?
a) Only individually or in bulk
b) Only manually, one at a time.
c) Only automatically using project workflows
d) Individually, automatically, or in bulk.
Ans. d) Individually, automatically, or in bulk.
85. Which of these is true regarding custom fields for items in GitHub Projects?
a) Custom fields are exclusively for aesthetic modifications and do not add any meaningful metadata.
b) Custom fields are limited to textual information and cannot include numeric or date-related metadata.
c) Custom fields are limited to predefined options and cannot include user-defined metadata.
d) Custom fields enable the addition of metadata beyond the built-in options, such as target dates and iteration fields.
Ans. d) Custom fields enable the addition of metadata beyond the built-in options, such as target dates and iteration fields.
86. How does the synchronization between GitHub projects, issues and pull requests work?
a) Information synchronization only works in one direction - from project to issues and pull requests. Updates to issues and pull requests won't be automatically mirrored in GitHub Project items.
b) Updates to the issues and pull requests will not be automatically reflected in GitHub Projects, it has to be triggered manually by the user.
c) Information synchronization only works in one direction - from issues and pull requests to projects. Updates to Project items won't be automatically mirrored in issues and pull requests.
d) Updates to the issues and pull requests will be automatically reflected in GitHub Projects. This integration works both ways, so that when you change information about a pull request or issue in your project, the pull request or issue reflects that information.
Ans. d) Updates to the issues and pull requests will be automatically reflected in GitHub Projects. This integration works both ways, so that when you change information about a pull request or issue in your project, the pull request or issue reflects that information.
87. Which of these GitHub features serves the purpose of an adaptable spreadsheet, task board and a roadmap that integrates with issues and pull requests on GitHub to plan and track your work effectively?
a) GitHub Organization
b) GitHub Project
c) GitHub Copilot
d) GitHub Repository
Ans. b) GitHub Project
88. What are the possible GitHub account types? (Select three.)
a) Enterprise accounts
b) Shared accounts
c) Personal accounts
d) Company accounts
e) Organization accounts
Ans. a) Enterprise accounts
c) Personal accounts
e) Organization accounts
89. What are some actions you can do in regards to Project Templates in your organization? (Choose three.)
a) With write permission, set an existing project as a template
b) With admin or write permissions, copy an existing project as a template
c) Publish your templates in GitHub Marketplace for anyone to use
d) Create a new template to be used as a base for new projects
e) Configure recommended templates to your organization's members
Ans. b) With admin or write permissions, copy an existing project as a template
d) Create a new template to be used as a base for new projects
e) Configure recommended templates to your organization's members
90. Which of the following actions cannot be performed directly from GitHub Desktop?
a) Switching between branches
b) Committing changes
c) Stashing changes
d) Managing GitHub Actions
Ans. d) Managing GitHub Actions
91. What feature is unique to GitHub Desktop compared to github.com?
a) View repository insights
b) Create new repositories
c) Visualize branch histories in a graphical interface
d) Clone repositories to local machine
Ans. c) Visualize branch histories in a graphical interface
92. Which Markdown element is not correctly paired with its syntax?
a) Inline code - '''code'''
b) Bold text - **bold**
c) Heading - # Heading
d) Hyperlink - [title](https://)
Ans. a) Inline code - '''code'''
93. What syntax is used in GitHub Markdown to create a task list?
a) # TODO: and # DONE:
b) <task> and <done>
c) - [ ] and - [x]
d) // TODO: and // DONE:
Ans. c) - [ ] and - [x]
94. What is/are the common GitHub pricing plan(s) for both personal and organization accounts?
a) Free
b) Business
c) Pro
d) Enterprise
e) Advanced
f) Team
g) Personal
Ans. a) Free
95. What are the different GitHub pricing plans for personal accounts? (Select two)
a) Business
b) Pro
c) Free
d) Personal
e) Enterprise
f) Team
g) Advanced
Ans. b) Pro
c) Free
96. What are the different forms of two-factor or multi-factor authentication supported by GitHub? (Choose five.)
a) Email
b) Passkey
c) Phone call
d) Text message
e) Security key
f) GitHub mobile
g) Time-based one-time password (TOTP)
Ans. b) Passkey
d) Text message
e) Security key
f) GitHub mobile
g) Time-based one-time password (TOTP)
97. What is one of the main benefits for using a Personal Access Token (PAT) instead of a standard username and password for GitHub authentication?
a) PAT is an extra layer of security used when logging into websites or apps. With PAT, users have to sign in with their username and password and provide another form of authentication that only they have access to.
b) PATs can be managed by the organization and enterprise.
c) PAT can be used for authentication to GitHub when using the GitHub API or the command line. Users generate a token via the GitHub's settings option, and tie the token permissions to a repository or organization.
d) PAT lets you authenticate GitHub Enterprise Server against your existing accounts and centrally manage repository access.
Ans. c) PAT can be used for authentication to GitHub when using the GitHub API or the command line. Users generate a token via the GitHub's settings option, and tie the token permissions to a repository or organization.
98. Who can setup billing or assign billing managers for an organization? (Select three.)
a) Owner at the organization level
b) Owner of the repository
c) Team maintainer at the team level
d) Billing managers at the organization level
e) Admin in at the team level
f) Owner at the enterprise level
Ans. a) Owner at the organization level
d) Billing managers at the organization level
f) Owner at the enterprise level
99. What are the different levels of GitHub organizational hierarchy? (Choose three.)
a) Organization level
b) Pro level
c) Enterprise level
d) Team level
e) Personal level
Ans. a) Organization level
c) Enterprise level
d) Team level
100. Which information can be found in the Pulse section in the Insights tab of a repository? (Choose four)
a) Pull requests open/merged ratio
b) Amount of code line additions and deletions
c) Summary of repository activity
d) Amount of forks of the repo
e) List of issue discussions
f) List of unresolved conversations
Ans. a) Pull requests open/merged ratio
b) Amount of code line additions and deletions
c) Summary of repository activity
f) List of unresolved conversations