-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy path6-knowledge-check.yml
More file actions
66 lines (66 loc) · 4.28 KB
/
6-knowledge-check.yml
File metadata and controls
66 lines (66 loc) · 4.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
### YamlMime:ModuleUnit
uid: learn.github-codespaces.knowledge-check
title: Knowledge check
metadata:
title: Knowledge check
description: "TODO this field is for search engine optimization and is not user-visible; use 2-3 complete, grammatically correct sentences to describe the unit; include relevant search keywords."
ms.date: 5/24/2023
author: a-a-ron
ms.author: aastewar
ms.topic: interactive-tutorial
ms.prod: TODO
ms.service: TODO
durationInMinutes: 4
content: |
quiz:
questions:
- content: "After creating a Codespace in which directory is the clone placed?"
choices:
- content: "/workspaces directory"
isCorrect: true
explanation: "After creating a Codespace, the clone is placed into the /workspace directory."
- content: "/temp directory"
isCorrect: false
explanation: "/temp directory is not the location where cloned content is placed."
- content: "~/.bashrc directory"
isCorrect: false
explanation: "~/.bashrc directory is not the location where cloned content is placed."
- content: Linux directory
isCorrect: false
explanation: "Linux directory is not the location where cloned content is placed."
- content: "What is the maximum number of Codespaces that you can create per repository or branch?"
choices:
- content: "You can only create two Codespaces."
isCorrect: false
explanation: "Two is not the maximum number of Codespaces you can create. However, there are limits to the number of Codespaces you can create and run at the same time"
- content: "You can create a total of ten workspaces."
isCorrect: false
explanation: "Ten is not the maximum number of Codespaces you can create. However, there are limits to the number of Codespaces that you can create and run at the same time."
- content: "You can create a total of thirty workspaces."
isCorrect: false
explanation: "Thirty is not the maximum number of Codespaces you can create. However, there are limits to the number of Codespaces that you can create and run at the same time."
- content: "You can create an unlimited number of Codespaces per repository or branch, depending upon available space. When you reach an upper amount of resources, a message will display that an existing Codespace needs to removed/deleted before a new Codespace can be created."
isCorrect: true
explanation: "You can have an unlimited number of Codespaces per repository or even per branch. However, there are limits to the number of Codespaces that you can create and run at the same time."
- content: "What happens when Codespace loses internet connectivity"
choices:
- content: "If the connection to the internet is lost while working in a Codespace, you will not be able to access your Codespace."
isCorrect: true
explanation: "A Codespace requires an internet connection. If the connection to the internet is lost while working in a Codespace, you will not be able to access your Codespace."
- content: "Codespace does not require an internet connection. I can access my Codespace regardless if I lose connectivity."
isCorrect: false
explanation: "Incorrect, a Codespace requires an internet connection."
- content: "If you lose internet connection while working on your Codespace, no changes will be saved"
isCorrect: false
explanation: "Incorrect, any uncommitted changes will be saved. When reestablished, you can access Codespace in the same state as when the connection was lost.
- content: "What defines the beginning of a Codespace’s lifecycle?"
choices:
- content: "A Codespace’s lifecycle begins when you create a Codespace and ends when you delete it."
isCorrect: true
explanation: "A Codespace’s lifecycle begins when you create a Codespace and ends when you delete it."
- content: "A Codespace's lifecycle begins immediately when GitHub is opened and ends when the software is closed."
isCorrect: false
explanation: "A Codespace’s lifecycle begins when you create a Codespace and ends when you delete it."
- content: "A Codespace's lifecycle begins when repository is created and ends when it is deleted."
isCorrect: false
explanation: "A Codespace’s lifecycle begins when you create a Codespace and ends when you delete it."