Microsoft GitHub Copilot GH-300 Exam Practice Test

Page: 1 / 14
Total 65 questions
Question 1

What content can be configured to be excluded with content exclusions? (Each correct answer presents part of the solution. Choose three.)



Answer : B, C, D

Content exclusions allow you to exclude files, folders, and repositories from being used by GitHub Copilot.


Question 2

of GitHub Copilot? (Each correct answer presents part of the solution. Choose two.) 1

1.

blog.yatricloud.com

blog.yatricloud.com



Answer : B, E

The GitHub Copilot usage metrics API provides insights into the acceptance rate of code suggestions and Copilot Chat specific suggestions acceptance metrics, helping organizations evaluate its effectiveness.


Question 3

How can GitHub Copilot be limited when it comes to suggesting unit tests?



Answer : B

GitHub Copilot often suggests basic unit tests and may not cover all edge cases or complex integration scenarios, requiring developers to supplement its suggestions.


Question 4

Where is the proxy service hosted?



Answer : C

The proxy service for GitHub Copilot is hosted on Microsoft Azure.


Question 5

How does the /tests slash command assist developers?



Answer : B

The /tests slash command in GitHub Copilot Chat creates unit tests for the selected code, helping developers ensure the functionality and reliability of their code.


Question 6

Which Microsoft ethical AI principle is aimed at ensuring AI systems treat all people equally?



Answer : B

The principle of fairness ensures that AI systems treat all people equally and avoid discriminatory outcomes.


Question 7

Which of the following prompts can be used to guide GitHub Copilot Chat in refactoring code for quality improvements? (Each correct answer presents part of the solution. Choose two.)



Answer : A, B

Effective prompts for refactoring include requests that focus on specific quality improvements, such as readability and maintainability. These prompts guide GitHub Copilot to provide relevant and actionable suggestions.


Page:    1 / 14   
Total 65 questions