MongoDB/MongoDB Mcq Question Set 10 Sample Test,Sample questions

Question:
 Aggregation pipeline was introduced in MongoDB version ______

1.2.1

2. 2.2

3.2.4

4.3.0

Posted Date:-2022-01-26 07:26:51


Question:
 If you need to disable access control for any reason, restart the process with ______ setting.

1.KeyFile

2.Authentication

3.Authorization

4.All of the Mentioned

Posted Date:-2022-01-26 07:14:27


Question:
 If you use the localhost exception when deploying a new MongoDB system, the first user you create must be in the _____ database.

1. head

2.local

3.admin

4.All of the Mentioned

Posted Date:-2022-01-26 07:14:04


Question:
 Point out the correct statement.

1.After you create the user administrator, the localhost exception is no longer available

2. Enabling access control on a MongoDB instance restricts access to the instance by requiring that users identify themselves when connecting

3. The mongo shell executes a number of commands at start up

4.All of the Mentioned

Posted Date:-2022-01-26 07:13:37


Question:
 The aggregation pipeline can use ___________ to improve its performance during some of its stages.

1.indexes

2.OptmData

3.functions

4. All of the mentioned

Posted Date:-2022-01-26 07:26:22


Question:
 The MongoDB _________ Console interface does not support Kerberos authentication.

1.TCP

2.TCP

3.HTTPS

4.None of the mentioned

Posted Date:-2022-01-26 07:07:38


Question:
 The ________ client authentication allows clients to authenticate to servers with certificates rather than with a username and password.

1.x.209

2. x.509

3.x.709

4.None of the mentioned

Posted Date:-2022-01-26 07:15:17


Question:
 Use __________ to encrypt communication between mongod and mongos components of a MongoDB client as well as between all applications and MongoDB.

1.SSD

2.TLS

3.MEAN

4.None of the mentioned

Posted Date:-2022-01-26 07:08:08


Question:
Cursors returned from aggregation only supports cursor methods like ______

1.cursor.hasNext()

2.cursor.Next()

3.cursor.has()

4. All of the mentioned

Posted Date:-2022-01-26 07:28:05


Question:
Documents enter a multi-stage __________ that transforms the documents into an aggregated result.

1. pipeline

2.pipelineView

3.pipelineUser

4.All of the Mentioned

Posted Date:-2022-01-26 07:22:18


Question:
enableLocalhostAuthBypass is not available using _________ database command.

1.setParameter

2. enableParameter

3.removeParameter

4.None of the mentioned

Posted Date:-2022-01-26 07:15:41


Question:
For a client-server authentication, the client requests from the KDC a ________ for access to a specific asset.

1. ticket

2. local

3. token

4.users

Posted Date:-2022-01-26 07:05:12


Question:
For each _______ the Kerberos Key Distribution Center (KDC) maintains a database of the realm’s principal and the principal’s associated “secret keys”.

1. key

2.realm

3.document

4.None of the mentioned

Posted Date:-2022-01-26 07:04:08


Question:
Grant the user the role using the ________ method.

1.db.grantRole()

2.db.grantRolesToUser()

3.db.grantToUser()

4.All of the Mentioned

Posted Date:-2022-01-26 07:17:24


Question:
If you create the user administrator before enabling access control, MongoDB disables the ________ exception.

1. localhost

2.server

3. runtime

4.None of the mentioned

Posted Date:-2022-01-26 07:13:07


Question:
Linux systems can store Kerberos authentication keys for a service principal in ______ files.

1. Client

2. Server

3. keytab

4. All of the mentioned

Posted Date:-2022-01-26 07:06:46


Question:
Map-reduce uses custom __________ functions to perform the map and reduce operations.

1.Java

2. Javascript

3. JSON

4.None of the mentioned

Posted Date:-2022-01-26 07:25:35


Question:
MongoDB supports the execution of JavaScript code for certain server-side operations like ______

1. where

2.group

3.mapreduce

4.All of the Mentioned

Posted Date:-2022-01-26 07:12:37


Question:
On Linux, MongoDB clients can use Kerberos’s _______ program to initialize a credential cache for authenticating the user principal to servers.

1. knight

2. kinit

3. Knite

4.None of the mentioned

Posted Date:-2022-01-26 07:07:11


Question:
Pipeline stages can use __________ for tasks such as calculating the average or concatenating a string.

1.replicas

2.operators

3. roles

4. All of the mentioned

Posted Date:-2022-01-26 07:25:10


Question:
Point out the correct statement.

1.MongoDB Enterprise provides support for Kerberos authentication of MongoDB clients to mongod and mongos

2.beros is an industry standard authentication protocol for large client/server systems

3.Kerberos allows MongoDB and applications to take advantage of existing authentication infrastructure and processes

4. All of the mentioned

Posted Date:-2022-01-26 07:04:46


Question:
Point out the correct statement.

1.To provide user administrators, MongoDB has userAdmin and userAdminAnyDatabase roles

2. A user administrator can grant any privilege in the database and can create new ones

3. Specifically, a user with the userAdmin role can grant itself any privilege in the database

4. All of the mentioned

Posted Date:-2022-01-26 07:17:01


Question:
Point out the wrong statement.

1. User principal names have the form: <userpwd>@<KERBEROS PRINCIPAL>

2. For MongoDB, the <service> defaults to mongodb

3. Every MongoDB mongod and mongos instance must have an associated service principal

4. All of the mentioned

Posted Date:-2022-01-26 07:10:37


Question:
Point out the wrong statement.

1. Authentication does not require an authentication mechanism

2. To enable authentication on a sharded cluster, you must enable authentication individually on each component of the cluster

3. The content of the key file must be the same on all cluster members

4. All of the mentioned

Posted Date:-2022-01-26 07:14:53


Question:
Point out the wrong statement.

1.You must have the createUser action on a database to create a new user on that database

2.You must have the grantRole action on a role’s database to grant the role to another user

3.If your MongoDB deployment has no users, you must connect to mongod using the localhost exception

4.None of the mentioned

Posted Date:-2022-01-26 07:18:16


Question:
Point out the wrong statement.

1.Map-reduce cannot have a finalize stage to make final modifications to the result

2.Map-reduce is less efficient and more complex than the aggregation pipeline

3. Specifically, a user with the userAdmin role can grant itself any privilege in the database

4.All of the Mentioned

Posted Date:-2022-01-26 07:21:26


Question:
Point out the wrong statement.

1.MongoDB also provides map-reduce operations to perform aggregation

2.The pipeline provides efficient data aggregation using native operations within MongoDB

3.Map-reduce can specify a query condition to select the input documents as well as sort and limit the results

4. none of the mentioned

Posted Date:-2022-01-26 07:22:47


Question:
Point out the wrong statement.

1.Aggregation pipeline have some limitations on value types and result size

2.The aggregation pipeline is a framework for data aggregation modeled on the concept of data processing pipelines

3. Documents enter a multi-stage pipeline that transforms the documents into an aggregated results

4.All of the Mentioned

Posted Date:-2022-01-26 07:27:20


Question:
Point out the wrong statement.

1.Some pipeline stages may generate new documents or filter out documents

2. Pipeline stages do need to produce one output document for every input document

3.Pipeline stages can appear multiple times in the pipeline

4. none of the mentioned

Posted Date:-2022-01-26 07:28:32


Question:
Running data aggregation on the ________ instance simplifies application code and limits resource requirements.

1.document

2. mongod

3. mongos

4.All of the Mentioned

Posted Date:-2022-01-26 07:21:49


Question:
The most basic pipeline stages provide __________ that operate like queries.

1. methods

2.filters

3.stored procedure

4. none of the mentioned

Posted Date:-2022-01-26 07:24:48


Question:
The ________ field contains optional custom information about the user.

1.customDataAll

2.OptmData

3.customData

4. All of the mentioned

Posted Date:-2022-01-26 07:20:14


Question:
To authenticate using Kerberos, you must add the Kerberos user principals to MongoDB to the _________ database.

1. $internal

2. $external

3.$extern

4.None of the mentioned

Posted Date:-2022-01-26 07:05:40


Question:
To generate pseudo-random data to use for a keyfile, issue the following __________ command.

1.openhss

2.openssd

3.openssl

4.All of the Mentioned

Posted Date:-2022-01-26 07:11:29


Question:
To specify a different value for <service>, use ________ during the start up of mongod.

1. servicepwd

2. serviceName

3. servicelogin

4.None of the mentioned

Posted Date:-2022-01-26 07:06:06


Question:
To view a role’s information, you must be explicitly granted the role or must have the _________ action on the role’s database.

1.viewUser

2. viewRole

3.grantRole

4.None of the mentioned

Posted Date:-2022-01-26 07:16:34


Question:
Use the __________ option to ensure that MongoDB listens for connections from applications on configured addresses.

1.bind_ipadd

2.bind_ip

3. bind_service

4.None of the mentioned

Posted Date:-2022-01-26 07:11:01


Question:
Which of the following can be used to generate unique strings for use in passwords?

1.openssl

2.openssd

3.oppstringpwd

4. none of the mentioned

Posted Date:-2022-01-26 07:19:49


Question:
Which of the following is used to display the replica set configuration object?

1.rs.config

2.rs.conf

3.rs.confrepl

4.None of the mentioned

Posted Date:-2022-01-26 07:12:12


Question:
Which of the following method is used to identify the privileges granted by the roles?

1.rolesUser

2.rolesInfo

3.rolesView

4.All of the Mentioned

Posted Date:-2022-01-26 07:17:48


Question:
Which of the following operation can be optionally used for map reduce?

1. finally

2.final

3. static

4. none of the mentioned

Posted Date:-2022-01-26 07:26:01


Question:
With ___________ enabled, MongoDB forces all clients to identify themselves before granting access to the server.

1.access

2.authentication

3.authorization

4.All of the Mentioned

Posted Date:-2022-01-26 07:08:35


Question:
You must have the _________ action on a database to modify the password of any user on that database

1.changePassword

2. changeAnyPassword

3.removePassword

4.None of the mentioned

Posted Date:-2022-01-26 07:19:27


Question:
You must have the __________ action on a database to revoke a role on that database.

1.revokePrivelege

2. revokeUser

3. revokeRole

4. All of the mentioned

Posted Date:-2022-01-26 07:19:00


Question:
_____ calculates aggregate values for the data in a collection.

1.db.collection.aggregate

2.db.collection.agg

3.db.collection.pipeline

4.All of the Mentioned

Posted Date:-2022-01-26 07:27:42


Question:
______ are operations that process data records and return computed results.

1.ReplicaAgg

2. SumCalculation

3.Aggregations

4.None of the mentioned

Posted Date:-2022-01-26 07:20:57


Question:
_______ allows administrators to define and limit the resources and operations that a user can access.

1.Access

2.Authentication

3.Authorization

4.All of the Mentioned

Posted Date:-2022-01-26 07:09:58


Question:
_______ is used to initiate relica member set.

1.rs.rep()

2. rs.init()

3.rs.initiate()

4.None of the mentioned

Posted Date:-2022-01-26 07:11:49


Question:
_______ removes a one or more roles from a user on the current database.

1.db.revokeRolesUser()

2. db.revokeRoles()

3. db.revokeRolesFromUser()

4.None of the mentioned

Posted Date:-2022-01-26 07:18:37


Question:
________ enables a set of internal commands useful for internal testing operations.

1.enableTestAll

2.enableTest

3. enableTestCommands

4.All of the Mentioned

Posted Date:-2022-01-26 07:16:05


More MCQS

  1. MongoDB Mcq Question Set 1
  2. MongoDB Mcq Question Set 2
  3. MongoDB Mcq Question Set 3
  4. MongoDB Mcq Question Set 4
  5. MongoDB Mcq Question Set 5
  6. MongoDB Mcq Question Set 6
  7. MongoDB Mcq Question Set 7
  8. MongoDB Mcq Question Set 8
  9. MongoDB Mcq Question Set 9
  10. MongoDB Mcq Question Set 10
  11. MongoDB Mcq Question Set 11
  12. MongoDB Mcq Question Set 12
  13. MongoDB Mcq Question Set 13
  14. MongoDB Mcq Question Set 14
  15. MongoDB Mcq Question Set 15
  16. MongoDB Mcq Question Set 16
  17. MongoDB Mcq Question Set 17
  18. MongoDB Mcq Question Set 18
  19. MongoDB Mcq Question Set 19
  20. MongoDB Mcq Question Set 20
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!