Firebase Quiz
Firebase is Google’s platform for building apps without managing your own servers. Expect questions about authentication, Firestore and the Realtime Database, hosting, security rules and common use cases.
What this quiz covers
- Authentication
- Firestore and Realtime Database
- Hosting and storage
- Security rules
Study tip: Read the security rules for a small project and try to predict which reads and writes will be allowed or denied.
Questions, answers and explanations
1. What is Firebase?
- A CSS Framework
- A Backend-as-a-Service (BaaS)
- A Programming Language
- A Database Driver
Answer: A Backend-as-a-Service (BaaS)
Firebase is Google's Backend-as-a-Service platform for building web and mobile applications.
2. Who developed Firebase?
- Microsoft
- Amazon
Answer: Google
Firebase is owned and maintained by Google.
3. Which Firebase service is used for user authentication?
- Firebase Auth
- Firestore
- Firebase Hosting
- Cloud Functions
Answer: Firebase Auth
Firebase Authentication allows users to sign in securely.
4. Which Firebase database stores data as documents and collections?
- Cloud Firestore
- MySQL
- MongoDB
- SQLite
Answer: Cloud Firestore
Cloud Firestore is a NoSQL document database.
5. Which Firebase service hosts web applications?
- Firebase Hosting
- Cloud Storage
- Analytics
- Realtime Database
Answer: Firebase Hosting
Firebase Hosting is used to deploy and host web applications.
6. Which Firebase service stores files such as images and videos?
- Cloud Storage
- Firestore
- Hosting
- Analytics
Answer: Cloud Storage
Cloud Storage securely stores user-generated files.
7. Which Firebase database updates data instantly across connected clients?
- Realtime Database
- MySQL
- Oracle
- SQLite
Answer: Realtime Database
Realtime Database synchronizes data instantly.
8. Which language is commonly used with Firebase in web development?
- JavaScript
- C
- Swift Only
- PHP Only
Answer: JavaScript
Firebase is widely used with JavaScript frameworks like React.
9. Which Firebase service tracks user activity?
- Analytics
- Hosting
- Storage
- Authentication
Answer: Analytics
Firebase Analytics provides insights into user behavior.
10. Which command installs Firebase in a JavaScript project?
- npm install firebase
- npm install firestore
- npm install google
- npm install backend
Answer: npm install firebase
The Firebase SDK is installed using npm install firebase.
11. Which Firebase service allows developers to run backend code without managing servers?
- Cloud Functions
- Firestore
- Hosting
- Analytics
Answer: Cloud Functions
Cloud Functions lets developers execute backend code in response to events.
12. Which Firebase feature allows users to sign in using Google accounts?
- Google Authentication
- Google Storage
- Google Database
- Google Analytics
Answer: Google Authentication
Firebase Authentication supports Google Sign-In.
13. Which Firebase database is recommended for new projects?
- Cloud Firestore
- Realtime Database
- MySQL
- SQLite
Answer: Cloud Firestore
Cloud Firestore is the recommended database for most modern Firebase projects.
14. Which Firebase service sends push notifications?
- Firebase Cloud Messaging (FCM)
- Cloud Storage
- Hosting
- Firestore
Answer: Firebase Cloud Messaging (FCM)
FCM allows developers to send notifications to web and mobile devices.
15. Which Firebase feature stores application configuration values remotely?
- Remote Config
- Firestore
- Analytics
- Hosting
Answer: Remote Config
Remote Config allows changing app behavior without updating the app.
16. Which Firebase feature records application crashes?
- Crashlytics
- Firestore
- Storage
- Hosting
Answer: Crashlytics
Firebase Crashlytics helps developers monitor and fix app crashes.
17. Which Firebase service allows file uploads such as images and videos?
- Cloud Storage
- Realtime Database
- Cloud Functions
- Hosting
Answer: Cloud Storage
Cloud Storage is used to securely store user files.
18. Which company owns Firebase?
- Microsoft
- Amazon
- Meta
Answer: Google
Firebase has been owned by Google since 2014.
19. Firebase mainly follows which database model?
- NoSQL
- Relational
- Hierarchical
- Network
Answer: NoSQL
Firebase databases are NoSQL databases.
20. Which Firebase service helps monitor user engagement and app usage?
- Analytics
- Hosting
- Cloud Storage
- Authentication
Answer: Analytics
Firebase Analytics provides reports about user engagement and app performance.