GitHub Foundations Practice Exam Part II Flashcards
Which of the following are attributes that can be defined in a GitHub Actions workflow file?
a. Triggers
b. Steps
c. Runs
d. On
e. Jobs
b. Steps
c. Runs
d. On
e. Jobs
How do you add a custom Readme page to your GitHub User Profile?
a. Add a README.md file to the repository and commit it.
b. Turn on custom readme in Account Setting under user profile.
c. Create a new repository with the same name as your GitHub username.
d. Enable GitHub Pages for the repository.
e. Submit a request to GitHub support for profile customization.
a. Add a README.md file to the repository and commit it.
c. Create a new repository with the same name as your GitHub username.
In a GitHub repository, under the security tab, which of the following alerts might appear?
a. Pull request merging alerts.
b. Workflow run alerts.
c. Commit signature verification alerts.
d. Code Scanning alerts.
e. Dependency review alerts.
b. Workflow run alerts.
d. Code Scanning alerts.
e. Dependency review alerts.
What are two ways you can collect payments via GitHub Sponsors?
a. Through GitHub.com
b. Direct Bank Transfer.
c. Trough Patreon.
d. By Mail
a. Through GitHub.com
c. Trough Patreon.
Which GitHub cloning method requires the use of a Personal Access Token?
a. ZIP
b. GitHub CLI
c. HTTPS
d. SSH
b. GitHub CLI
c. HTTPS
Which type of GitHub repository is unique to GitHub Enterprise accounts?
a. schedule
b. release
c. commit_message_change
d. fork
e. issue_comment
a. schedule
b. release
e. issue_comment
Which of the following is NOT a GitHub Actions trigger?
a. page_build
c. Runs
b. pull_request
c. push
d. code_review
d. code_review
What is the difference between GitHub Projects and GitHub Projects Classic?
a. GitHub Projects are only for premium GitHub users while Projects Classic is for free users.
b. GitHub Projects use a board layout while Projects Classic uses a list layout.
c. GitHub Projects provide project management features while Projects Classic are read-only repositories.
d. GitHub Projects are for individual repos while Projects Classic are for organizations.
b. GitHub Projects use a board layout while Projects Classic uses a list layout.
Which light-weight version control workflow focusing on simplicity and effective use of branches and pull requests?
a. GitHub Flow
b. Trunk-Based Development
c. Continuous Integration (CI) Workflow
d. Centralized Version Control
a. GitHub Flow
What are the benefits of a decentralized version control system (DVCS)?
a. Improved collaboration efficiency
b. Enhanced security
c. Faster performance
d. Requires constant internet connection for all operations
e. Automatic merging of changes
f. Easier project management
a. Improved collaboration efficiency
b. Enhanced security
What is the purpose of the CODEOWNERS file?
a. To store passwords and API keys securely
b. To manage permissions and access control of the repository
c. To display the coding standards for the repository
d. To assign automatic review requests to certain team members when changes are made to parts of the codebase.
b. To manage permissions and access control of the repository
Which of the following are built-in workflows for GitHub Projects?
a. Item closed
b. Code review approved
c. Card commented on
d. Item moved to another column
e. Auto-add to project
a. Item closed
c. Card commented on
e. Auto-add to project
How do you follow people on Github.com?
a. By clicking the ‘Follow’ button on the user’s profile page
b. By starring the user’s repositories
c. By subscribing to the user’s RSS Feed
d. By sending a connection request to the user
a. By clicking the ‘Follow’ button on the user’s profile page
What configuration options can you set when you Launch a GitHub Codespace?
a. Choose the geographical location of the codespace’s hosted server.
b. Preload the codespace with a selected region of the codebase.
c. Set up specific packages and tools for the codespace.
d. Define environment variables for the codespace.
e. Customize the color theme of the codespace’s editor.
c. Set up specific packages and tools for the codespace.
d. Define environment variables for the codespace.
e. Customize the color theme of the codespace’s editor.
Where are GitHub workspace files stored in your GitHub Repo?
a. Under the Isrc directory
b. Under the /github/workflows directory
c. In the root directory of the repo
d. Under the /github
c. In the root directory of the repo