GitHub Codespaces Overview#
Knowledge Check Questions#
True or False: A codespace is a development environment hosted on your local machine.
Where are GitHub Codespaces hosted?
A) On your personal computer
B) In your local network
C) In the cloud
D) On physical servers in your office
Select all that apply: Which of the following can you use to connect to your codespace?
A) Your web browser
B) Microsoft Word
C) Visual Studio Code
D) GitHub CLI
Fill in the blank: You can customize your project for GitHub Codespaces by committing ________ files to your repository (often known as Configuration-as-Code).
GitHub Codespaces are hosted by:
A) Amazon Web Services (AWS)
B) Google Cloud Platform (GCP)
C) Azure
D) DigitalOcean
Fill in the blank: Each codespace you create is hosted by GitHub in a ________ container.
True or False: You can use Windows or macOS as the operating system for the remote development container in Codespaces.
Which of the following is a benefit of using a preconfigured development environment in Codespaces?
A) Increased likelihood of environment-related problems
B) Inconsistent environments for team members
C) Reduced likelihood of environment-related problems
D) Slower development process
True or False: You can only create a codespace from an existing repository branch or commit.
Fill in the blank: All personal GitHub accounts have a monthly ________ of free use of GitHub Codespaces included in the Free or Pro plan.
If you create a codespace from an organization-owned repository, who might be charged for its use?
- A) Only your personal account
- B) Only the organization
- C) Either the organization or your personal account
- D) GitHub will cover the cost
True or False: Organization owners cannot set spending limits for GitHub Codespaces usage by their members and collaborators.
Who owns codespaces that are billed to an organization?
- A) The individual user who created it
- B) GitHub
- C) The organization
- D) It depends on the repository's visibility
Fill in the blank: To customize the runtimes and tools in your codespace, you can create one or more _______ __________ configurations for your repository.
True or False: By default, all GitHub accounts have a GitHub Codespaces spending limit of $0 USD.
How often are costs for GitHub Codespaces billed?
- A) Annually
- B) Monthly
- C) Weekly
- D) Daily
True or False: GitHub Codespaces offers a single fixed virtual machine configuration and does not allow users to choose different specifications.
The default operating system image used for GitHub Codespaces development environments is __________ _____________.
What happens when you create a GitHub Codespace from a repository without custom dev container configurations?
A) The codespace will not be created
B) The codespace will use the default configuration
C) An error occurs, and the codespace cannot be created.
D) The repository is cloned into your local machine’s environment.