MCP · Lesson 40 of 120
Resources Quiz
Test yourself.
Let's review resources. Pause after each question, and answer before I do.

- Resources quiz
- Pause and think
- Then check
Question 1
What identifies a resource? Its URI.
Quick check
A resource is identified by its:
Question 2
How do you serve one resource per city with one function? A resource template.
Quick check
One pattern for many cities:
Question 3
What should you return for a binary file? Bytes, with a mime type.
Quick check
A PDF resource returns:
Question 4
The model needs to cancel an order. Resource or tool? A tool.
Quick check
Changing data needs a: