forked from rohitg00/ai-engineering-from-scratch
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquiz.json
More file actions
90 lines (90 loc) · 3.27 KB
/
Copy pathquiz.json
File metadata and controls
90 lines (90 loc) · 3.27 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{
"lesson": "21-computer-use-agents",
"title": "Computer Use: Claude, OpenAI CUA, Gemini",
"questions": [
{
"stage": "pre",
"question": "What input does Claude computer use take, and what does it emit?",
"options": [
"Accessibility tree in, keyboard/mouse commands out",
"Screenshots in (vision-based), keyboard/mouse commands out",
"DOM XML in, JavaScript out",
"JSON in, SQL out"
],
"correct": 1,
"explanation": "Claude reads pixels and emits keyboard/mouse actions; no OS accessibility API is used."
},
{
"stage": "pre",
"question": "What is Gemini 2.5 Computer Use's distinguishing safety feature?",
"options": [
"A per-step safety service that assesses each action before execution and rejects unsafe ones",
"Hard-coded WAF rules",
"Mandatory CAPTCHAs",
"Read-only mode by default"
],
"correct": 0,
"explanation": "Gemini 2.5 Computer Use ships a per-step safety classifier as a defining feature."
},
{
"stage": "check",
"question": "What does the lesson identify as untrusted input across all three models?",
"options": [
"Only HTTPS responses",
"Screenshots, DOM text, tool outputs, PDF content, anything retrieved",
"Only PDF content",
"Nothing; everything is trusted"
],
"correct": 1,
"explanation": "Only direct user instructions count as permission; everything else is untrusted."
},
{
"stage": "check",
"question": "Which OSWorld / WebArena numbers does the lesson cite for OpenAI CUA at launch?",
"options": [
"OSWorld 38.1%, WebArena 58.1%, WebVoyager 87%",
"OSWorld 0%, WebArena 0%",
"OSWorld 99%, WebArena 99%",
"Numbers not reported"
],
"correct": 0,
"explanation": "Those were the launch numbers cited."
},
{
"stage": "check",
"question": "Which defense pattern is NOT in the 2026 convergence list?",
"options": [
"Per-step safety classifier",
"Allowlist/blocklist of navigation targets",
"Human-in-the-loop for sensitive actions",
"Auto-clicking through dialogs to save time"
],
"correct": 3,
"explanation": "Auto-clicking dialogs is the opposite of safe; the lesson recommends explicit confirmation."
},
{
"stage": "post",
"question": "What is the principal attack the lesson highlights against computer-use agents?",
"options": [
"Network outages",
"A malicious page or PDF embedding instructions in retrieved content that the model treats as user intent",
"Slow rendering",
"OS update lag"
],
"correct": 1,
"explanation": "Trusting screenshots or DOM text as permission is the canonical indirect-prompt-injection failure."
},
{
"stage": "post",
"question": "When is human-in-the-loop confirmation specifically recommended?",
"options": [
"On read-only navigation",
"On sensitive actions like login, purchase, file delete",
"Only when the model asks",
"Never"
],
"correct": 1,
"explanation": "Sensitive actions (money, data exposure, new logins) require explicit human confirmation."
}
]
}