Which Microsoft ethical AI principle is aimed at ensuring AI systems treat all people equally?
A.Privacy and Security
B.FairnessCorrect
C.Reliability and Safety
D.Inclusiveness
Explanation
Microsoft's Fairness principle states that AI systems should treat everyone fairly and avoid affecting similarly situated groups of people in different ways. Inclusiveness is about empowering and engaging everyone, including people with disabilities, rather than equal treatment in outcomes. Privacy and Security covers protecting data, and Reliability and Safety covers consistent, safe operation.
What can be done during AI development to minimize bias?
A.Collect massive amounts of data for training.
B.Focus on accuracy of the data.
C.Use diverse data, fairness metrics, and human oversight.Correct
D.Improve on the computational efficiency and speed.
Explanation
Bias is reduced by training on diverse, representative data, measuring outcomes with fairness metrics across groups, and keeping humans in the loop to review results. Simply collecting more data can amplify existing bias if the data is skewed, and accuracy alone does not guarantee that different groups are treated fairly. Computational efficiency and speed have no effect on bias.
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.Correct
B.Ensuring code security enables the AI system to handle larger datasets effectively.
C.Ensuring code security maintains the integrity of the AI system.
D.Ensuring code security supports the development of more advanced AI features.
Explanation
Secure code protects the AI tool and the data it handles from unauthorized access, preventing breaches that could expose sensitive code, prompts or personal information. Maintaining system integrity is a related benefit, but the primary reason for securing code is to stop unauthorized access and data breaches. Handling larger datasets and building more advanced features are not outcomes of code security.
A social media manager wants to use AI to filter content. How can they promote transparency in the platform's AI operations?
A.By providing clear explanations about the types of content the AI is designed to filter and how it arrives at its conclusion.Correct
B.By relying on a well-regarded AI development company.
C.By regularly updating the AI filtering algorithm.
D.By focusing on user satisfaction with the content filtering.
Explanation
Transparency means people can understand how an AI system makes decisions that affect them, so explaining what content is filtered and how the system reaches its conclusions directly promotes it. Relying on a reputable vendor, updating the algorithm, or measuring user satisfaction may improve trust or quality, but none of them explains how the system works.
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 combines its training data set, code in user repositories, and external sources like Bing to generate responses.Correct
C.It uses user-provided documentation exclusively to generate responses.
D.It primarily uses search results from Bing to generate responses.
Explanation
Copilot Chat combines the foundation model's knowledge from its training data with context gathered from your code and repositories, and, when enabled, Bing web search results for recent or highly specific topics. Relying only on training data ignores the repository context it gathers, Bing is an optional supplement rather than the primary source, and user-provided documentation is never the exclusive source.
Which principle emphasizes that AI systems should be understandable and provide clear information on how they work?
A.Fairness
B.Accountability
C.TransparencyCorrect
D.Inclusiveness
Explanation
Transparency requires that people understand how AI systems make decisions, with interpretability providing useful explanations of system behavior. Accountability is about the people who design and deploy AI being responsible for how it operates, Fairness concerns equal treatment, and Inclusiveness concerns empowering everyone.
Which of the following is a risk associated with using AI?
A.AI replaces the need for developer opportunities in most fields.
B.AI eliminated the need for data privacy regulations.
C.AI algorithms are incapable of perpetuating existing biases.
D.AI systems can sometimes make decisions that are difficult to interpret.Correct
Explanation
A recognized risk of AI is that its decisions can be hard to interpret, which is why transparency and interpretability are core responsible AI concerns. AI does not eliminate the need for privacy regulation and can in fact perpetuate existing biases, so B and C are false statements. Claiming AI replaces developers in most fields is an overstatement, not an established risk.
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)Correct
B.Sexually suggestive or explicit contentCorrect
C.Code that contains logical errors or produces unexpected results
D.Code comments containing strong opinions or criticisms
Explanation
Copilot's content filtering detects and blocks harmful content, including hate and unfairness (such as slurs and offensive stereotypes) and sexual content. Code with logical errors is a quality problem, not toxic content, so the filter does not flag it. Comments expressing strong opinions or criticism are not harmful content unless they cross into hateful or offensive language.
How can the concept of fairness be integrated into the process of operating an AI tool?
A.Focusing on accessibility will ensure fairness.
B.Training AI data and algorithms to be free from biases will ensure fairness.Correct
C.Regularly monitoring the AI tool’s performance will ensure fairness in its outputs.
D.Focusing on collecting large datasets for training will ensure fairness.
Explanation
Fairness in responsible AI means the system treats all people equitably, which is achieved by identifying and removing bias from the training data and the algorithms that learn from it. Accessibility is a separate responsible AI principle (inclusiveness), so it does not by itself address unfair outcomes. Monitoring performance is good practice but measures quality rather than removing the bias that causes unfair outputs. A larger dataset can carry the same or more bias, so size alone does not make a model fair.
What are the potential risks associated with relying heavily on code generated from GitHub Copilot? Each correct answer presents part of the solution. (Choose two.)
A.GitHub Copilot may introduce security vulnerabilities by suggesting code with known exploits.Correct
B.GitHub Copilot’s suggestions may not always reflect best practices or the latest coding standards.Correct
C.GitHub Copilot may increase development lead time by providing irrelevant suggestions.
D.GitHub Copilot may decrease developer velocity by requiring too much time in prompt engineering.
Explanation
Copilot learns from large amounts of public code, so its suggestions can reproduce insecure patterns and must be reviewed and tested like any other code. For the same reason, suggestions can reflect outdated libraries, deprecated APIs or practices that do not match current standards. Irrelevant suggestions or prompt effort are minor productivity costs that a developer can simply ignore, not the core risks of relying on generated code.
Why might a Generative AI (Gen AI) tool create inaccurate outputs?
A.The Gen AI tool is programmed with a focus on creativity over factual accuracy.
B.The Gen AI tool is experiencing downtime and is not fully recovered.
C.The training data might contain biases or inconsistencies.Correct
D.The Gen AI tool is being overloaded with too many requests at once.
Explanation
A generative model predicts output from patterns in its training data, so biased, outdated or inconsistent data leads directly to inaccurate or skewed results. Downtime and heavy load affect availability and latency, not the correctness of what the model produces. Models are not deliberately programmed to prefer creativity over accuracy; inaccuracy comes from how they learn from data.
What should developers consider when relying on GitHub Copilot for generating code that involves statistical analysis?
A.GitHub Copilot will automatically correct any statistical errors found in the user’s initial code.
B.GitHub Copilot can independently verify the statistical significance of results.
C.GitHub Copilot can design new statistical methods that have not been previously documented.
D.GitHub Copilot’s suggestions are based on statistical trends and may not always apply accurately to specific datasets.Correct
Explanation
Copilot generates suggestions from patterns learned from existing code, so its statistical code may not suit the assumptions or shape of a particular dataset and must be validated by the developer. Copilot does not automatically find and correct statistical errors, cannot run or verify the significance of your results, and does not invent new, undocumented statistical methods.
What is the primary role of the '/optimize' slash command in Visual Studio?
A.Translates code into a more performant language.
B.Automatically formats the code according to the selected style guide.
C.Summarizes your documentation into more maintainable and readable formats.
D.Enhances the performance of the selected code by analyzing its runtime complexity.Correct
Explanation
In Copilot Chat in Visual Studio, /optimize analyzes and improves the running time of the selected code. It does not translate code to another language, apply formatting rules or rewrite documentation; documentation comments are handled by /doc.
Which GitHub Copilot plan could an Azure DevOps organization use without requiring a GitHub Enterprise license?
A.GitHub Copilot Enterprise
B.GitHub Copilot for Azure DevOpsCorrect
C.Copilot Teams
D.GitHub Copilot Individual
Explanation
Organizations that keep their code in Azure DevOps can buy Copilot seats for their developers without adopting GitHub Enterprise. GitHub lets you set up an enterprise account that manages only Copilot Business licenses, so members are billed only for Copilot and no GitHub Enterprise Cloud licenses are consumed. Copilot Enterprise requires GitHub Enterprise Cloud, Copilot Individual is a personal plan rather than one an organization manages, and there is no plan called Copilot Teams.
Which of the following steps correctly demonstrates how to establish an organization-wide policy for GitHub Copilot Business to restrict its use to certain repositories?
A.Create a copilot.policy file in each repository
B.Create a copilot.policy in the .github repository
C.Configure the policies in the organization settingsCorrect
D.Apply policies through the GitHub Actions configuration
Explanation
Copilot Business policies are managed by organization owners in the organization's Settings, under Copilot, then Policies (and related settings such as content exclusion). There is no copilot.policy file, in individual repositories or in the .github repository, and Copilot policies are not applied through GitHub Actions workflows.
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.)
A.View code suggestions for a specific user
B.List all GitHub Copilot seat assignments for an organizationCorrect
C.Get a summary of GitHub Copilot usage for organization membersCorrect
D.List of all unsubscribed GitHub Copilot members within an organization
Explanation
The Copilot user management REST API includes an endpoint that lists all Copilot seat assignments for an organization, and the Copilot usage metrics endpoints return usage reports for the organization's members. The API never exposes the actual code suggestions a user received, and there is no endpoint that lists members who are not subscribed to Copilot.
What is the best way to share feedback about GitHub Copilot Chat when using it on GitHub Mobile?
A.The feedback section on the GitHub website.
B.By tweeting at GitHub's official X (previously known as Twitter) account.
C.Use the emojis in the Copilot Chat interface.Correct
D.The Settings menu in the GitHub Mobile app.
Explanation
Copilot Chat collects feedback directly in the conversation: each response has thumbs up and thumbs down reactions you tap to rate it, which ties the feedback to the exact response. A general feedback page or a social media post loses that context, and the GitHub Mobile Settings menu has no Copilot Chat feedback option.
What specific function does the /fix slash command perform?
A.Proposes changes for detected issues, suggesting corrections for syntax errors and programming mistakes.Correct
B.Converts pseudocode into executable code, optimizing for readability and maintainability.
C.Generates new code snippets based on language syntax and best practices.
D.Initiates a code review with static analysis tools for security and logic errors.
Explanation
The /fix slash command asks Copilot Chat to propose a fix for problems in the selected code, such as errors, bugs and programming mistakes. It does not convert pseudocode, it is not a general code generator, and it does not run static analysis tools or start a code review.
Which GitHub Copilot plans exclude your Copilot data, such as usage, prompts and suggestions, from being used to train GitHub Copilot by default? Each correct answer presents a complete solution. (Choose two.)
A.GitHub Copilot Codespace
B.GitHub Copilot BusinessCorrect
C.GitHub Copilot Individual (now Copilot Pro)
D.GitHub Copilot EnterpriseCorrect
Explanation
For Copilot Business and Copilot Enterprise, GitHub does not use customers' prompts, suggestions or usage data to train its models; this is part of the data protection terms for organizations and enterprises. Individual plans (Copilot Pro, formerly Copilot Individual) leave this to a personal setting rather than excluding it by plan. Copilot Codespace is not a Copilot plan.
When using an IDE with a supported GitHub Copilot extension, which Copilot Chat features can you use from within the IDE? Each correct answer presents part of the solution. (Choose two.)
A.Explain code and suggest improvementsCorrect
B.Find out about releases and commits
C.Generate unit testsCorrect
D.Plan coding tasks
Explanation
In supported IDEs, Copilot Chat can explain selected code and suggest improvements (for example with /explain) and generate unit tests (for example with /tests). Asking about a repository's releases and commits is a Copilot Chat on GitHub.com use case that relies on GitHub's repository data. Planning coding tasks is not one of the core IDE Chat features this question targets.
Verifying access...
Access Required
You need to purchase this exam to access practice mode
Unlock a few more questions every day for 300 points you earn free on
Godlike Academy. Everything you unlock with the Daily Climb stays open for 7 days after your last unlock.