Firebase

Firebase

Test your Firebase knowledge with free quizzes on MyCodeSkills covering core concepts.


  1. Can Firestore queries be case-insensitive?

    • Only in Pro Plan
    • Yes, always
    • No, not directly
    • Yes, by default
  2. What is the maximum depth of subcollections?

    • Unlimited
    • 50
    • 20
    • 10
  3. Which query returns documents in ascending order?

    • arrange()
    • ascend()
    • sortAsc()
    • orderBy()
  4. Firestore's free tier is called?

    • Hobby Plan
    • Spark Plan
    • Free Plan
    • Blaze Plan
  5. Which method reads a document once?

    • fetchDoc()
    • readDoc()
    • onSnapshot()
    • getDoc()
  6. What happens if a query needs an index that doesn't exist?

    • Auto-creates index
    • Runs without index
    • Runs slower
    • Fails with error
  7. Can Firestore run aggregation queries directly?

    • With extensions
    • Only in paid plan
    • No
    • Yes
  8. Firestore is best suited for?

    • Cold storage
    • Batch analytics
    • Real-time apps
    • Small datasets only
  9. How do you prevent overwriting existing data with set()?

    • mergeSet()
    • safeSet()
    • update()
    • merge: true
  10. Which function removes a field?

    • dropField()
    • FieldValue.delete()
    • removeField()
    • deleteField()
  11. What is a Firestore hot spot?

    • Popular document causing contention
    • Fast query
    • Hot cache
    • Server issue
  12. Which field type is best for geolocation queries?

    • GeoPoint
    • Coordinates
    • LatLng
    • GeoData
  13. How to run queries on BigQuery from Firestore?

    • Direct
    • Via Cloud Functions
    • Via Firebase Extensions
    • Export then query
  14. Firestore supports which transaction type?

    • Read-only
    • Read-write
    • Both
    • None
  15. What is the max number of writes per second for a collection?

    • 1,000,000
    • 10,000
    • 50,000
    • Unlimited