In Supabase, you create a storage bucket and set its privacy to public. What is the main effect of this setting?
Think about what 'public' means for file access.
Setting a bucket to public allows anyone to read files without signing in. Uploading still requires permissions.
You want to create a storage bucket called 'images' using the Supabase CLI. Which command is correct?
Check the official Supabase CLI syntax for bucket creation.
The correct CLI command is 'supabase storage buckets create <bucket-name>'.
You build an app serving multiple customers (tenants). What is the best way to organize storage buckets to keep data separated and secure?
Think about security and data isolation between tenants.
Separate buckets per tenant provide strong isolation and easier access control.
You accidentally set a bucket containing sensitive files to public. What happens?
Consider what 'public' means for file access permissions.
Public buckets allow anyone to read files, so sensitive data becomes exposed.
You upload a file exceeding the maximum allowed size to a Supabase storage bucket. What is the expected behavior?
Think about how storage services handle size limits.
Supabase rejects uploads that exceed size limits with an error to prevent storage issues.
