Skip to main content

GitHub-Foundations GitHub Foundations

  • GitHub
  • 5 free sample questions

About this exam

GitHub-Foundations is the GitHub exam GitHub Foundations. Paid practice material for this exam is not available yet, but you can try its free sample questions.

Exam code
GitHub-Foundations
Vendor
GitHub
Practice questions
Not available yet
Free sample questions
5
Question bank last updated
Not available yet

Try 2 sample questions

Taken from the free sample set for GitHub-Foundations.

Question 1

Which of the following best describes GitHub flow?

  1. Option A:

    A branching model that uses feature branches and multiple primary branches

  2. Option B:

    A strategy where separate branches are created for each release, and pull requests are used to collaborate on and approve releases

  3. Option C:

    A lightweight workflow that allows for safe experimentation with new ideas and collaboration on projects through branching, pull requests, and merging

  4. Option D:

    A strict workflow that enforces a linear development process with all changes made directly on the main branch

Show answer and explanation

Correct answer: C

GitHub Flow is a simple, yet powerful, branching strategy that is widely used in modern software development. It emphasizes collaboration and flexibility.

    GitHub Flow:

      Option C is correct because GitHub Flow is a lightweight workflow designed for safe experimentation and collaboration. It involves creating branches for new features or fixes, opening pull requests for review, and merging changes back into the main branch after approval.

    Incorrect Options:

      Option A is incorrect because GitHub Flow uses a single main branch, not multiple primary branches.

      Option B is incorrect because GitHub Flow is not specifically designed around releases; it is more focused on continuous development and integration.

      Option D is incorrect because GitHub Flow is not strict or linear; it encourages branching and pull requests rather than direct changes on the main branch.

References:

    GitHub Docs: Understanding the GitHub Flow

    GitHub Guides: The GitHub Flow

Question 2

Which of the following statements most accurately describes who can access a private repository Wiki?

  1. Option A:

    Wikis are only viewable by repository admins.

  2. Option B:

    Wikis can be viewed by the same people who have Read access to the repository.

  3. Option C:

    Wikis will not be visible until shared with a specific user.

  4. Option D:

    Wikis are public regardless of whether you have access to the repository.

Show answer and explanation

Correct answer: B

For private repositories on GitHub, the Wiki is accessible to anyone who has Read access to the repository. This means that if you can view the code and files in the repository, you can also view its Wiki. This makes Wikis a useful tool for documenting projects in a way that is available to all collaborators without requiring special permissions beyond those needed to access the repository itself.

See all 5 free sample questions