Site icon i2tutorials

GCP Data Engineering Firestore – Quiz

This Quiz contains totally 25 Questions each carry 1 point for you.


  1. What type of database is Firestore?

SQL
NoSQL
XML
CSV

Correct!

Wrong!

2. What are Firestore's data units called?
Tables and Rows
Documents and Collections
Nodes and Edges
Elements and Sets

Correct!

Wrong!

3. How is data stored in Firestore?
Binary
JSON
XML
CSV

Correct!

Wrong!

4. Which of the following is true about Firestore indexing?
Firestore automatically indexes all fields in a document
Firestore doesn’t index any fields in a document
Firestore only indexes numeric fields in a document
Firestore only indexes text fields in a document

Correct!

Wrong!

5. In Firestore, a complex object field is stored as a _______.
List
Map
Stack
Queue

Correct!

Wrong!

6. Can Firestore transactions run across multiple documents?
Yes
No
Only if the documents are in the same collection
Only if the documents have the same fields

Correct!

Wrong!

7. What does Firestore provide to handle offline data?
Offline synchronization
Local backup
Data compression
Data encryption

Correct!

Wrong!

8. Which of the following is NOT a valid Firestore security rule target?
Service
Match
Allow
Validate

Correct!

Wrong!

9. Firestore's security rules can be tested in ________.
Firebase Console
Firestore Emulator Suite
Google Cloud Console
All of the above

Correct!

Wrong!

10.  In Firestore data modeling, a one-to-many relationship can be modeled using _______.
Subcollections
Referential fields
Composite fields
All of the above

Correct!

Wrong!

11. What is a composite index in Firestore?
An index on a single field
An index on multiple fields in a document
An index on multiple documents
An index on a collection

Correct!

Wrong!

12. How does Firestore handle data redundancy?
Sharding
Replication
Backup
Load balancing

Correct!

Wrong!

13. Firestore is a part of which Google service?
Google Cloud Platform
Google Firebase
Google Analytics
Google AdWords

Correct!

Wrong!

14. Firestore supports which type of querying?
SQL-like querying
NoSQL querying
Both A and B
None of the above

Correct!

Wrong!

15. What is the primary way to retrieve data in Firestore?
Using SQL queries
Using REST API calls
Using data listeners
Using Firebase functions

Correct!

Wrong!

16. How does Firestore charge for its usage?
By the number of collections
By the number of documents
By the amount of data stored and the number of reads, writes, and deletes
It’s free

Correct!

Wrong!

17. How can you optimize Firestore's performance?
By denormalizing data
By creating composite indexes
By limiting the number of reads and writes
All of the above

Correct!

Wrong!

18. In Firestore, which of the following operations are atomic?
Batched writes
Transactions
Both A and B
None of the above

Correct!

Wrong!

19.  In Firestore, can a document exist without a collection?
Yes
No

Correct!

Wrong!

20. In Firestore, can a collection exist without a document?
Yes
No

Correct!

Wrong!

21. What is the maximum depth of subcollections in Firestore?
100
1000
There is no limit
It depends on the document size

Correct!

Wrong!

22.What is the purpose of Firestore's security rules?
To prevent unauthorized data access
To optimize Firestore's performance
To index Firestore data
To backup Firestore data

Correct!

Wrong!

23. Which of the following is NOT a way to optimize Firestore performance?
Denormalizing data
Creating composite indexes
Increasing the number of read and write operations
Sharding your data across multiple collections

Correct!

Wrong!

24. Firestore's rules language includes which of the following?
Expressions
Functions
Both A and B
None of the above

Correct!

Wrong!

25.  In Firestore, to replicate a many-to-many relationship, you need to:
Create a document for each item in one collection that references multiple documents in another collection
Create a third collection where each document contains references to a document in each of the two collections
Either A or B
None of the above

Correct!

Wrong!

Share the quiz to show your results !

Subscribe to see your results

Ignore & go to results

GCP Data Engineering Firestore – Quiz

You got %%score%% of %%total%% right

%%description%%

%%description%%

Loading...

Exit mobile version