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...
Next.js Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
easy
Next.js
Why is directly querying a database from a Server Component considered safe?
A
Databases are always safe to query from anywhere
B
Server Components run entirely server-side — credentials and query logic never reach the client bundle
C
It isn't safe — this should always go through an API route
D
Because the query is automatically encrypted
Check Answer