Practice Free GH-300 Exam Online Questions
How does GitHub Copilot Chat utilize its training data and external sources to generate responses when answering coding questions?
- A . It primarily relies on the model’s training data to generate responses.
- B . It primarily uses search results from Bing to generate responses.
- C . It combines its training data set, code in user repositories, and external sources like Bing to generate responses.
- D . It uses user-provided documentation exclusively to generate responses.
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
Select a strategy to increase the performance of GitHub Copilot Chat.
- A . Optimize the usage of memory-intensive operations within generated code
- B . Apply prompt engineering techniques to be more specific
- C . Use a single GitHub Copilot Chat query to find resolutions for the collection of technical requirements
- D . Limit the number of concurrent users accessing GitHub Copilot Chat
Which Azure OpenAI model should you use to summarize the text from a document?
- A . Whisper
- B . DALL ‑ E
- C . Codex
- D . GPT
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 is the impact of the "Fill-In-the-Middle" (FIM) technique on GitHub Copilot’s code suggestions?
- A . Restricts Copilot to use only external databases for generating code suggestions.
- B . Allows Copilot to generate suggestions based only on the prefix of the code.
- C . Ignores both the prefix and suffix of the code, focusing only on user comments for context.
- D . Improves suggestions by considering both the prefix and suffix of the code, filling in the middle part more accurately.
When using GitHub Copilot Chat to generate boilerplate code for various test types, how can you guide the AI to follow the testing standards of your company?
- A . By using a specific setting in GitHub Copilot’s configuration.
- B . By using a specific command in the terminal.
- C . By using specific prompt examples in your chat request.
- D . By using a specific slash command in the prompt.
How does GitHub Copilot identify matching code and ensure that public code is appropriately handled or blocked? (Each correct answer presents part of the solution. Choose two.)
- A . Using machine learning models trained only on private repositories
- B . Reviewing and storing user-specific private repository data for future suggestions
- C . Filtering out suggestions that match code from public repositories
- D . Implementing safeguards to detect and avoid suggesting verbatim snippets from public code
What are the additional checks that need to pass before the GitHub Copilot responses are submitted to the user? (Each correct answer presents part of the solution. Choose two.)
- A . Code quality
- B . Compatibility with user-specific settings
- C . Suggestions matching public code (optional based on settings)
- D . Performance benchmarking
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.
