GenBodha
by GenAI Engineers with GenAI Agents for GenAI Engineers
Account
Reading Material
Read
Web APIs & Services for GenAI Engineers
/
FastAPI Fundamentals
Hands-on Labs
Labs
Knowledge Check
50 questions · Test your understanding before moving on
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Question 1 of 50
Select one answer
Why does FastAPI evaluate path operations in declaration order?
A
To improve performance by caching the first matched route
B
To ensure a static path like /prompts/featured is matched before a parameterized path like /prompts/{prompt_id} that would capture 'featured' as an ID
C
To allow later routes to override earlier ones
D
Because Python dictionaries maintain insertion order
Previous
Check Answer