GH-300 Practice Test practice questions, page 5 of 5, with answer review and explanations.
Question 21
Which Copilot Enterprise features are available in all commercially supported IDEs?
Knowledge bases
Chat
Inline suggestions
Pull request summaries
Question 22
What two options navigate to configure duplicate detection? Each correct answer presents part of the solution. (Choose two.)
Organization settings → Copilot → Policies
Enterprise settings → Copilot → Policies
Repository settings → Copilot → Policies
User settings → Copilot → Policies
Question 23
What kind of insights can the GitHub Copilot usage metrics API provide to help evaluate the effectiveness of GitHub Copilot? Each correct answer presents part of the solution. (Choose two.)
The API can generate detailed reports on code quality improvements made by GitHub Copilot.
The API can track the number of code suggestions accepted and used in the organization.
The API can provide feedback on coding style and standards compliance.
The API can provide Copilot Chat specific suggestions acceptance metrics.
The API can refactor your code to improve productivity.
Question 24
How do you generate code suggestions with GitHub Copilot in the CLI?
Describe the project’s architecture → Use the copilot generate command → Accept the generated suggestion.
Type out the code snippet → Use the copilot refine command to enhance it → Review the suggested command.
Write code comments → Press the suggestion shortcut → Select the best suggestion from the list.
Use ‘gh copilot suggest’ → Write the command you want → Select the best suggestion from the list.