JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
MongoDB interview questions part 6
MongoDB interview questions part 6
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. MongoDB employs _________ to govern access to a MongoDB system.
A. RBAS
B. RBAC
C. RBCC
D. None of the mentioned
Show Correct Answer
Correct Answer is :
RBAC
2. Point out the correct statement :
A. MongoDB provides built-in roles, each with a dedicated purpose for a common use case
B. MongoDB does not enable authorization by default
C. Administrators also can create new roles and privileges to cater to operational needs
D. All of the mentioned
Show Correct Answer
Correct Answer is :
MongoDB does not enable authorization by default
3. __________ consists of a specified resource and the actions permitted on the resource.
A. privilege
B. action
C. command
D. right
Show Correct Answer
Correct Answer is :
privilege
4. _________ provides all the privileges of the read role.
A. delete
B. update
C. readWrite
D. none of the mentioned
Show Correct Answer
Correct Answer is :
readWrite
5. Point out the wrong statement :
A. When granted a role, a user receives all the privileges of that role
B. A role consists of privileges that pair resources with not allowed operations
C. User cannot have several roles in MongoDB
D. None of the mentioned
Show Correct Answer
Correct Answer is :
User cannot have several roles in MongoDB
6. MongoDB stores user credentials in the protected admin.system._________
A. user
B. capped
C. cappeduser
D. users
Show Correct Answer
Correct Answer is :
users
7. You must have the _______ action on a database to create a new user on that database.
A. createUser
B. createSuperUser
C. createSuUser
D. all of the mentioned
Show Correct Answer
Correct Answer is :
createUser
8. Data of .system.indexes can be accessed using :
A. listallIndexes
B. listIndexes
C. ViewIndexes
D. SelectIndexes
Show Correct Answer
Correct Answer is :
listIndexes
9. You must have the __________ action on a role’s database to grant the role to another user.
A. grantRole
B. grantRoleAdm
C. grantRolePrivilege
D. none of the mentioned
Show Correct Answer
Correct Answer is :
grantRole
10. Command listIndexes.ok returning value 1 indicates :
A. failure
B. success
C. abnormal exit
D. none of the mentioned
Show Correct Answer
Correct Answer is :
success
11. MongoDB provides high ____________ with replica sets.
A. performance
B. availability
C. scalability
D. none of the mentioned
Show Correct Answer
Correct Answer is :
availability
12. MongoDB provides high ____________ with replica sets.
A. performance
B. availability
C. scalability
D. none of the mentioned
Show Correct Answer
Correct Answer is :
availability
13. Point out the correct statement :
A. MongoDB cannot be used as a file system
B. MongoDB can run over single servers only
C. Embedded documents and arrays reduce need for joins
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Embedded documents and arrays reduce need for joins
14. Point out the correct statement :
A. MongoDB cannot be used as a file system
B. MongoDB can run over single servers only
C. Embedded documents and arrays reduce need for joins
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Embedded documents and arrays reduce need for joins
15. ___________ replicas maintain a copy of the data on the primary using built-in replication.
A. Primary
B. Secondary
C. Backup
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Secondary
16. ___________ replicas maintain a copy of the data on the primary using built-in replication.
A. Primary
B. Secondary
C. Backup
D. All of the mentioned
Show Correct Answer
Correct Answer is :
Secondary
17. MongoDB scales horizontally using _________ for load balancing purpose.
A. Replication
B. Partitioning
C. Sharding
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Sharding
18. MongoDB scales horizontally using _________ for load balancing purpose.
A. Replication
B. Partitioning
C. Sharding
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Sharding
19. Point out the wrong statement :
A. Each replica set member will act in the role of primary replica only
B. The primary replica performs all writes and reads by default
C. Secondaries can also perform read operations, but the data is eventually consistent by default
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Each replica set member will act in the role of primary replica only
20. Point out the wrong statement :
A. Each replica set member will act in the role of primary replica only
B. The primary replica performs all writes and reads by default
C. Secondaries can also perform read operations, but the data is eventually consistent by default
D. None of the mentioned
Show Correct Answer
Correct Answer is :
Each replica set member will act in the role of primary replica only
Similar Interview Questions
Search for latest jobs
Find Jobs