Recall & Review
beginner
What is multiple site hosting in Firebase?
It allows you to host more than one website or web app under the same Firebase project, each with its own domain or subdomain.
Click to reveal answer
beginner
How do you add a new site to your Firebase project for multiple site hosting?
Use the Firebase CLI command
firebase hosting:sites:create <site-name> to create a new site within your project.Click to reveal answer
intermediate
How do you deploy different sites in a Firebase project?
You specify the site name in the
firebase.json file under hosting and deploy using firebase deploy --only hosting:<site-name>.Click to reveal answer
intermediate
Can multiple sites in Firebase share the same Firebase project resources?
Yes, all sites share the same Firebase project resources like database, storage, and functions, but each site has its own hosting configuration.
Click to reveal answer
intermediate
Why use multiple site hosting instead of separate Firebase projects?
It simplifies management by keeping sites under one project, reduces costs, and allows shared backend resources while serving different frontends.
Click to reveal answer
Which Firebase CLI command creates a new site for multiple site hosting?
✗ Incorrect
The command
firebase hosting:sites:create <site-name> creates a new site in your Firebase project.How do you deploy a specific site in a Firebase project with multiple sites?
✗ Incorrect
Use
firebase deploy --only hosting:<site-name> to deploy a specific site.Do multiple sites in Firebase have separate backend resources by default?
✗ Incorrect
All sites under one Firebase project share backend resources like database and storage.
What file do you configure to specify hosting settings for multiple sites?
✗ Incorrect
The
firebase.json file holds hosting configurations for all sites.What is a benefit of using multiple site hosting in Firebase?
✗ Incorrect
Multiple site hosting lets you manage several sites easily under one Firebase project.
Explain how to set up and deploy multiple sites in a single Firebase project.
Think about commands and configuration files needed.
You got /3 concepts.
Describe the advantages and limitations of multiple site hosting in Firebase.
Consider management and resource sharing aspects.
You got /4 concepts.