Indexes are typically available in ______ or located sequentially on disk.
1.RAM
2.ROM
3.CMOS
4.None of the mentioned
Answer:1
Posted Date:-2022-01-22 01:10:47
1.selection
2.projection
3. union
4.None of the mentioned
Answer 21. CRUD
2.GRID
3.READ
4.All of the Mentioned
Answer 11.Read operations on sharded clusters are most efficient when directed to a specific shard
2.Sharded clusters allow you to partition a data set among a cluster of mongod instances in a way that is nearly transparent to the application
3. For a sharded cluster, applications issue operations to one of the mongos instances associated with the cluster
4.All of the Mentioned
Answer 41. _id: 1
2._id: 0
3._id: it
4.None of the mentioned
Answer 21._id
2. id
3. id_
4.None of the mentioned
Answer 11. $nine
2.$nin
3. $ain
4.None of the mentioned
Answer 21.mongod
2.mongos
3.mongo
4.mongoc
Answer 11.13
2.16
3.12
4.10
Answer 31.vertical
2.sharded
3.horizontal
4.None of the mentioned
Answer 21.read
2.write
3.truncate
4.All of the Mentioned
Answer 21. timeout
2.wtimeout
3.waittimeout
4.None of the mentioned
Answer 21.$catch
2.$match
3.$batch
4.All of the Mentioned
Answer 21.RAM
2.ROM
3.CMOS
4.None of the mentioned
Answer 11.commit
2.rollback
3. save
4.All of the Mentioned
Answer 21.Hbase
2.Hive
3.Map-reduce
4.None of the mentioned
Answer 31.tables
2.collections
3.rows
4.All of the Mentioned
Answer 21.Secondary indexes allow applications to store a view of a portion of the collection in an efficient data structure
2. MongoDB has full support for secondary indexes
3.Most indexes store an ordered representation of all values of a field or a group of fields
4.All of the Mentioned
Answer 21.Queries specify criteria, or conditions, that identify the documents that MongoDB returns to the clients
2.Write operations, or queries, retrieve data stored in the database
3.The selection limits the amount of data that MongoDB returns to the client over the network
4.All of the Mentioned
Answer 11.Intervening read operations on a document may result in a cursor that returns a document more than once if that document has changed
2.The MongoDB server returns the query results in batches
3.Subsequent batch size is 50 megabytes
4.None of the mentioned
Answer 21. Database is a physical container for collections
2.A single MongoDB server typically has single databases
3.Collection is the equivalent of an RDBMS table
4.None of the mentioned
Answer 21.Indexes cannot enforce uniqueness in collection
2.CRUD stands for create, read, update, and delete
3.CRUD application is the most simplest application
4.All of the Mentioned
Answer 11.sort() modifier sorts the results by age in ascending order
2.Queries in MongoDB return all fields in all matching documents by default
3. To scale the amount of data that MongoDB sends to applications, include a projection in the queries.
4. none of the mentioned
Answer 31.The MongoDB Wire Protocol is a simple socket-based, request-response style protocol
2.For queries that include a sort operation without an index, the server must load all the documents in memory to perform the sort before returning any results
3.Clients communicate with the database server through a regular TCP/IP socket
4. All of the mentioned
Answer 41.When a query does not include a shard key, the mongos can use cluster metadata from the config database to route the queries to shards
2.On larger clusters, scatter gather queries are unfeasible for routine operations
3. Replica sets use read preferences to determine where and how to route read operations to members of the replica set
4. None of the mentioned
Answer 11.Query selectivity refers to how well the query predicate excludes or filters out documents in a collection
2.Query selectivity can determine whether or not queries can use indexes effectively or even use indexes at all
3. More selective queries match a larger percentage of documents
4.All of the Mentioned
Answer 31. Nacknowledged
2.Acknowledgement
3.Acknowledged
4. All of the mentioned
Answer 31.mongo.js
2.mongoc.js
3.mongorc.js
4.All of the Mentioned
Answer 31. sortfind()
2.sortelse()
3.sort()
4. none of the mentioned
Answer 31.db.serverStats()
2.db.serverStatus()
3.db.status()
4.All of the Mentioned
Answer 21. Pascal
2. C++
3. C
4.Java
Answer 31. cursor
2.it
3.next
4.None of the mentioned
Answer 21. strong
2.weak
3. average
4.very strong
Answer 21.Timeout
2. noTimeout
3.Time
4.None of the mentioned
Answer 21.function insertData(dbName, colName, num) { var col = db.getSiblingDB(dbName).getCollection(colName); for (i = 0; i < num; i++) { col.insertData({x:i}); } print(col.count()); }
2.function insertData(dbName, colName, num) { var col = db.getSiblingDB(dbName).getCollection(colName); for (i = 0; i < num; i++) { col.insert({x:i}); } print(col.count()); }
3. insertData(dbName, colName, num) { var col = db.getSiblingDB(dbName).getCollection(colName); for (i = 0; i < num; i++) { col.insert({x:i}); } print(col.count()); }
4.None of the mentioned
Answer 21. $match
2.$project
3.$projectmatch
4. All of the mentioned
Answer 21.$slice
2. $elemMatch
3.$
4.None of the mentioned
Answer 41. findOne()
2.findOne1()
3.selectOne()
4. find()
Answer 41. findOne()
2.findOne1()
3. selectOne()
4.All of the Mentioned
Answer 11.add
2.insert
3. truncate
4.drop
Answer 21.data processing
2. information processing
3.knowledge processing
4.None of the mentioned
Answer 11.read
2.write
3.update
4.delete
Answer 11. db.records.findOne( { “user_id”: { $lt: 42 } }, { “history”: 0 } )
2.db.records.find( { “user_id”: { $lt: 42 } }, { “history”: 0 } )
3.db.records.findOne( { “user_id”: { $lt: 42 } }, { “history”: 1 } )
4.db.records.select( { “user_id”: { $lt: 42 } }, { “history”: 0 } )
Answer 21.insertData("test", "testData", 200)
2. insertData("test", "testData", 400)
3.insertData("test", "testData", 600)
4.All of the Mentioned
Answer 21.cursor.Option()
2.cursor.addOption()
3.cursor.addOptions()
4.All of the Mentioned
Answer 21.Nacknowledged
2. Acknowledgement
3.Acknowledged
4.Unacknowledged
Answer 41.cursor.batchSize(size)
2.cursor.Size(size)
3. cursor.batch(size)
4.All of the Mentioned
Answer 11.Write
2. Read
3.Update
4.None of the mentioned
Answer 11.explainstats()
2. explain()
3.explainall()
4.All of the Mentioned
Answer 21.commitIntervMs
2. commitInterval
3. commitIntervalMs
4.All of the Mentioned
Answer 31.messageLength
2.responseTo
3.requestID
4.All of the Mentioned
Answer 3