JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
MongoDB interview questions part 39
MongoDB interview questions part 39
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Failover allows a ________ member to become primary if primary is unavailable.
A. Hidden
B. Primary
C. ViewState
D. Secondary
Show Correct Answer
Correct Answer is :
Secondary
2. Sometimes the failover process may require a ____________ during operation.
A. savepoint
B. rollback
C. commit
D. none of the mentioned
Show Correct Answer
Correct Answer is :
rollback
3. Point out the correct statement :
A. A rollback does not occur if the write operations replicate to another member of the replica set before the primary steps down
B. Secondaries that can not keep up with the throughput of operations on the former primary, decrease the size and impact of the rollback
C. Fault tolerance is an effect of replica set size, but the relationship is not direct
D. None of the mentioned
Show Correct Answer
Correct Answer is :
A rollback does not occur if the write operations replicate to another member of the replica set before the primary steps down
4. MongoDB writes the rollback data to BSON files in the rollback/ folder under the database’s ________ directory.
A. dbPath
B. logPath
C. dataPath
D. all of the mentioned
Show Correct Answer
Correct Answer is :
dbPath
5. The names of rollback files have the following form:
A.
.
.
.bson.
B.
.
.
.bson.
C.
.
.
.json.
D. None of the mentioned
Show Correct Answer
Correct Answer is :
.
.
.bson.
6. _________ is used to read the contents of the rollback files.
A. bsondumpdata
B. bsondp
C. bsondump
D. none of the mentioned
Show Correct Answer
Correct Answer is :
bsondump
7. Use ______ to apply the changes to the new primary after rollback.
A. mongostore
B. mongorestore
C. restore
D. none of the mentioned
Show Correct Answer
Correct Answer is :
mongorestore
8. mongorestore recreates indexes recorded by :
A. bsondump
B. mongodump
C. mongostore
D. all of the mentioned
Show Correct Answer
Correct Answer is :
mongodump
9. How many types of members exist in replica set ?
A. 1
B. 2
C. 3
D. 4
Show Correct Answer
Correct Answer is :
2
10. Point out the wrong statement :
A. Replication provides scalability and increases data redundancy
B. A replica set in MongoDB is a group of mongod processes that provide redundancy and high availability
C. You can also maintain an arbiter as part of a replica set
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Replication provides scalability and increases data redundancy
11. Which of the member receives all write operations ?
A. center
B. secondary
C. primary
D. none of the mentioned
Show Correct Answer
Correct Answer is :
primary
12. _________ replicate operations from the primary to maintain an identical data set.
A. center
B. secondary
C. primary
D. none of the mentioned
Show Correct Answer
Correct Answer is :
secondary
13. Point out the wrong statement :
A. The minimum requirements for a replica set are: A primary, a secondary, and an arbiter
B. The primary is the only member in the replica set that receives write operations
C. Most deployments, however, will keep three members that store data: A primary and two secondary members
D. None of the mentioned
Show Correct Answer
Correct Answer is :
None of the mentioned
14. _________ play a role in the elections that select a primary if the current primary is unavailable
A. Arbiters
B. Replicators
C. Loggers
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Arbiters
15. A replica set can have up to ______ members but only 7 voting members
A. 10
B. 30
C. 50
D. 70
Show Correct Answer
Correct Answer is :
70
16. Which of the following may be non-voting or priority 0 ?
A. center
B. secondary
C. primary
D. none of the mentioned
Show Correct Answer
Correct Answer is :
secondary
17. If the current primary becomes unavailable, the replica set holds an ______ to choose which of the secondaries becomes the new primary.
A. election
B. replication
C. clasification
D. none of the mentioned
Show Correct Answer
Correct Answer is :
election
18. By default, an application directs its ____ operations to the primary member.
A. read
B. write
C. read write
D. all of the mentioned
Show Correct Answer
Correct Answer is :
read
19. A _______ set is a group of mongod instances that host the same data set.
A. copy
B. sorted
C. radii
D. replica
Show Correct Answer
Correct Answer is :
replica
20. Point out the wrong statement :
A. Replication provides redundancy and increases data availability
B. Replication allows you to recover from hardware failure and service interruptions
C. With multiple copies of data on different database servers, replication protects a database from the loss of a single server
D. None of the mentioned
Show Correct Answer
Correct Answer is :
None of the mentioned
Similar Interview Questions
Search for latest jobs
Find Jobs