Skip to content

Commit

Permalink
[Domain 4: Modern Development] More questions for GitHub Foundations …
Browse files Browse the repository at this point in the history
…exam (#109)
  • Loading branch information
FidelusAleksander authored Dec 12, 2023
1 parent 3b516a6 commit e54556c
Show file tree
Hide file tree
Showing 19 changed files with 225 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/practice_tests/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ weight: 20

{{% notice style="info" %}}

As of right now, practice exams for **GitHub Foundations** and **GitHub Admin** are not available due to limited amount of questions contributed
As of right now, practice exam for **GitHub Admin** is not available due to limited amount of questions contributed

[**How to contribute**](https://github.com/FidelusAleksander/githubcertified/blob/master/CONTRIBUTING.md).

Expand Down
2 changes: 1 addition & 1 deletion content/practice_tests/foundations.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ draft: false
hidden: true
badge: "foundations_badge.png"
exam: "GitHub Foundations"
domains: ["Collaboration", "Repositories and Project Management", "Introduction to GitHub"]
domains: ["Introduction to GitHub", "Collaboration", "Project Management", "Modern Development"]
---

{{< practice_test >}}
13 changes: 13 additions & 0 deletions content/questions/foundations/question-018.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
archetype: "questions"
title: "Question 018"
question: "What is the name of GitHub's continuous integration and continuous delivery (CI/CD) platform?"
draft: false
---


> https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions
1. [x] GitHub Actions
1. [ ] GitHub Workflows
1. [ ] GitHub Pipelines
1. [ ] GitHub Projects
13 changes: 13 additions & 0 deletions content/questions/foundations/question-019.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
archetype: "questions"
title: "Question 019"
question: "Which of these is a common use case for GitHub Actions?"
draft: false
---


> https://docs.github.com/en/actions/automating-builds-and-tests/about-continuous-integration
1. [x] Running automated tests prior to merging a pull request
1. [ ] Adding sponsorship button to your project
1. [ ] Large data processing and analytics
1. [ ] Training machine learning models
16 changes: 16 additions & 0 deletions content/questions/foundations/question-020.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
archetype: "questions"
title: "Question 020"
question: "GitHub Action workflows are triggered by events. Which of these are valid events that GitHub Actions support? (Choose two.)"
draft: false
---



> https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#about-events-that-trigger-workflows
- [x] A commit is pushed to a branch
- [x] A pull request is opened
- [ ] A change is made to the repository settings
- [ ] A new vulnerability has been detected in a dependency
> This is not a valid event that could trigger a workflow. It's a feature of Dependabot.
- [ ] A new member has been added to the repository
13 changes: 13 additions & 0 deletions content/questions/foundations/question-021.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
archetype: "questions"
title: "Question 021"
question: "Where can you find publicly available GitHub Actions?"
draft: false
---


> https://github.com/marketplace?type=actions
1. [x] GitHub Marketplace
1. [ ] GitHub Public Action Storage
1. [ ] GitHub private repositories
1. [ ] GitHub Actions Project Boards
13 changes: 13 additions & 0 deletions content/questions/foundations/question-022.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
archetype: "questions"
title: "Question 022"
question: "Which of these tools serves as an AI pair programmer that offers autocomplete-style suggestions as you code?"
draft: false
---


> https://docs.github.com/en/copilot/quickstart#introduction
1. [x] GitHub Copilot
1. [ ] GitHub AI Aid
1. [ ] GitHub Partner
1. [ ] GitHub Assistant
13 changes: 13 additions & 0 deletions content/questions/foundations/question-023.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
archetype: "questions"
title: "Question 023"
question: "Is GitHub Copilot free to use?"
draft: false
---


> https://docs.github.com/en/copilot/overview-of-github-copilot/about-github-copilot-individual#understanding-the-differences-between-copilot-individual-and-copilot-business
1. [x] No
1. [ ] Yes
1. [ ] Yes but only for individuals working on public repositories
> There is a free trial. However GitHub Copilot is a paid feature even for Individuals.
13 changes: 13 additions & 0 deletions content/questions/foundations/question-024.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
archetype: "questions"
title: "Question 024"
question: "What are the diffences between GitHub Copilot Individual and GitHub Copilot Business?"
draft: false
---


> https://docs.github.com/en/copilot/overview-of-github-copilot
1. [x] GitHub Copilot Individual can only be used by personal accounts and GitHub Copilot Business is used by organizations and enterprises
1. [ ] 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
1. [ ] GitHub Copilot Individual is free and GitHub Copilot Business is a paid feature
1. [ ] 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
13 changes: 13 additions & 0 deletions content/questions/foundations/question-025.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
archetype: "questions"
title: "Question 025"
question: "How can you start using GitHub Copilot after activating the GitHub Copilot subscription?"
draft: false
---


> https://docs.github.com/en/copilot/using-github-copilot/getting-started-with-github-copilot
1. [x] Setup GitHub Copilot in one of the supported IDE's such as Visual Studio Code or JetBrains and start coding
1. [ ] GitHub Copilot will automatically start giving suggestions on pull requests and issues in your repository
1. [ ] You need to setup a GitHub Action that will setup GitHub Copilot on your repository
1. [ ] You need to edit the repository settings and enable GitHub Copilot for the repository
13 changes: 13 additions & 0 deletions content/questions/foundations/question-026.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
archetype: "questions"
title: "Question 026"
question: "What is a GitHub Codespace?"
draft: false
---


> https://docs.github.com/en/codespaces/overview
1. [x] It's a preconfigured development environment specifically setup for a repository. It allows you immediately start writing code for a project without having to setup a local development environment.
1. [ ] A GitHub Codespace is an interactive holographic coding environment that required special hardware to use.
1. [ ] GitHub Codespace is an AI-powered coding tool that auto-generates near flawless code
1. [ ] GitHub Codespace is an annual GitHub hosted event where developers can meet and discuss coding topics.
13 changes: 13 additions & 0 deletions content/questions/foundations/question-027.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
archetype: "questions"
title: "Question 027"
question: "What GitHub feature allows the creation of preconfigured development environments where all necessary tools and dependencies to contribute to a repository are installed?"
draft: false
---


> https://docs.github.com/en/codespaces/overview#benefits-of-github-codespaces
1. [x] GitHub Codespaces
1. [ ] GitHub Docker
1. [ ] GitHub Copilot
1. [ ] GitHub DevEnv
15 changes: 15 additions & 0 deletions content/questions/foundations/question-028.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
archetype: "questions"
title: "Question 028"
question: "What GitHub features allow repository contributors to work on simple code changes directly through the web browser? (Choose two.)"
draft: false
---


> https://docs.github.com/en/codespaces/the-githubdev-web-based-editor
- [x] GitHub Codespaces
- [x] github.dev editor
- [ ] GitHub Projects
- [ ] GitHub Dependabot
- [ ] GitHub Remote
- [ ] GitHub Online
12 changes: 12 additions & 0 deletions content/questions/foundations/question-029.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
archetype: "questions"
title: "Question 029"
question: "What are the different possible lifecycle phases for a GitHub Codespace?"
draft: false
---

> https://docs.github.com/en/codespaces/getting-started/understanding-the-codespace-lifecycle
1. [x] Create, Rebuild, Stop, Delete
1. [ ] Create, Delete
1. [ ] Create, Stop, Delete
1. [ ] Create, Rebuild, Delete
10 changes: 10 additions & 0 deletions content/questions/foundations/question-030.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
archetype: "questions"
title: "Question 030"
question: "If you stop your GitHub Codespace environment can you come back to the changes later if you haven't commited them?"
draft: false
---

> https://docs.github.com/en/codespaces/getting-started/understanding-the-codespace-lifecycle#stopping-a-codespace
1. [x] Yes, that's the default behaviour when stopping and then starting a GitHub Codespace
1. [ ] No, these changes will be lost. You need to commit them before stopping the Codespace.
15 changes: 15 additions & 0 deletions content/questions/foundations/question-031.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
archetype: "questions"
title: "Question 031"
question: "Which of these statements regarding GitHub Codespaces lifecycle are true? (Choose three.)"
draft: false
---

> https://docs.github.com/en/codespaces/getting-started/understanding-the-codespace-lifecycle
- [x] A Codespace's lifecycle begins when you create a Codespace and ends when you delete it.
- [x] You can stop and restart a Codespace without losing the changes that you make to your project.
- [x] You can disconnect and reconnect to an active Codespace without affecting its running processes.
- [ ] You can stop and restart a Codespace without affecting its running processes.
- [ ] If you create another Codespace on a branch which already had a Codespace running on it, the original Codespace will be deleted
- [ ] If you close the browser tab in which your Codespace was running, the Codespace will automatically be stopped
> Closing the browser tab does not stop the Codespace and the processes continue running. If you only closed the tab, the Codespace will stop after reaching the inactivity timeout period
12 changes: 12 additions & 0 deletions content/questions/foundations/question-032.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
archetype: "questions"
title: "Question 032"
question: "Your project requires appropriate hardware to run. Can you customize the amount of CPU cores that will be allocated to your GitHub Codespace environment?"
draft: false
---


> https://docs.github.com/en/codespaces/customizing-your-codespace/changing-the-machine-type-for-your-codespace
1. [x] Yes, you can choose an alternative machine type either when you create a codespace or at any time after you've created a codespace.
1. [ ] No, GitHub Codespaces are hosted on Microsoft Azure and we have no control on what hardware they are running
> GitHub Codespaces are indeed hosted on Microsoft Azure, but you can configure the machine type to use
13 changes: 13 additions & 0 deletions content/questions/foundations/question-033.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
archetype: "questions"
title: "Question 033"
question: "How can you customize the environment that is run in GitHub Codespaces?"
draft: false
---


> https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container-configuration/introduction-to-dev-containers
1. [x] By creating a `.devcontainer/devcontainer.json` configuration file
1. [ ] By creating a custom Dockerfile in the root of your repository
1. [ ] By creating a `.github/codespaces.yml` configuration file
1. [ ] By creating custom machine images with the repository installed
13 changes: 13 additions & 0 deletions content/questions/foundations/question-034.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
archetype: "questions"
title: "Question 034"
question: "What is a GitHub Codespace deep link?"
draft: false
---


> https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/setting-up-your-repository/facilitating-quick-creation-and-resumption-of-codespaces#creating-an-open-in-github-codespaces-badge
1. [x] It's a link that points to a specific GitHub Page that allows you to create a new GitHub Codespace and select specific configuration
1. [ ] It's a link between the GitHub Codespace and the repository which keeps the Codespace in sync with the changes in the repository
1. [ ] It's a link to the most recent GitHub Codespace that was created for the repository
1. [ ] It's a link to the most recent GitHub Codespace that you have used in any repository

0 comments on commit e54556c

Please sign in to comment.