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

Question:
 If your storage system does not support snapshots, you can copy the files directly using _____

1.cp

2. copy

3. snap

4.None of the mentioned

Posted Date:-2022-01-24 07:10:20


Question:
 In the mongo shell, you can access the creation time of the ObjectId, using the ______ method.

1. getTime()

2.getTimestamp()

3.Timestamp()

4.None of the mentioned

Posted Date:-2022-01-24 06:53:42


Question:
 Point out the correct statement.

1.Journal must reside on the same logical volume as the other MongoDB data files

2. To get a consistent snapshot of a sharded system, you must disable the balancer

3.Backups produced by copying the underlying data do not support point in time recovery

4.All of the Mentioned

Posted Date:-2022-01-24 07:09:02


Question:
 To get a correct snapshot of a running mongod process, you must have _________ enabled.

1.journaling

2.replication

3.MMS

4.All of the Mentioned

Posted Date:-2022-01-24 07:08:12


Question:
 To store documents larger than the maximum size, MongoDB provides the _______ API.

1.Grid

2.MMS

3.GridFS

4. none of the mentioned

Posted Date:-2022-01-24 07:03:22


Question:
 User-defined indexes on multiple fields is called ______

1.composite index

2. secondary index

3.compound index

4.None of the mentioned

Posted Date:-2022-01-24 07:06:05


Question:
 Which of the field is reserved for use as a primary key?

1._id

2. _uid

3._uuid

4.All of the Mentioned

Posted Date:-2022-01-24 06:56:09


Question:
 Which of the following data structures are documents in MongoDB?

1.All database records

2. Query selectors

3.Update definitions

4. All of the mentioned

Posted Date:-2022-01-24 07:04:43


Question:
A ____________ data model with embedded data combines all related data for a represented entity in a single document.

1. normalized

2.denormalized

3.non relational

4.relational

Posted Date:-2022-01-24 06:42:57


Question:
An application communicates with MongoDB by way of a client library, called ____

1.Driver

2.Parent

3.Rank

4.None of the mentioned

Posted Date:-2022-01-24 07:05:37


Question:
BSON is a binary representation of ________ documents.

1.JSON

2.XML

3. JScript

4.All of the Mentioned

Posted Date:-2022-01-24 07:01:56


Question:
By default GridFS limits chunk size to ______ k.

1.225

2.255

3.256

4.None of the mentioned

Posted Date:-2022-01-24 06:47:35


Question:
Each data type has a corresponding number that can be used with the _______ operator to query documents by BSON type.

1.$type

2. $server

3.$agent

4.None of the mentioned

Posted Date:-2022-01-24 06:52:27


Question:
Each document in the __________ collection represents a distinct chunk of a file as represented in the GridFS store.

1.chunks

2.files

3.bson

4. none of the mentioned

Posted Date:-2022-01-24 06:49:12


Question:
GridFS uses a _________ index on the chunks collection for the files_id and n fields.

1. unique

2.single

3. non unique

4.None of the mentioned

Posted Date:-2022-01-24 06:49:37


Question:
If your driver has a version number of 2.9.1, What is the major version?

1. 1

2. 2

3.9

4.None of the mentioned

Posted Date:-2022-01-24 07:06:30


Question:
Index keys that are of the _______ type are more efficiently stored in the index.

1.Materialized Paths

2.BinData

3. String

4.None of the mentioned

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


Question:
MongoDB documents are composed of field-and-value pairs and have the following structure?

1.field1:; value1

2.Field1: value1;

3. field1: value1

4.None of the mentioned

Posted Date:-2022-01-24 07:02:28


Question:
MongoDB represents queries as ___________ objects.

1.BSON

2. JSON

3.GSON

4. none of the mentioned

Posted Date:-2022-01-24 06:48:50


Question:
MongoDB uses the ________ notation to access the elements of an array and to access the fields of an embedded document.

1.Dot

2.Array

3.Nested Sets

4.None of the mentioned

Posted Date:-2022-01-24 07:04:10


Question:
Object_Id is similar to _________ key in Relational Databases.

1. primary

2. secondary

3. composite

4.All of the Mentioned

Posted Date:-2022-01-24 06:55:35


Question:
Point out the correct statement.

1.In practice, the documents in a collection share a different structure

2.Data in MongoDB has a flexible schema

3.The key challenge in data modeling is balancing the needs of the application, the performance characteristics of the database engine, and the data retrieval patterns

4.None of the mentioned

Posted Date:-2022-01-24 06:41:26


Question:
Point out the correct statement.

1.GridFS uses two collections to store files

2.You cannot perform range queries on files stored through GridFS

3.Applications that handle temporal and spatial data often require capturing fractional units of currency

4. All of the mentioned

Posted Date:-2022-01-24 06:47:06


Question:
Point out the correct statement.

1.ObjectIds are small, likely unique, fast to generate, and ordered

2.ObjectIds are large, likely unique, and ordered

3.ObjectIds values consists of 18-byte

4.All of the Mentioned

Posted Date:-2022-01-24 06:51:42


Question:
Point out the correct statement.

1.MongoDB stores chunks on disk in the XML serialization format

2. MongoDB stores documents on disk in the BSON serialization format

3.MongoDB stores documents on RAM in the JSON serialization format

4.All of the Mentioned

Posted Date:-2022-01-24 07:01:16


Question:
Point out the correct statement.

1. Update definitions define what fields to modify during an update

2.Query specifications, which define what fields to index

3.Index selectors, which define what records to select for read, update, and delete operations

4. All of the mentioned

Posted Date:-2022-01-24 07:05:14


Question:
Point out the wrong statement.

1.he key decision in designing data models for MongoDB applications revolves around the structure of documents and how the application represents relationships between data

2.There are two tools that allow applications to represent these relationships: references and embedded documents

3.When designing data models, always consider the application usage of the data (i.e. queries, updates, and processing of the data) as well as the inherent structure of the data itself

4.All of the Mentioned

Posted Date:-2022-01-24 06:42:27


Question:
Point out the wrong statement.

1. Chunks in the context of GridFS is related to the use of the term chunks in the context of sharding

2.The default chunk size changed from 256k to 255k

3.If you need to query the database for exact, mathematically valid matches, use Ambiguity Precision

4.None of the mentioned

Posted Date:-2022-01-24 06:48:27


Question:
Point out the wrong statement.

1. BSON Date is a 32-bit integer that represents the number of milliseconds

2.The BSON timestamp type is for internal MongoDB use

3. If you need to query the database for exact, mathematically valid matches, use Ambiguity Precision

4.None of the mentioned

Posted Date:-2022-01-24 06:52:58


Question:
Point out the wrong statement.

1. The field names cannot start with the dollar sign ($) character

2. The field names cannot contain the dot (.) character

3.The field names cannot contain the null character

4.None of the mentioned

Posted Date:-2022-01-24 06:56:37


Question:
Point out the wrong statement.

1.Some documents created by internal MongoDB processes may have duplicate fields

2. no MongoDB process will ever add duplicate fields to an existing user document

3.The maximum BSON document size is 16 megabytes

4.None of the mentioned

Posted Date:-2022-01-24 07:02:55


Question:
Point out the wrong statement.

1.MongoDB Cloud Manager Backup offers point in time recovery of MongoDB replica sets

2. MongoDB Cloud Manager continually backs up MongoDB replica sets

3.MMS achieves point in time recovery by storing oplog data

4. none of the mentioned

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


Question:
The $rename operator logically performs a _______ of both the old name and the new name.

1.$unset

2. $set

3.$Nested

4.None of the mentioned

Posted Date:-2022-01-24 07:07:15


Question:
The GridFS index allows efficient retrieval of __________ using the files_id and n values.

1.chunks

2.files

3.bson

4.None of the mentioned

Posted Date:-2022-01-24 06:50:40


Question:
The ___ field contains the sequence number of the chunk.

1.x

2.array

3.field

4.none of the above

Posted Date:-2022-01-24 06:50:01


Question:
The ______ field is always the first field in the document.

1._id

2.id

3.Ob_id

4.None of the mentioned

Posted Date:-2022-01-24 06:58:08


Question:
The _______ tool reads data from a MongoDB database and creates high fidelity BSON files.

1.mdump

2.mongodump

3.mongod

4.All of the Mentioned

Posted Date:-2022-01-24 07:09:44


Question:
The _________ tool can populate a MongoDB database with the data from these BSON files.

1.mongostore

2.mongorestore

3.mongod

4.None of the mentioned

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


Question:
The __________ JavaScript shell and the MongoDB language drivers translate between BSON and the language-specific document representation.

1.mongod

2.mongo

3. iscript

4. none of the mentioned

Posted Date:-2022-01-24 07:00:32


Question:
There is _________ byte counter in BSON, starting with a random value.

1.2

2.3

3.4

4.None of the mentioned

Posted Date:-2022-01-24 06:53:19


Question:
To ensure functioning replication, do not store values that are of the _______ regular expression type in the _id field.

1. JSON

2.XML

3. JScript

4.None of the mentioned

Posted Date:-2022-01-24 06:57:24


Question:
Updates that include _________ of field names may result in the reordering of fields in the document.

1.Renaming

2.Joining

3.Nesting

4.None of the mentioned

Posted Date:-2022-01-24 07:06:54


Question:
When you query a GridFS store for a file, the _______ will reassemble the chunks as needed.

1.client

2.Server

3. Agent

4.None of the mentioned

Posted Date:-2022-01-24 06:47:57


Question:
Which of the following data type is depreciated?

1.Double

2. String

3.Object

4.Undefined

Posted Date:-2022-01-24 06:52:05


Question:
Which of the following query is used to generate a new ObjectId, use the ObjectId() constructor with no argument?

1. x = ObjectIdAdd()

2.x = addObjectId()

3. x = ObjectId()

4.None of the mentioned

Posted Date:-2022-01-24 06:59:40


Question:
____ is a binary serialization format used to store documents and make remote procedure calls in MongoDB.

1.BSON

2.GridFS

3.JSON

4.None of the mentioned

Posted Date:-2022-01-24 06:51:13


Question:
____ returns the JavaScript representation in the form of a string literal.

1. toStringJava()

2. toString()

3. String()

4. none of the mentioned

Posted Date:-2022-01-24 06:58:57


Question:
_____ is a specification for storing and retrieving files that exceed the BSON-document size limit of 16MB.

1.FSpec

2.GridFS

3.Grid

4.None of the mentioned

Posted Date:-2022-01-24 06:45:57


Question:
_____ store the relationships between data by including links or references from one document to another.

1. Capped

2. Embedded

3. External

4. References

Posted Date:-2022-01-24 06:40:56


Question:
_________ documents capture relationships between data by storing related data in a single document structure.

1.Capped

2.Embedded

3.External

4. Internal

Posted Date:-2022-01-24 06:41:57


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!