Summer Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: xmas50

Microsoft GH-300 - GitHub Copilot Exam

Page: 1 / 4
Total 123 questions

What reasons could apply if code suggestions are not working in your editor? (Select three.)

A.

You are working in files included in your .gitignore

B.

You do not have an active internet connection

C.

Your programming language is not supported

D.

Your content exclusion is active and blocks the use of GitHub Copilot

E.

You do not have a valid GitHub Copilot license

What is few-shot prompting?

A.

Telling GitHub Copilot about the mechanism you want it to use and how to incorporate that into the response

B.

Telling GitHub Copilot from which sources it should base the response on

C.

Telling GitHub Copilot to try multiple times to answer the prompt

D.

Telling GitHub Copilot to iterate several times on the answer before returning it to you

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

A.

Files

B.

Folders

C.

Lines in files

D.

Gists

E.

Repositories

What types of prompts or code snippets might be flagged by the GitHub Copilot toxicity filter? (Each correct answer presents part of the solution. Choose two.)

A.

Hate speech or discriminatory language (e.g., racial slurs, offensive stereotypes)

B.

Sexually suggestive or explicit content

C.

Code that contains logical errors or produces unexpected results

D.

Code comments containing strong opinions or criticisms

What is the primary role of the /optimize slash command in Visual Studio?

A.

Translates code into a more performant language.

B.

Enhances the performance of the selected code by analyzing its runtime complexity.

C.

Automatically formats the code according to the selected style guide.

D.

Summarizes your documentation into more maintainable and readable formats.

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

You have a GitHub Copilot subscription.

You need to start an interactive GitHub Copilot CLI session from the root folder of a project.

If you are NOT authenticated, GitHub Copilot must prompt you to sign in.

Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Why is it important to ensure the security of the code used in Generative AI (Gen AI) tools?

A.

Ensuring code security prevents unauthorized access and potential data breaches.

B.

Ensuring code security supports the development of more advanced AI features.

C.

Ensuring code security enables the AI system to handle larger datasets effectively.

D.

Ensuring code security maintains the integrity of the AI system.

What are the potential limitations of GitHub Copilot Chat? (Each correct answer presents part of the solution. Choose two.)

A.

Limited training data

B.

No biases in code suggestions

C.

Ability to handle complex code structures

D.

Extensive support for all programming languages

How does GitHub Copilot Chat help to fix security issues in your codebase?

A.

By enforcing strict coding standards that prevent the introduction of vulnerabilities.

B.

By providing detailed reports on the security vulnerabilities present in the codebase.

C.

By annotating the given suggestions with known vulnerability patterns.

D.

By automatically refactoring the entire codebase to remove vulnerabilities.