CertsPoint
See all results for ""
Exams About Us
Sign In Get Started
Exam Overview
Exam Code GH-300
Exam Name Microsoft GitHub Copilot Exam
Vendor Microsoft
Total Questions 120
Last Updated 26-Oct, 2026
Why CertsPoint?
  • Latest & Verified Questions
  • Detailed Explanations
  • Regular Updates
  • Full-Length Practice Tests
  • Boost Your Exam Confidence

PDF Study Materials

Downloadable guides and resources

Practice Tests

Full-length tests with real exam experience

Progress Tracking

Monitor your performance and improvement

Study Anywhere

Access on desktop, tablet, and mobile

Excellent
4.6 (398 Up Votes)
Secure Payment Privacy Protected Money Back Guarantee

Free GH-300 Practice Questions

Explore 9 free practice questions for the Microsoft GH-300 exam and review the answers and explanations to support your preparation.

  1. Question 1

    Multiple answers

    You need to identify the cause of the performance issues on SalesSQLDb1.
    Which two dynamic management views should you use? Each correct answer presents part of the
    solution.
    NOTE: Each correct selection is worth one point.

    • Option A:
      sys.dm_pdw_nodes_tran_locks
      Correct
    • Option B:
      sys.dm_exec_compute_node_errors
      Correct
    • Option C:
      sys.dm_exec_requests
      Correct
    • Option D:
      sys.dm_cdc_errors
      Correct
    • Option E:
      sys.dm_pdw_nodes_os_wait_stats
      Correct
    • Option F:
      sys.dm_tran_locks
      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: A, E

    Explanation

    SalesSQLDb1 experiences performance issues that are likely due to out-of-date statistics and
    frequent blocking queries.
    A: Use sys.dm_pdw_nodes_tran_locks instead of sys.dm_tran_locks from Azure Synapse Analytics
    (SQL Data Warehouse) or Parallel Data Warehouse
    E: Example:
    The following query will show blocking information.
    SELECT
    t1.resource_type,
    t1.resource_database_id,
    t1.resource_associated_entity
    _id, t1.request_mode,
    t1.request_session_id,
    t2.blocking_session_id
    FROM sys.dm_tran_locks as t1
    INNER JOIN sys.dm_os_waiting_tasks as t2
    ON t1.lock_owner_address = t2.resource_address
    Note: Depending on the system you’re working with you can access these wait statistics from one of
    three locations:
    sys.dm_os_wait_stats: for SQL Server
    sys.dm_db_wait_stats: for Azure SQL Database
    sys.dm_pdw_nodes_os_wait_stats: for Azure SQL Data Warehouse
    F: sys.dm_tran_locks returns information about currently active lock manager resources in SQL
    Server 2019 (15.x). Each row represents a currently active request to the lock manager for a lock that
    has been granted or is waiting to be granted.
    Instead use sys.dm_pdw_nodes_tran_locks.
    Incorrect Answers:
  2. Question 2

    Drag & Drop

    You need to recommend a configuration for ManufacturingSQLDb1 after the migration to Azure. The
    solution must meet the business requirements.
    What should you include in the recommendation? To answer, select the appropriate options in the
    answer area.
    NOTE: Each correct selection is worth one point.

    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer


    Explanation


    Scenario: Business Requirements
    Litware identifies business requirements include: meet an SLA of 99.99% availability for all Azure
    deployments.
    Box 1: Cloud witness
    If you have a Failover Cluster deployment, where all nodes can reach the internet (by extension of
    Azure), it is recommended that you configure a Cloud Witness as your quorum witness resource.
    Box 2: Azure Basic Load Balancer
    Microsoft guarantees that a Load Balanced Endpoint using Azure Standard Load Balancer, serving two
    or more Healthy Virtual Machine Instances, will be available 99.99% of the time.
    Note: There are two main options for setting up your listener: external (public) or internal. The
    external (public) listener uses an internet facing load balancer and is associated with a public Virtual
    IP (VIP) that is accessible over the internet. An internal listener uses an internal load balancer and
    only supports clients within the same Virtual Network.
  3. Question 3

    Drag & Drop

    You need to implement the monitoring of SalesSQLDb1. The solution must meet the technical
    requirements.
    How should you collect and stream metrics? To answer, select the appropriate options in the answer
    area. NOTE: Each correct selection is worth one point.

    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer

    \

    Explanation


    Box 1: The server, the elastic pool, and the database
    Senario:
    SalesSQLDb1 is in an elastic pool named SalesSQLDb1Pool.
    Litware technical requirements include: all SQL Server and Azure SQL Database metrics related to
    CPU and storage usage and limits must be analyzed by using Azure built-in functionality
    Box 2: Azure Event hubs
    Scenario: Migrate ManufacturingSQLDb1 to the Azure virtual machine platform.
    Event hubs are able to handle custom metrics.
    Incorrect Answers:
    Azure Log Analytics
    Azure metric and log data are sent to Azure Monitor Logs, previously known as Azure Log Analytics,
    directly by Azure. Azure SQL Analytics is a cloud only monitoring solution supporting streaming of
    diagnostics telemetry for all of your Azure SQL databases.
    However, because Azure SQL Analytics does not use agents to connect to Azure Monitor, it does not
    support monitoring of SQL Server hosted on-premises or in virtual machines.
  4. Question 4

    Drag & Drop

    You need to configure user authentication for the SERVER1 databases. The solution must meet the
    security and compliance requirements. Which three 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.

    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer


    Explanation

    Scenario: Authenticate database users by using Active Directory credentials.
    Which three 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.
    The configuration steps include the following procedures to configure and use Azure Active Directory
    authentication. Create and populate Azure AD.
    Optional: Associate or change the active directory that is currently associated with your Azure
    Subscription.
    Create an Azure Active Directory administrator. (Step 1)
    Configure your client computers.
    Create contained database users in your database mapped to Azure AD identities. (Step 2)
    Connect to your database by using Azure AD identities. (Step 3)
  5. Question 5

    Single answer

    What GitHub Copilot configuration needs to be enabled to protect against IP infringements?

    • Option A:

      Blocking public code matches


      Correct
    • Option B:

      Blocking license check configuration


      Correct
    • Option C:

      Allowing public code matches


      Correct
    • Option D:

      Allowing license check configuration

      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: A

    Explanation

    “By default, suggestions matching public code are allowed, but you can choose to block public code matches. This setting can be enabled to reduce the risk of intellectual property infringement.”

    This shows that enabling “Blocking public code matches” is the configuration required to protect against IP issues.

    [References: GitHub Copilot configuration settings documentation., ===========, , ]
  6. Question 6

    Multiple answers

    What type of information can you retrieve through GitHub Copilot Business Subscriptions via REST API? (Each correct answer presents part of the solution. Choose two.)

    • Option A:

      Get a summary of GitHub Copilot usage for organization members


      Correct
    • Option B:

      List all GitHub Copilot seat assignments for an organization


      Correct
    • Option C:

      View code suggestions for a specific user


      Correct
    • Option D:

      List of all unsubscribed GitHub Copilot members within an organization

      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: A, B

    Explanation

    Exact extracts:

    “The REST API for Copilot Business allows you to retrieve a summary of Copilot usage metrics for organization members.”

    [References: GitHub Copilot Business REST API documentation., ===========, , ]
  7. Question 7

    Multiple answers

    In what ways can GitHub Copilot support a developer during the code refactoring process? (Each correct answer presents part of the solution. Choose two.)

    • Option A:

      By offering code transformation examples that enhance performance and reduce complexity.


      Correct
    • Option B:

      By independently ensuring compliance with regulatory standards across industries.


      Correct
    • Option C:

      By providing suggestions for improving code readability and maintainability based on best practices.


      Correct
    • Option D:

      By autonomously refactoring entire codebases to the latest programming language.

      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: A, C

    Explanation

    Exact extracts:

    “Copilot can propose code transformations that improve performance and reduce complexity.”

    [References: GitHub Copilot code refactoring documentation., ===========, , ]
  8. Question 8

    Multiple answers

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

    • Option A:

      Code suggestions


      Correct
    • Option B:

      Chat


      Correct
    • Option C:

      Knowledge Base


      Correct
    • Option D:

      Pull Request Diff Analysis

      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: A, B

    Explanation

    GitHub Copilot Individual provides code suggestions and chat features when used with supported IDE extensions like Visual Studio, VS Code, and JetBrains IDEs.

    [Reference: GitHub Copilot Individual features documentation., , ]
  9. Question 9

    Multiple answers

    Which of the following are true about code suggestions? (Each correct answer presents part of the solution. Choose two.)

    • Option A:

      Code suggestions are guaranteed to not expose known security vulnerabilities


      Correct
    • Option B:

      You can use keyboard shortcuts to accept the next word in a suggestion


      Correct
    • Option C:

      Code suggestions are limited to single-line suggestions


      Correct
    • Option D:

      Code suggestions will always compile or run without modifications


      Correct
    • Option E:

      Alternative code suggestions can be shown in a new tab

      Correct
    Show Answer & Explanation Hide Answer & Explanation

    Correct Answer: B, E

    Explanation

    Exact extracts:

    “You can accept individual words, lines, or entire suggestions with keyboard shortcuts.”

    [References: GitHub Copilot editor usage documentation., ===========, , ]