GitHub Foundations v1.0

Page:    1 / 10   
Exam contains 142 questions

What is the main purpose of a pull request in the GitHub flow?

  • A. To permanently delete a branch
  • B. To revert changes on the main branch
  • C. To invite feedback and begin a code review before merging changes
  • D. To create a new repository


Answer : C

In which four locations on GitHub can you use slash commands? Each answer presents a complete solution.

NOTE: Each correct selection is worth one point

  • A. Comment fields in issues
  • B. Pull request description fields
  • C. Issue description fields
  • D. Wiki pages
  • E. Comment fields in pull requests
  • F. Repository settings


Answer : ABCE

Which of the following actions can you perform using the Command Palette on GitHub?

  • A. Create pull requests, view issues, or switch branches
  • B. Delete repositories in bulk
  • C. Change your GitHub username
  • D. Merge pull requests automatically


Answer : A

What information can you find in the “Checks” tab of a pull request?

  • A. The pull request description and timeline of events
  • B. A summary of all changes made to the repository
  • C. Comments left by reviewers on specific lines of code.
  • D. A list of all commits included in the pull request


Answer : A

Which mechanisms can you use to personalize Codespaces for your account? (Choose two.)

  • A. branch protections
  • B. IDE plug-ins
  • C. devcontainer
  • D. settings sync
  • E. operating system
  • F. dotfiles


Answer : DF

What folder is the definition files stored in when creating custom issue forms?

  • A. .issues/ISSUE_TEMPLATE
  • B. .github
  • C. .issues
  • D. .github/ISSUE_TEMPLATE


Answer : D

What are all repository visibility options in GitHub Enterprise?

  • A. public, private
  • B. public, internal, and private
  • C. external, private
  • D. external, public, and private


Answer : B

Which three files can a user automatically add while creating a new repository?

  • A. README, .git, and DOCS
  • B. LICENSE, .git, and README
  • C. README, .gitignore, and LICENSE
  • D. LICENSE, DOCS, and .gitignore


Answer : C

When creating a repository from a template, what will the new repository contain?

  • A. commit history
  • B. pull requests
  • C. contributors
  • D. default branch


Answer : D

Which of the following is the purpose of a GitHub repository?

  • A. to provide a collaborative space where developers can share and manage code files, track changes, and store revision history
  • B. to provide a folder that stores project files, including documentation, on your local machine
  • C. to provide a cloud-based hosting service for project documentation, providing a secure and centralized location for file storage
  • D. to provide a version control system designed for small projects, offering simple tools for organizing files on your laptop


Answer : A

What should you append to the link https://github.com/github/docs/ to show who starred that repository?

  • A. stars
  • B. stargazers
  • C. starwatcher
  • D. starviewers


Answer : B

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 are public regardless of whether you have access to the repository.
  • C. Wikis will not be visible until shared with a specific user.
  • D. Wikis can be viewed by the same people who have Read access to the repository.


Answer : D

Why are GitHub pull request templates recommended for use? (Choose two.)

  • A. to automatically trigger GitHub Actions workflows
  • B. to provide an easy-to-fill-out form for creating new pull requests
  • C. to automatically label or assign newly created pull requests
  • D. to easily coerce existing pull requests into a standard format


Answer : BD

What template types are available when creating an issue template? (Choose three.)

  • A. Feature request
  • B. Standard template
  • C. Custom template
  • D. Bug report
  • E. Security notification


Answer : ACD

As a repository admin, which alerts can you see from the security tab of a repository? (Choose three.)

  • A. Branch Protection
  • B. Push Protection Bypass
  • C. Secret Scanning
  • D. Code Scanning
  • E. Dependabot


Answer : CDE

Page:    1 / 10   
Exam contains 142 questions

Talk to us!


Have any questions or issues ? Please dont hesitate to contact us

Certlibrary.com is owned by MBS Tech Limited: Room 1905 Nam Wo Hong Building, 148 Wing Lok Street, Sheung Wan, Hong Kong. Company registration number: 2310926
Certlibrary doesn't offer Real Microsoft Exam Questions. Certlibrary Materials do not contain actual questions and answers from Cisco's Certification Exams.
CFA Institute does not endorse, promote or warrant the accuracy or quality of Certlibrary. CFA® and Chartered Financial Analyst® are registered trademarks owned by CFA Institute.
Terms & Conditions | Privacy Policy | Amazon Exams | Cisco Exams | CompTIA Exams | Databricks Exams | Fortinet Exams | Google Exams | Microsoft Exams | VMware Exams