Lab Exercises
Use Copilot's Agent Mode to implement a full REST API from a specification. Copilot reads the test file and writes the code autonomously.
Use Copilot in the VS Code terminal to write bash one-liners, debug Docker issues, and craft git commands without memorising syntax.
Find and fix 4 real bugs hidden in a payment-processing module. Copilot Chat helps you understand and repair complex logic errors.
Scan a vulnerable Express app with Copilot. Identify SQL injection, path traversal, hardcoded secrets, and XSS — then apply the fixes.
Wire a real Model Context Protocol server into Copilot Chat. Run tests, get hints, and check exercise progress — all from natural language.
Compare prompt strategies, measure token cost, and learn when to use inline completions vs. Chat vs. Agent Mode for maximum efficiency.
Prerequisites inside VS Code
- Click the Copilot icon in the VS Code status bar and sign in with the GitHub account that has Copilot access.
- Open a terminal (Ctrl+`) and run
cd /home/student/workspace/copilot-enterprise-lab - Navigate to each exercise folder and follow the
README.md. - Run tests with
npm testinside each exercise directory.