Summer Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ecus65

Microsoft GH-300 - GitHub Copilot Exam

Page: 2 / 2
Total 65 questions

How can you use GitHub Copilot to get inline suggestions for refactoring your code? (Select two.)

A.

By adding comments to your code and triggering a suggestion.

B.

By highlighting the code you want to fix, right-clicking, and selecting "Fix using GitHub Copilot."

C.

By running the gh copilot fix command.

D.

By using the "/fix" command in GitHub Copilot in-line chat.

E.

By highlighting the code you want to fix, right-clicking, and selecting "Refactor using GitHub Copilot."

An independent contractor develops applications for a variety of different customers. Assuming no concerns from their customers, which GitHub Copilot plan is best suited?  

A.

GitHub Copilot Individual

B.

GitHub Copilot Business

C.

GitHub Copilot Business for non-GHE Customers

D.

GitHub Copilot Enterprise

E.

GitHub Copilot Teams

What GitHub Copilot feature can be configured at the organization level to prevent GitHub Copilot suggesting publicly available code snippets?

A.

GitHub Copilot Chat in the IDE

B.

GitHub Copilot Chat in GitHub Mobile

C.

GitHub Copilot duplication detection filter

D.

GitHub Copilot access to Bing

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.)

A.

"Show me how to improve the readability of this function."

B.

"Suggest ways to enhance the maintainability of this code segment."

C.

"Refactor my application to meet the latest coding standards."

D.

"Predict future coding trends and update my codebase accordingly."

Which of the following is correct about GitHub Copilot Knowledge Bases?

A.

All repos are indexed

B.

Indexing is static

C.

It is an Enterprise feature

D.

All file types are indexed

Which Copilot Individual features are available when using a supported extension for Visual Studio, VS Code, or JetBrains IDEs? (Each correct answer presents part of the solution. Choose two.)

A.

Code suggestions

B.

Chat

C.

Knowledge Base

D.

Pull Request Diff Analysis

What is zero-shot prompting?

A.

Giving as little context to GitHub Copilot as possible

B.

Telling GitHub Copilot it needs to show only the correct answer

C.

Only giving GitHub Copilot a question as a prompt and no examples

D.

Giving GitHub Copilot examples of the problem you want to solve

E.

Giving GitHub Copilot examples of the algorithm and outcome you want to use

How does GitHub Copilot Chat ensure that a function works correctly?

A.

By suggesting assertions based on the code's context and semantics.

B.

By automatically writing all the tests for the function.

C.

By writing the implementation code for the function.

D.

By executing the test cases to validate the correctness of the code.

What is a limitation of content exclusions?

A.

Content exclusions can be worked around as it is only available for Git repositories.

B.

Content exclusions can only be configured by an enterprise administrator.

C.

Content exclusions are only available in the GitHub Copilot Individual plan.

D.

Repository administrators and organization owners cannot manage content exclusion settings.