Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Community exam prep threads as Study Resources #304

Merged
merged 4 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ All of the site content in this repository is stored in [content/](https://githu

### Adding new question

> **Warning**: We do not support the inclusion of questions directly copied from official GitHub certification exams. Please only submit original questions and content that you have created.
> [!warning]
> We do not support the inclusion of questions directly copied from official GitHub certification exams. Please only submit original questions and content that you have created.
1) Run one of the following commands to add a new question file. Change `XXX` to the next available number.

Expand Down
13 changes: 13 additions & 0 deletions content/questions/copilot/question-004.md
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
14 changes: 14 additions & 0 deletions content/questions/copilot/question-005.md
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.
14 changes: 14 additions & 0 deletions content/questions/copilot/question-006.md
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
16 changes: 16 additions & 0 deletions content/questions/copilot/question-007.md
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
13 changes: 13 additions & 0 deletions content/questions/copilot/question-008.md
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
13 changes: 13 additions & 0 deletions content/questions/copilot/question-009.md
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
2 changes: 2 additions & 0 deletions content/study_resources/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,5 @@ Other Free Resources
- [GitHub Actions Hero](https://github-actions-hero.vercel.app/) - GitHub Actions playground
- [ExamPro: GitHub Foundations](https://www.youtube.com/playlist?list=PLBfufR7vyJJ4uRXqarjPKqxYq4_Pexj1V) - YouTube course for GitHub Foundations Certification
- [ExamPro: GitHub Actions](https://www.youtube.com/playlist?list=PLBfufR7vyJJ5cW6kvAqxHyjLJ1MX3H4rX) - YouTube course for GitHub Actions Certification
- [GitHub Advanced Security Certification Exam Prep](https://github.com/orgs/community/discussions/137197) - GitHub Community thread with a structured four-week study guide
- [GitHub Copilot Certification Exam Prep](https://github.com/orgs/community/discussions/144443) - GitHub Community thread with a structured four-week study guide
Loading