Firestore interview questions

21 real Firestore questions from the Firebase bank, as asked in Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd — free to start.

1. What is Document?

Junior
  1. A.the basic unit of storage in Firestore, a set of key-value fields living inside a collection
  2. B.a startAt or startAfter pagination marker that resumes results from a specific document position
  3. C.a grouping of up to 500 set, update, or delete operations committed together as a single atomic unit
  4. D.an onSnapshot subscription that pushes updates to clients whenever matching data changes, instead of polling
Reveal the answer + AI explanation — free account

3. Which statement is correct?

Junior
  1. A.Document — a grouping of up to 500 set, update, or delete operations committed together as a single atomic unit
  2. B.Document — a container that holds documents and cannot itself store raw fields, only nested records
  3. C.Document — a collection nested under a single document, used to model hierarchical one-to-many relationships
  4. D.Document — the basic unit of storage in Firestore, a set of key-value fields living inside a collection
Reveal the answer + AI explanation — free account

4. What is Collection?

Junior
  1. A.the basic unit of storage in Firestore, a set of key-value fields living inside a collection
  2. B.a collection nested under a single document, used to model hierarchical one-to-many relationships
  3. C.a container that holds documents and cannot itself store raw fields, only nested records
  4. D.a startAt or startAfter pagination marker that resumes results from a specific document position
Reveal the answer + AI explanation — free account

6. Which statement is correct?

Junior
  1. A.Collection — a multi-field index that must be created so queries filtering or ordering on more than one field can run
  2. B.Collection — a container that holds documents and cannot itself store raw fields, only nested records
  3. C.Collection — an onSnapshot subscription that pushes updates to clients whenever matching data changes, instead of polling
  4. D.Collection — a grouping of up to 500 set, update, or delete operations committed together as a single atomic unit
Reveal the answer + AI explanation — free account

7. What is Subcollection?

Mid
  1. A.the basic unit of storage in Firestore, a set of key-value fields living inside a collection
  2. B.a multi-field index that must be created so queries filtering or ordering on more than one field can run
  3. C.a collection nested under a single document, used to model hierarchical one-to-many relationships
  4. D.a container that holds documents and cannot itself store raw fields, only nested records
Reveal the answer + AI explanation — free account

9. Which statement is correct?

Mid
  1. A.Subcollection — a container that holds documents and cannot itself store raw fields, only nested records
  2. B.Subcollection — a startAt or startAfter pagination marker that resumes results from a specific document position
  3. C.Subcollection — a collection nested under a single document, used to model hierarchical one-to-many relationships
  4. D.Subcollection — a grouping of up to 500 set, update, or delete operations committed together as a single atomic unit
Reveal the answer + AI explanation — free account

10. What is Real-time listener?

Mid
  1. A.a startAt or startAfter pagination marker that resumes results from a specific document position
  2. B.the basic unit of storage in Firestore, a set of key-value fields living inside a collection
  3. C.a container that holds documents and cannot itself store raw fields, only nested records
  4. D.an onSnapshot subscription that pushes updates to clients whenever matching data changes, instead of polling
Reveal the answer + AI explanation — free account

12. Which statement is correct?

Mid
  1. A.Real-time listener — a grouping of up to 500 set, update, or delete operations committed together as a single atomic unit
  2. B.Real-time listener — an onSnapshot subscription that pushes updates to clients whenever matching data changes, instead of polling
  3. C.Real-time listener — a multi-field index that must be created so queries filtering or ordering on more than one field can run
  4. D.Real-time listener — a startAt or startAfter pagination marker that resumes results from a specific document position
Reveal the answer + AI explanation — free account

13. What is Composite index?

Senior
  1. A.a startAt or startAfter pagination marker that resumes results from a specific document position
  2. B.the basic unit of storage in Firestore, a set of key-value fields living inside a collection
  3. C.a grouping of up to 500 set, update, or delete operations committed together as a single atomic unit
  4. D.a multi-field index that must be created so queries filtering or ordering on more than one field can run
Reveal the answer + AI explanation — free account

15. Which statement is correct?

Senior
  1. A.Composite index — a container that holds documents and cannot itself store raw fields, only nested records
  2. B.Composite index — a multi-field index that must be created so queries filtering or ordering on more than one field can run
  3. C.Composite index — an onSnapshot subscription that pushes updates to clients whenever matching data changes, instead of polling
  4. D.Composite index — a collection nested under a single document, used to model hierarchical one-to-many relationships
Reveal the answer + AI explanation — free account

16. What is Query cursor?

Senior
  1. A.the basic unit of storage in Firestore, a set of key-value fields living inside a collection
  2. B.a startAt or startAfter pagination marker that resumes results from a specific document position
  3. C.a grouping of up to 500 set, update, or delete operations committed together as a single atomic unit
  4. D.a container that holds documents and cannot itself store raw fields, only nested records
Reveal the answer + AI explanation — free account

18. Which statement is correct?

Senior
  1. A.Query cursor — an onSnapshot subscription that pushes updates to clients whenever matching data changes, instead of polling
  2. B.Query cursor — a collection nested under a single document, used to model hierarchical one-to-many relationships
  3. C.Query cursor — the basic unit of storage in Firestore, a set of key-value fields living inside a collection
  4. D.Query cursor — a startAt or startAfter pagination marker that resumes results from a specific document position
Reveal the answer + AI explanation — free account

19. What is WriteBatch?

Mid
  1. A.a multi-field index that must be created so queries filtering or ordering on more than one field can run
  2. B.a container that holds documents and cannot itself store raw fields, only nested records
  3. C.a startAt or startAfter pagination marker that resumes results from a specific document position
  4. D.a grouping of up to 500 set, update, or delete operations committed together as a single atomic unit
Reveal the answer + AI explanation — free account

21. Which statement is correct?

Mid
  1. A.WriteBatch — a collection nested under a single document, used to model hierarchical one-to-many relationships
  2. B.WriteBatch — a startAt or startAfter pagination marker that resumes results from a specific document position
  3. C.WriteBatch — the basic unit of storage in Firestore, a set of key-value fields living inside a collection
  4. D.WriteBatch — a grouping of up to 500 set, update, or delete operations committed together as a single atomic unit
Reveal the answer + AI explanation — free account

Free to start

Answers, AI explanations, and a scored voice mock interview

Sign up free to check your answers with explanations, ask the AI tutor anything on any question, and take one full AI mock interview — scored like a real panel.

Practice Firestore free