|
| 1 | +### YamlMime:ModuleUnit |
| 2 | +uid: learn.github.github-copilot-agent-mode.knowledge-check |
| 3 | +title: Knowledge check |
| 4 | +metadata: |
| 5 | + title: Knowledge check |
| 6 | + description: Evaluate your understanding of GitHub Copilot Agent Mode. |
| 7 | + author: a-a-ron |
| 8 | + ms.author: aastewar |
| 9 | + ms.date: 03/17/2025 |
| 10 | + ms.topic: unit |
| 11 | + ms.collection: |
| 12 | + - ce-skilling-ai-copilot |
| 13 | +durationInMinutes: 5 |
| 14 | +content: | |
| 15 | +quiz: |
| 16 | + title: Check your knowledge |
| 17 | + questions: |
| 18 | + - content: "In what key way does GitHub Copilot Agent Mode differ from traditional AI-assisted coding tools?" |
| 19 | + choices: |
| 20 | + - content: "It exclusively relies on user-provided step-by-step instructions to generate code." |
| 21 | + isCorrect: false |
| 22 | + explanation: "Incorrect. Agent Mode autonomously analyzes and executes complex tasks without needing explicit step-by-step instructions." |
| 23 | + - content: "It dynamically analyzes entire projects, autonomously performs multi-step tasks, and iteratively refines its outputs." |
| 24 | + isCorrect: true |
| 25 | + explanation: "Correct. GitHub Copilot Agent Mode goes beyond traditional assistants by autonomously managing comprehensive tasks and continuously improving its own solutions." |
| 26 | + - content: "It primarily suggests code snippets based on the immediate context of a single open file." |
| 27 | + isCorrect: false |
| 28 | + explanation: "Incorrect. Agent Mode analyzes the broader context of the entire workspace, not just single-file context." |
| 29 | + - content: "It provides real-time inline suggestions but cannot autonomously refactor or execute code." |
| 30 | + isCorrect: false |
| 31 | + explanation: "Incorrect. Agent Mode can autonomously refactor and execute code across multiple files." |
| 32 | + |
| 33 | + - content: "Which approach describes how GitHub Copilot Agent Mode iteratively improves its generated solutions?" |
| 34 | + choices: |
| 35 | + - content: "It suggests initial solutions, then requires manual developer intervention to run tests and debug." |
| 36 | + isCorrect: false |
| 37 | + explanation: "Incorrect. Agent Mode autonomously runs tests, identifies issues, and iterates without requiring manual debugging." |
| 38 | + - content: "It automatically identifies issues through testing, autonomously corrects errors, and repeats the cycle to refine the solution." |
| 39 | + isCorrect: true |
| 40 | + explanation: "Correct. Agent Mode employs an iterative, autonomous process to diagnose and correct errors, continuously improving its solutions." |
| 41 | + - content: "It only generates code once per task and relies on manual review to make improvements." |
| 42 | + isCorrect: false |
| 43 | + explanation: "Incorrect. Agent Mode autonomously iterates multiple times to refine and improve the code solutions." |
| 44 | + - content: "It delegates all code improvements entirely to external testing frameworks and does not autonomously address failures." |
| 45 | + isCorrect: false |
| 46 | + explanation: "Incorrect. Agent Mode internally diagnoses test failures and autonomously corrects issues without relying solely on external frameworks." |
| 47 | + |
| 48 | + - content: "You instruct GitHub Copilot Agent Mode to migrate a legacy JavaScript application to a modern framework. What actions would Agent Mode likely perform autonomously?" |
| 49 | + choices: |
| 50 | + - content: "Provide inline code completions only for individual files without modifying dependencies or project structure." |
| 51 | + isCorrect: false |
| 52 | + explanation: "Incorrect. Agent Mode would autonomously modify dependencies, project structure, and files as needed for migration." |
| 53 | + - content: "Identify relevant files, update dependencies, refactor existing code across multiple files, and iteratively verify changes by running tests." |
| 54 | + isCorrect: true |
| 55 | + explanation: "Correct. Agent Mode autonomously handles comprehensive migration tasks, including dependencies, refactoring, and testing." |
| 56 | + - content: "Generate new documentation explaining why the migration should occur, but leave the actual code implementation to the developer." |
| 57 | + isCorrect: false |
| 58 | + explanation: "Incorrect. Agent Mode actively performs code refactoring and migration tasks rather than focusing solely on documentation." |
| 59 | + - content: "Prompt the developer for manual inputs at each step of code modification without autonomously running any tests." |
| 60 | + isCorrect: false |
| 61 | + explanation: "Incorrect. Agent Mode autonomously manages tasks without requiring frequent manual inputs, including running tests to validate code." |
| 62 | + |
| 63 | + - content: "What is the role of project documentation files (such as README.md) when working with GitHub Copilot Agent Mode?" |
| 64 | + choices: |
| 65 | + - content: "They serve exclusively as reference documents for developers and have no influence on Agent Mode's behavior." |
| 66 | + isCorrect: false |
| 67 | + explanation: "Incorrect. Documentation files can guide Agent Mode’s behavior by providing context and instructions for tasks." |
| 68 | + - content: "They help Agent Mode understand the project's intended behavior, influencing how it autonomously executes tasks." |
| 69 | + isCorrect: true |
| 70 | + explanation: "Correct. Documentation files provide context and guidance that Agent Mode can leverage to perform tasks more accurately." |
| 71 | + - content: "They restrict Agent Mode's access to code files, preventing unwanted modifications." |
| 72 | + isCorrect: false |
| 73 | + explanation: "Incorrect. Documentation does not restrict file access, but it can help direct Agent Mode’s autonomous operations." |
| 74 | + - content: "Agent Mode completely ignores documentation files and relies solely on the file structure and source code." |
| 75 | + isCorrect: false |
| 76 | + explanation: "Incorrect. Agent Mode leverages documentation files to better understand tasks and execute actions appropriately." |
| 77 | + |
| 78 | + - content: "What is an important limitation developers should consider when using GitHub Copilot Agent Mode?" |
| 79 | + choices: |
| 80 | + - content: "It requires manual configuration after every code generation to be effective." |
| 81 | + isCorrect: false |
| 82 | + explanation: "Incorrect. Agent Mode autonomously handles configurations based on existing project context." |
| 83 | + - content: "It may struggle with highly specialized domain knowledge or nuanced business logic that lacks clear patterns." |
| 84 | + isCorrect: true |
| 85 | + explanation: "Correct. Agent Mode performs best with clear patterns and complete context and may struggle when domain-specific logic is unclear or undocumented." |
| 86 | + - content: "It only supports generating code snippets and cannot autonomously refactor or run tests." |
| 87 | + isCorrect: false |
| 88 | + explanation: "Incorrect. Agent Mode fully supports autonomous refactoring, test creation, and execution." |
| 89 | + - content: "It cannot analyze project structure and dependencies, relying solely on explicit developer-provided context." |
| 90 | + isCorrect: false |
| 91 | + explanation: "Incorrect. Agent Mode autonomously analyzes project structure and dependencies to perform tasks effectively." |
0 commit comments