You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learn-pr/github/manage-github-actions-enterprise/knowledge-check.yml
+53-53Lines changed: 53 additions & 53 deletions
Original file line number
Diff line number
Diff line change
@@ -33,109 +33,109 @@ quiz:
33
33
explanation: "Correct. Custom labels can be used when you need to run jobs on runners that have specific capabilities."
34
34
- content: "Add proxy configurations to your runners after they start."
35
35
isCorrect: false
36
-
explanation: "Incorrect. If you need a self-hosted runner to communicate with GitHub via a proxy server, you must add all proxy configurations to your runner before starting it."
36
+
explanation: "Incorrect. You must add all proxy configurations to your runner before starting it."
37
37
- content: "Add the IP address or IP address range of your runners at repository level."
38
38
isCorrect: false
39
-
explanation: "Incorrect. If your organization has configured an IP allowlist, you must add the IP address or IP address range of your self-hosted runners to the IP allowlist. IP allowlists are found in an organization's Settings."
39
+
explanation: "Incorrect. This is managed at the organization level in IP allowlists."
40
40
41
41
- content: "What are encrypted secrets?"
42
42
choices:
43
-
- content: "Encrypted secrets are authentication tokens you can generate in your account settings."
43
+
- content: "Authentication tokens you can generate in your account settings."
44
44
isCorrect: false
45
-
explanation: "Incorrect. The authentication tokens you can create in your account settings are personal access tokens (PATs)."
46
-
- content: "Encrypted secrets are the equivalent of SSH keys in GitHub."
45
+
explanation: "Incorrect. Those are personal access tokens (PATs)."
46
+
- content: "The equivalent of SSH keys in GitHub."
47
47
isCorrect: false
48
-
explanation: "Incorrect. SSH keys are also called SSH keys in GitHub."
49
-
- content: "Encrypted secrets are encrypted environment variables you can create to store sensitive information."
48
+
explanation: "Incorrect. SSH keys are separate and named accordingly."
49
+
- content: "Encrypted environment variables for storing sensitive information."
50
50
isCorrect: true
51
-
explanation: "Correct. Once created, encrypted secrets become available for use in your workflows and actions at the level at which they were created (organization, repository, or environment)."
51
+
explanation: "Correct. They are secure and can be scoped by repo, org, or environment."
52
52
53
-
- content: "Which credential type poses the greatest security risk if used to access repositories from GitHub Actions?"
53
+
- content: "Which credential type poses the greatest security risk if used in GitHub Actions?"
54
54
choices:
55
55
- content: "Repository deploy keys"
56
56
isCorrect: false
57
-
explanation: "Incorrect. Repository deploy keys are actually recommended as they grant access only to a single repository."
57
+
explanation: "Incorrect. These are scoped and safer for single-repo use."
58
58
- content: "Personal access token (classic)"
59
59
isCorrect: true
60
-
explanation: "Correct. Personal access tokens (classic) grant broad access to all repositories you have access to, creating unnecessary security risks."
60
+
explanation: "Correct. These have broad access, making them riskier."
61
61
- content: "GitHub App tokens"
62
62
isCorrect: false
63
-
explanation: "Incorrect. GitHub App tokens provide granular permissions and are recommended for cross-repository access."
63
+
explanation: "Incorrect. These are more granular and preferred for security."
64
64
- content: "GITHUB_TOKEN"
65
65
isCorrect: false
66
-
explanation: "Incorrect. GITHUB_TOKEN is not recommended as it's intentionally scoped to a single repository."
66
+
explanation: "Incorrect. It's scoped and automatically managed."
67
67
68
-
- content: "Which feature in GitHub allows you to enforce that automated tests must pass before code can be merged to the main branch?"
68
+
- content: "Which feature enforces that tests pass before code can be merged?"
69
69
choices:
70
70
- content: "Organization secrets"
71
71
isCorrect: false
72
-
explanation: "Incorrect. Organization secrets store sensitive information like API keys and credentials for use in GitHub Actions workflows. While important for security, they don't enforce automated test requirements before merging code."
72
+
explanation: "Incorrect. They handle credentials, not enforcement of tests."
73
73
- content: "Repository rule sets"
74
74
isCorrect: true
75
-
explanation: "Correct. Repository rule sets allow you to enforce policies across branches, including requiring status checks (which represent automated tests) to pass before merging."
75
+
explanation: "Correct. Rule sets can enforce status checks before merges."
76
76
- content: "Workflow templates"
77
77
isCorrect: false
78
-
explanation: "Incorrect. Workflow templates help standardize automation across an organization by providing predefined workflow structures, but they don't enforce that those workflows must pass before merging."
78
+
explanation: "Incorrect. These aid reuse, not enforcement."
79
79
- content: "Runner groups"
80
80
isCorrect: false
81
-
explanation: "Incorrect. Runner groups organize self-hosted runners but don’t enforce test requirements before merging code."
81
+
explanation: "Incorrect. They help manage runners, not enforce rules."
82
82
83
-
- content: "Which of the following is a feature unique to GitHub Enterprise Cloud (GHEC)?"
83
+
- content: "Which of the following is unique to GitHub Enterprise Cloud (GHEC)?"
84
84
choices:
85
-
- content: "Requires on-premises deployment and infrastructure management"
85
+
- content: "Requires on-premises infrastructure"
86
86
isCorrect: false
87
-
explanation: "Incorrect. This describes GitHub Enterprise Server (GHES), not GHEC."
88
-
- content: "Provides centralized user management with identity provider integration"
87
+
explanation: "Incorrect. That describes GitHub Enterprise Server."
88
+
- content: "Centralized user management with identity provider integration"
89
89
isCorrect: true
90
-
explanation: "Correct. GHEC supports centralized user management and integrates with identity providers using SAML and SCIM."
91
-
- content: "Must be installed and maintained by the organization's IT team"
90
+
explanation: "Correct. GHEC integrates with identity providers like SAML."
91
+
- content: "Must be installed by IT teams"
92
92
isCorrect: false
93
-
explanation: "Incorrect. GHEC is maintained by GitHub and requires no installation or infrastructure management."
94
-
- content: "Operates entirely within a private cloud environment"
93
+
explanation: "Incorrect. GHEC is hosted and managed by GitHub."
94
+
- content: "Runs in a private cloud"
95
95
isCorrect: false
96
-
explanation: "Incorrect. GHEC operates in GitHub’s public cloud infrastructure."
96
+
explanation: "Incorrect. GHEC runs on GitHub’s public cloud."
97
97
98
-
- content: "What is a key benefit of using **reusable workflows** in GitHub Actions?"
98
+
- content: "What is a key benefit of using reusable workflows?"
99
99
choices:
100
-
- content: "Prevents any external contributors from running workflows"
0 commit comments