0
0
Supabasecloud~20 mins

Custom domains in Supabase - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Custom Domain Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Custom Domain Setup in Supabase

Which of the following best describes the first step to configure a custom domain for your Supabase project?

AAdd your custom domain in the Supabase dashboard and then update your DNS provider with the provided CNAME or A record.
BDirectly update your DNS provider with your Supabase project URL without adding the domain in Supabase dashboard.
CCreate a new Supabase project with the custom domain name as the project name.
DConfigure SSL certificates manually on your local machine before adding the domain.
Attempts:
2 left
💡 Hint

Think about what needs to be done both in Supabase and your DNS provider to link your domain.

Configuration
intermediate
2:00remaining
DNS Record Type for Custom Domain in Supabase

You want to point your custom domain app.example.com to your Supabase project. Which DNS record type should you use to correctly configure this?

ACreate a TXT record with your Supabase project ID.
BCreate an A record pointing <code>app.example.com</code> to <code>8.8.8.8</code>.
CCreate a CNAME record pointing <code>app.example.com</code> to <code>project-ref.supabase.co</code>.
DCreate an MX record pointing <code>app.example.com</code> to <code>mail.supabase.co</code>.
Attempts:
2 left
💡 Hint

Think about which DNS record type points a subdomain to another domain.

Architecture
advanced
2:00remaining
SSL Certificate Management for Custom Domains in Supabase

When you add a custom domain to your Supabase project, how is SSL (HTTPS) handled to secure your domain?

AYou must manually upload your SSL certificate and private key in the Supabase dashboard.
BSupabase automatically provisions and renews SSL certificates for your custom domain using Let's Encrypt.
CSSL is not supported for custom domains; you must use HTTP only.
DYou need to purchase an SSL certificate from a third party and configure it on your DNS provider.
Attempts:
2 left
💡 Hint

Consider how modern cloud services simplify HTTPS setup for custom domains.

service_behavior
advanced
2:00remaining
Behavior of Supabase Custom Domain After DNS Propagation Delay

After adding your custom domain and updating DNS records, you notice your domain is not immediately accessible. What is the expected behavior during this period?

AYour domain may not resolve or may show the old site until DNS changes propagate globally, which can take up to 48 hours.
BYour domain will instantly redirect to your Supabase project URL without delay.
CSupabase disables your project until DNS propagation completes.
DYou must restart your Supabase project to activate the custom domain.
Attempts:
2 left
💡 Hint

Think about how DNS changes work on the internet.

security
expert
2:00remaining
Security Best Practice for Custom Domain DNS Configuration in Supabase

Which DNS configuration practice enhances security when setting up a custom domain for your Supabase project?

AShare your DNS provider credentials with your development team for faster updates.
BUse a wildcard CNAME record pointing all subdomains to Supabase without restrictions.
CDisable HTTPS to avoid SSL certificate errors during setup.
DUse DNSSEC (Domain Name System Security Extensions) to protect your DNS records from tampering.
Attempts:
2 left
💡 Hint

Consider how to protect DNS records from being altered by attackers.