Aggregation pipeline was introduced in MongoDB version ______
1.2.1
2. 2.2
3.2.4
4.3.0
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
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
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
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
The MongoDB _________ Console interface does not support Kerberos authentication.
1.TCP
2.TCP
3.HTTPS
4.None of the mentioned
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
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
Cursors returned from aggregation only supports cursor methods like ______
1.cursor.hasNext()
2.cursor.Next()
3.cursor.has()
4. All of the mentioned
Documents enter a multi-stage __________ that transforms the documents into an aggregated result.
1. pipeline
2.pipelineView
3.pipelineUser
4.All of the Mentioned
enableLocalhostAuthBypass is not available using _________ database command.
1.setParameter
2. enableParameter
3.removeParameter
4.None of the mentioned
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
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
Grant the user the role using the ________ method.
1.db.grantRole()
2.db.grantRolesToUser()
3.db.grantToUser()
4.All of the Mentioned
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
Linux systems can store Kerberos authentication keys for a service principal in ______ files.
1. Client
2. Server
3. keytab
4. All of the mentioned
Map-reduce uses custom __________ functions to perform the map and reduce operations.
1.Java
2. Javascript
3. JSON
4.None of the mentioned
MongoDB supports the execution of JavaScript code for certain server-side operations like ______
1. where
2.group
3.mapreduce
4.All of the Mentioned
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
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
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
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
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
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
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
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
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
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
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
Running data aggregation on the ________ instance simplifies application code and limits resource requirements.
1.document
2. mongod
3. mongos
4.All of the Mentioned
The most basic pipeline stages provide __________ that operate like queries.
1. methods
2.filters
3.stored procedure
4. none of the mentioned
The ________ field contains optional custom information about the user.
1.customDataAll
2.OptmData
3.customData
4. All of the mentioned
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
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
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
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
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
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
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
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
Which of the following operation can be optionally used for map reduce?
1. finally
2.final
3. static
4. none of the mentioned
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
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
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
_____ 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
______ are operations that process data records and return computed results.
1.ReplicaAgg
2. SumCalculation
3.Aggregations
4.None of the mentioned
_______ 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
_______ is used to initiate relica member set.
1.rs.rep()
2. rs.init()
3.rs.initiate()
4.None of the mentioned
_______ 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
________ enables a set of internal commands useful for internal testing operations.
1.enableTestAll
2.enableTest
3. enableTestCommands
4.All of the Mentioned