This content originally appeared on DEV Community and was authored by Sabghat Ullah
-
What folder is the definition files stored in when creating custom issue forms?
- issues/ ISSUE_TEMPLATE
- github
- issues
- github/ ISSUE_TEMPLATE
-
How are commits related to pull requests?
- Commits can only be made after a pull request is created.
- Commits are made on a branch that can have a linked pull request.
- Commits can only be made before a pull request is created.
- Commits are made on a pull request that can have a linked branch.
-
When using Organizations, GitHub Teams is better than GitHub Free because it offers:
- expanded storage and priority support.
- authentication with SAML single sign-on and increased GitHub Actions minutes.
- advanced tools and insights in private repositories.
- increased GitHub Actions minutes and additional GitHub Packages storage.
-
Which of the following is distinctive of GitHub Actions workflows? (Choose two.)
- built using YAML syntax
- stored as JSON files
- built using the GitHub Workflow Designer
- stored in the github/workflows directory in a GitHub repository
- only supported in public repositories
-
Which of the following statements most accurately describes who can access a private repository Wiki?
- Wikis can be viewed by the same people who have Read access to the repository.
- Wikis will not be visible until shared with a specific user.
- Wikis are only viewable by repository admins.
- Wikis are public regardless of whether you have access to the repository.
-
Which of the following is the purpose of a GitHub repository?
- to provide a cloud-based hosting service for project documentation, providing a secure and centralized location for file storage
- to provide a collaborative space where developers can share and manage code files, track changes, and store revision history
- to provide a folder that stores project files, including documentation, on your local machine
- to provide a version control system designed for small projects, offering simple tools for organizing files on your laptop
-
Which of the following is a primary goal of GitHub’s community?
- enforcing strict code quality standards
- creating a competitive environment for developers
- exclusively supporting experienced developers
- facilitating collaboration and creativity
-
Which of the following steps are part of the Codespaces lifecycle? (Choose three.)
- Install
- Create
- Commit
- Clone
- Rollback
- Delete
- Rebuild
-
Which of the following are available statuses of a pull request? (Choose four.)
- merged
- open
- modified
- closed
- draft
- rebased
-
Where should a repository admin navigate to view pre-built visualizations from repository data?
- Insights
- Settings
- Charts
- Issues
-
From the Organization settings, which restrictions can organization owners place on GitHub Actions usage? (Choose three.)
- Allow actions created by GitHub.
- Allow specified actions.
- Allow actions that use self-hosted runners.
- Allow an action to be run from a Codespace.
- Allow actions by Marketplace verified creators.
-
Which of the following best describes GitHub Pages?
- curated guides around how to use GitHub products
- webpages hosted and published through GitHub repositories
- hosts long-form documentation about your project
- handles pagination for API requests
-
An employee needs to find all issues within organization “Avocado” containing text “404 error” and a “guacamole” label. Which of the following steps would be best to search for these results?
- Go to “Avocado” organization. Select Issues under a repository. Filter issues with a “guacamole” label.
- Enter query
org: Avocado label: guacamole "404 error"
in the search bar. Select “Issues” in the “Filter by” section. - Go to the “Avocado” organization settings. Select Repository defaults under Repository, Scroll to Repository labels and select the “guacamole” label.
- Enter query
org: Avocado is:issue label: guacamole contains: "404 error"
in the search bar.
-
Workflows can reference actions in: (Choose three.)
- an enterprise marketplace.
- GitHub Packages.
- any public repository.
- the same repository as your workflow file.
- a published Docker container image on Docker Hub.
-
GitHub Actions workflows can be directly triggered by which of the following events? (Choose three.)
- disabling a GitHub runner
- adding a comment to a discussion post
- creating an Issue
- committing a change to a local git repository
- creating a new repository
- pushing to a GitHub repository
-
Which of the following best describes GitHub Copilot?
- a Visual Studio Code extension for developing AI solutions
- an AI tool designed to replace software developers
- an AI pair programmer that offers autocomplete-style suggestions
- an advanced search tool to intelligently reuse existing code in your projects
-
How can a user choose to receive ongoing updates about a specific activity on GitHub.com?
- by upgrading from a free to a paid account
- by customizing the types of notifications you will receive in the future
- by subscribing to notifications for all activity in a repository
- by automatically watching all repositories you have push access to
-
What are advantages of GitHub Projects over GitHub Projects Classic? (Choose two.)
- GitHub Projects has multiple layout views.
- GitHub Projects has Insights.
- GitHub Projects can be connected to third-party tools.
- GitHub Projects are Copilot enabled.
-
What are two recommended ways of improving the discoverability of a repository? (Choose two.)
- Add labels to categorize the repository.
- Register the repository with GitHub search.
- Add topics to classify the repository.
- Create a README file describing the repository.
-
What is the primary purpose of creating a new branch in the GitHub flow?
- to create a backup of the main branch
- to capture information about an issue
- to incorporate changes from a review
- to experiment with new features or fixes
-
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?
- Clone the gist.
- Fork the gist.
- Create a new gist and copy the content from the existing gist.
- Request to be added to the existing gist.
-
Which of the following information is available by default in a user’s GitHub profile?
- public Secure Shell Protocol (SSH) keys
- personal biography and profile picture
- a list of the user’s private repositories
- email address and password
-
Which of the following statements most accurately describes secret gists?
- Anyone can see the gist from the gist Discover page.
- Users with assigned access can view the gist.
- Anyone with the URL for the gist can view the gist.
- Secret gists require GitHub Enterprise.
-
If there are multiple README files, which of the following locations will be displayed first?
- SIC
- github
- docs
- root
-
As a user, which of the following default labels is used to indicate that a maintainer needs assistance on an issue or pull request?
- help wanted
- question
- documentation
- enhancement
-
What features are offered by Copilot for Business that are not offered by Copilot for Individuals? (Choose three.)
- blocks suggestions matching public code
- offers multi-line function suggestions
- VPN proxy support via self-signed certificates
- organization-wide policy management
- plugs directly into the editor
- support for organization or enterprise GitHub accounts
-
What are the defining features of Git?
- low-cost local branching, convenient staging areas, multiple workflows, and being designed for managing small projects
- distributed version control, open source software, and being designed for handling projects of any size with efficiency
- sequential version control, cloud-based hosting service, and being designed for collaboration on large projects
- centralized version control, proprietary software, and being designed for small projects
-
Which of the following describes a branch in Git?
- a pointer to an identical snapshot of the project at a specific point in time
- a physical copy of the entire project stored on disk
- a separate, isolated copy of the project’s codebase
- a new repository that shares code with the original “upstream” repository
-
What is GitHub?
- a cloud-based hosting service for version control and collaboration, focused on creating a safe and collaborative environment for developers
- a platform that focuses on facilitating the growth and sharing of code, specifically designed for new developers to hone their skills
- a proprietary software platform for nurturing creativity in developers and building a technology community
- a centralized version control system designed for nurturing a community of developers and providing access to open source projects
-
Which of the following are advantages of saved replies? (Choose two.)
- Saved replies are allocated at the enterprise level for all users.
- Saved replies allow you to create a reusable response to issues and pull requests.
- Saved replies are tied to a GitHub user’s personal account.
- Saved replies will send auto notifications when a user is tagged to an issue.
-
What qualifier finds issues that mention a certain user?
- threads:
- mentions:
- mentioned:
- (mentioned:
-
Where can you go to discover, browse, and install tools?
- Organization settings
- GitHub Marketplace
- Explore
- GitHub Apps
-
How can a user highlight a post to the top of the Discussions page?
- Pin the discussion.
- Star the discussion.
- Save the discussion.
- Create an issue from the discussion.
-
Which of the following best describes a Codespace?
- a lightweight editing experience that runs entirely in your browser
- a Visual Studio Code plug-in to manage local devcontainers
- a development environment hosted in the cloud
- an AI pair programmer that offers autocomplete-style suggestions
-
Which of the following can be performed within GitHub Desktop?
- adding and cloning repositories
- integrating with office suite software
- reviewing and approving pull requests
- commenting on discussions
- creating and managing issues
-
Which of the following are displayed in the “Pinned Repositories” section of a GitHub user profile?
- repositories that were personally selected to be highlighted
- repositories that are owned by organizations in which the user is a member
- repositories with the highest number of stars
- repositories with the most recent activity
-
What should be done to locate an existing action that was provided by a GitHub-approved vendor? (Choose two.)
- Add the vendor as an allowed Actions Source.
- Search the vendor’s website for a github.yaml index.
- Create a new workflow file.
- Install the GitHub App that was provided by the vendor.
- Confirm that the action has a verification badge.
- Search the GitHub Marketplace for Actions by the vendor.
-
Which of the following items can you customize for an individual Codespace? (Choose three.)
- shell
- operating system
- default editor
- branch protections
- name
-
Which of the following options is available as a default Discussion category?
- daily check in
- security concern
- bug report
- show and tell
-
New open source contributors can receive funding from GitHub sponsors:
- by including GitHub matching funds.
- using PayPal as a payment processor.
- equal to 95% of the contribution value.
- after setting up a sponsored developer profile.
-
Who can be assigned to an issue or pull request? (Choose two.)
- anyone who has a personal GitHub account
- anyone with write permissions to the repository
- anyone who has an enterprise GitHub account
- anyone who has commented on the issue or pull request
-
What is the purpose of GitHub Sponsors?
- It funds the most popular open source projects based on stars.
- It provides a channel for GitHub to support open source projects.
- It offers a way for companies to purchase software on GitHub.
- It allows the developer community to financially support open source projects.
-
What best describes Markdown?
- markup language
- programming language
- version control system
- scripting language
- containerization solution
-
Which of the following two-factor authentication (2FA) methods can you use to secure a GitHub account? (Choose three.)
- security keys
- authenticator app
- GitHub mobile
- security questions
- single sign-on
-
What does a CODEOWNERS file do in a repository?
- defines access permissions for the repository
- requires peer code review for code changes
- restricts who can edit specific files
- sets the reviewers for pull requests automatically
-
What is a gist?
- markdown document
- GitHub pages site
- git repository
- GitHub app
-
Which of the following options can a user do from a discussion post?
- Duplicate the discussion.
- Archive the discussion.
- Add the discussion to README.
- Create an issue from the discussion.
-
Which of the following is an Innersource development practice?
- making all repositories publicly accessible
- sharing code between teams within the organization
- removing open source code from the organization
- adopting open source code into the organization
-
In GitHub, why is it recommended to deploy from your feature branch before merging into the main branch?
- to directly deploy changes from the main branch without any intermediate testing
- to speed up the process of merging changes into the main branch
- to ensure the changes are verified and validated in a production environment
- to avoid the need for testing changes in production
-
The difference between GitHub Desktop and github.com is that Desktop:
- offers a graphical user interface.
- is a standalone software application.
- is only available on Windows operating systems.
- is a self-hosted version of GitHub.
- enables integration with office suite applications.
-
Which of the following GitHub syntax formats is consistent with the associated text?
- This is bolded text
- <– This is a comment –!>
- (This is a link) [https://github.com]
- # This is a heading
- – This is an ordered list
-
After 30 minutes of inactivity, a GitHub Codespace will:
- be deleted.
- time out.
- restart.
- commit changes.
-
Which of the following is always true about the feature preview phases Alpha and Beta?
- Alpha features are not available to the public.
- Alpha and Beta features offer Service Level Agreements (SLAs).
- Alpha features are documented.
- Beta features provide technical support.
-
Which of the following are included as pre-defined repository roles? (Choose three.)
- View
- Triage
- Write
- Maintain
- Security
- Delete
-
What are three valid states for a file in a git repository? (Choose three.)
- staged
- committed
- modified
- uncommitted
- tracked
-
What are the two main reasons why one might fork a repository? (Choose two.)
- to create a new repository based on an existing one
- to create an issue or open a discussion
- to propose changes to the base repository
- to create a new branch to develop a new feature
-
A distributed version control system is best described as a system that:
- stores project files on a cloud-based server and allows multiple developers to collaborate on the same codebase simultaneously.
- requires developers to manually track and manage different versions of their files using naming conventions and manual backups.
- relies on a central server to store the entire project history and allows developers to check out files for editing.
- ensures each developer has their own local copy of the entire code repository, including the complete project history and metadata.
-
Which of the following is a key characteristic of GitHub Projects?
- ability to create and customize multiple views
- ability to import Gantt charts from Microsoft Project
- ability to enforce required fields
- ability to visualize the commit history
-
Which of the following can be performed within GitHub Mobile?
- forking and cloning repositories
- utilizing the mobile device as a self-hosted runner
- managing notifications from github.com
- managing enterprise and organization settings
- chat with other GitHub Mobile users via voice calling
-
What is the minimum access needed to contribute to a repository?
- Write
- Read
- Maintain
- Triage
-
What are some scenarios that can automatically subscribe you to conversations on GitHub? (Choose three.)
- opening a pull request or issue
- being added as a repo admin
- commenting on a thread
- pushing a commit to the default branch
- being assigned to an issue or pull request
-
Which of the following best describes cloning a repository?
- It imports your source code into a new repository.
- It creates a copy of the repository on your local machine.
- It retrieves code updates from the remote repository.
- It creates a copy of the repository on GitHub.com.
-
What layouts are available for GitHub Projects? (Choose three.)
- Board
- Backlog
- Table
- Kanban
- Roadmap
-
What is the difference between an organization member and an outside collaborator?
- Organization base permissions do not apply to outside collaborators.
- Outside collaborators cannot be given the admin role on a repository.
- Outside collaborators do not consume paid licenses.
- Two-factor authentication (2FA) is not required for outside collaborators.
-
What is the primary purpose of creating a security policy in a repository?
- to define which types of secrets are blocked with push protection
- to describe how security vulnerabilities should be responsibly disclosed
- to customize the repository’s Dependabot configuration
- to ensure that peer code review occurs before new changes are merged
-
From the list of projects for an organization, how can a user identify a GitHub Projects template?
- Use the
is: template
filter in the search text box. - Select the Templates label.
- Check the “show template” checkbox.
- View the contents in the
.github/projects
folder.
- Use the
-
What is a benefit of using GitHub Enterprise Cloud with Enterprise Managed Users (EMU)?
- It enables GitHub user accounts access to protected resources using SAML SSO.
- It provides centralized control and streamlined management of user accounts through their identity provider (IdP).
- It offers additional collaboration and content creation capabilities for managed user accounts.
- It automatically validates user interactions using the identity provider (IdP) conditional access policy (CAP).
-
Which of the following is the best GitHub feature for long-form documentation for a project?
- Pull Requests
- Insights
- Projects
- Wikis
-
What are primary benefits of using GitHub Issues templates? (Choose two.)
- to provide an easy-to-fill-out form for creating new issues
- to easily coerce existing issues into a standard format
- to automatically label or assign newly created issues
- to automatically create new branches when issues are created
-
As a user, what feature can you use to merge proposed changes in a repository on GitHub?
- discussions
- projects
- pull requests
- issues
-
Which of the following best describes GitHub flow?
- a branching model that uses feature branches and multiple primary branches
- a lightweight workflow that allows for safe experimentation with new ideas and collaboration on projects through branching, pull requests, and merging
- a strategy where separate branches are created for each release, and pull requests are used to collaborate on and approve releases
- a strict workflow that enforces a linear development process with all changes made directly on the main branch
-
How can a user create a repository template, and what permissions are required?
- With Maintain permissions, navigate to Organization settings, select the repository, and choose Template Repository.
- With Maintain permissions, navigate to Repository settings and select Template Repository.
- With Admin permissions, navigate to Repository settings and select Template Repository.
- With Admin permissions, navigate to Organization settings, select the repository, and choose Template Repository.
-
What are the key areas of focus for GitHub? (Choose three.)
- building a technology platform for secure code sharing and collaboration
- providing a social media platform for project managers
- hosting video calls with other developers
- providing access and opportunities for developers
- nurturing a community that supports open source principles
-
Pull requests can only be created between two branches that are:
- authored by the same user.
- the same.
- different.
- authored by different users.
-
As a GitHub user, where in the UI can you configure two-factor authentication (2FA) to further secure your account?
- Profile → Account → 2FA
- Repository Settings → Secrets and Variables → 2FA
- Settings → Password and Authentication → 2FA
- Organization Settings → Authentication Security → 2FA
This content originally appeared on DEV Community and was authored by Sabghat Ullah