-
Notifications
You must be signed in to change notification settings - Fork 169
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Community exam prep threads as Study Resources (#304)
Co-authored-by: Aleksander Fidelus <[email protected]>
- Loading branch information
1 parent
afc3c6e
commit 1b49ad9
Showing
8 changed files
with
87 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
archetype: "questions" | ||
title: "Question 004" | ||
question: "What command is used to install the GitHub Copilot extension on the CLI?" | ||
draft: false | ||
--- | ||
|
||
|
||
> https://docs.github.com/en/copilot/managing-copilot/configure-personal-settings/installing-github-copilot-in-the-cli | ||
1. [x] gh extension install github/gh-copilot | ||
1. [ ] gh copilot install | ||
1. [ ] gh copilot setup | ||
1. [ ] gh extension add copilot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
archetype: "questions" | ||
title: "Question 005" | ||
question: "What are some of the principles of Prompt Engineering? (Choose three.)" | ||
draft: false | ||
--- | ||
|
||
|
||
> https://docs.github.com/en/copilot/using-github-copilot/prompt-engineering-for-github-copilot | ||
- [x] Focus on a single, well-defined task | ||
- [x] Ensure instructions are detailed and explicit | ||
- [x] Provide rich context for AI | ||
- [ ] Write long, complex instructions | ||
> If you want Copilot to complete a complex or large task, break the task into multiple simple, small tasks. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
archetype: "questions" | ||
title: "Question 006" | ||
question: "How can you exclude specific files from GitHub Copilot?" | ||
draft: false | ||
--- | ||
|
||
|
||
> https://docs.github.com/en/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot | ||
1. [ ] Editing the file .gitignore | ||
> .gitignore is used to exclude the file from git, not copilot | ||
1. [x] Browsing to the repository settings on GitHub and adding the paths to exclude | ||
1. [ ] Configuring exclusions in the Copilot configuration file | ||
1. [ ] Using a command in the terminal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
archetype: "questions" | ||
title: "Question 007" | ||
question: "Which is true about Copilot's Content exclusions? (Choose two)" | ||
draft: false | ||
--- | ||
|
||
|
||
> https://docs.github.com/en/copilot/managing-copilot/configuring-and-auditing-content-exclusion/excluding-content-from-github-copilot | ||
- [x] Context exclusions can be configured at the repository and organization level | ||
- [x] Copilot offers different plans with privacy considerations | ||
- [ ] Copilot completely ignores excluded files | ||
> Copilot may use information from an excluded file if the information is provided by the IDE. | ||
- [ ] Content exclusions do not affect code completion | ||
- [ ] Content exclusions are applied instantly | ||
> After you add or change content exclusions, it can take up to 30 minutes to take effect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
archetype: "questions" | ||
title: "Question 008" | ||
question: "Which of the following describes the GitHub Copilot Editor configuration file?" | ||
draft: false | ||
--- | ||
|
||
|
||
> https://docs.github.com/en/copilot/customizing-copilot/adding-custom-instructions-for-github-copilot | ||
1. [ ] A JSON file with security settings | ||
1. [x] A Markdown file with natural language instructions for customizing Copilot Chat responses | ||
1. [ ] A YAML file with build instructions | ||
1. [ ] An XML file with deploy settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
archetype: "questions" | ||
title: "Question 009" | ||
question: "Which of the following describes how to use the GitHub Copilot's Productivity API?" | ||
draft: false | ||
--- | ||
|
||
|
||
> https://docs.github.com/en/copilot/rolling-out-github-copilot-at-scale/analyzing-usage-over-time-with-the-copilot-metrics-api | ||
1. [ ] To collect audit logs | ||
1. [ ] To exclude specific files | ||
1. [x] To collect usage metrics from organization members | ||
1. [ ] To automatically update Copilot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters