DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
AI for Frontend Developers Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
easy
AI for Frontend Developers
A teammate wants to store the Anthropic API key in a variable named NEXT_PUBLIC_CLAUDE_KEY so 'the frontend can call Claude directly and skip the extra network hop.' What's the correct response?
A
This is a good optimization — fewer hops means lower latency
B
This exposes the API key to every visitor's browser via the client bundle — route through a server-side endpoint instead
C
NEXT_PUBLIC_ variables are encrypted, so this is safe
D
This only matters in production, not in development
Check Answer