Firebase Questions and Answers
11. Which of the following is not an Firebase Advantages?
A. No need for complicated configuration.
B. The data is real-time
C. Firebase offers simple control dashboard
D. Firebase free plan is limited to 50 Connections
View Answer
Ans : D
Explanation: Firebase Limitations : Firebase free plan is limited to 50 Connections and 100 MB of storage.
12. Firebase Year of invention?
A. 2011
B. 2012
C. 2013
D. 2014
View Answer
Ans : B
Explanation: Year of invention: 2012–present
13. Which method will write or replace data on a specified path?
A. SET
B. GET
C. PUT
D. USE
View Answer
Ans : A
Explanation: The set method will write or replace data on a specified path.
14. The ______________ method will create a unique id when the data is pushed.
A. pop()
B. key()
C. push()
D. unique()
View Answer
Ans : C
Explanation: The push() method will create a unique id when the data is pushed.
15. If we want to get access of deleted data, we can use _________ event type.
A. value
B. child_added
C. child_changed
D. child_removed
View Answer
Ans : D
Explanation: If we want to get access of deleted data, we can use child_removed event type.
16. When we want to detach all callbacks, we can use : playersRef.off();
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, When we want to detach all callbacks, we can use : playersRef.off();
17. which of the following are correct filtering method in Firebase?
A. equalTo() method
B. endAt() method
C. startAt() method
D. All of the above
View Answer
Ans : D
Explanation: All of the above are the filtering method in Firebase.
18. What is the full form of FCM in firebase?
A. Firebase Cloud Merge
B. Firebase Cloud Messaging
C. Flexible Cloud Messaging
D. None of the above
View Answer
Ans : B
Explanation: The full form of FCM in firebase is Firebase Cloud Messaging.
19. How many types of Firebase Database Rule?
A. 2
B. 3
C. 4
D. 5
View Answer
Ans : C
Explanation: There are four types of Firebase Database Rule:read, write, validate and indexOn.
20. Which API clears the saved Dynamic Link to prevent it from being accessed twice?
A. getInvitation API
B. get API
C. setInvitation API
D. set API
View Answer
Ans : A
Explanation: getInvitation API clears the saved Dynamic Link to prevent it from being accessed twice.
Discussion