MongoDB MCQ Quiz Hub

MongoDB Mcq Question Set 10

Choose a topic to test your knowledge and improve your MongoDB skills

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





✅ Correct Answer: 2

Point out the correct statement.





✅ Correct Answer: 4

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





✅ Correct Answer: 1

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





✅ Correct Answer: 2

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





✅ Correct Answer: 2

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





✅ Correct Answer: 3

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





✅ Correct Answer: 2

The MongoDB _________ Console interface does not support Kerberos authentication.





✅ Correct Answer: 2

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





✅ Correct Answer: 2

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





✅ Correct Answer: 2

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





✅ Correct Answer: 3

Point out the wrong statement.





✅ Correct Answer: 2

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





✅ Correct Answer: 2

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





✅ Correct Answer: 3

_______ is used to initiate relica member set.





✅ Correct Answer: 3

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





✅ Correct Answer: 2

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





✅ Correct Answer: 4

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





✅ Correct Answer: 1

Point out the correct statement.





✅ Correct Answer: 4

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





✅ Correct Answer: 3

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





✅ Correct Answer: 1

Point out the wrong statement.





✅ Correct Answer: 1

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





✅ Correct Answer: 2

enableLocalhostAuthBypass is not available using _________ database command.





✅ Correct Answer: 1

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





✅ Correct Answer: 3

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





✅ Correct Answer: 2

Point out the correct statement.





✅ Correct Answer: 4

Grant the user the role using the ________ method.





✅ Correct Answer: 2

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





✅ Correct Answer: 3

Point out the wrong statement.





✅ Correct Answer: 1

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





✅ Correct Answer: 3

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





✅ Correct Answer: 3

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





✅ Correct Answer: 2

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





✅ Correct Answer: 1

The ________ field contains optional custom information about the user.





✅ Correct Answer: 3

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





✅ Correct Answer: 3

Point out the wrong statement.





✅ Correct Answer: 1

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





✅ Correct Answer: 2

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





✅ Correct Answer: 1

Point out the wrong statement.





✅ Correct Answer: 4

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





✅ Correct Answer: 2

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





✅ Correct Answer: 2

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





✅ Correct Answer: 2

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





✅ Correct Answer: 1

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





✅ Correct Answer: 1

Aggregation pipeline was introduced in MongoDB version ______





✅ Correct Answer: 2

Point out the wrong statement.





✅ Correct Answer: 4

_____ calculates aggregate values for the data in a collection.





✅ Correct Answer: 1

Cursors returned from aggregation only supports cursor methods like ______





✅ Correct Answer: 1

Point out the wrong statement.





✅ Correct Answer: 2