MongoDB.JSON
MongoDB.JSON
"questions": [
{
"question_num": "1",
"question_text": "What is MongoDB?",
"options": {
"a": "A relational database",
"b": "A document-oriented NoSQL database",
"c": "A key-value store",
"d": "A file storage system"
},
"correct_answer": "b"
},
{
"question_num": "2",
"question_text": "Which of the following language is MongoDB written in?",
"options": {
"a": "C",
"b": "C++",
"c": "Javascript",
"d": "All of the mentioned"
},
"correct_answer": "d"
},
{
"question_num": "3",
"question_text": "Which of the following format is supported by MongoDB?",
"options": {
"a": "BSON",
"b": "XML",
"c": "SQL",
"d": "All of the mentioned"
},
"correct_answer": "a"
},
{
"question_num": "4",
"question_text": "Which of the following is true about MongoDB indexes?",
"options": {
"a": "They improve query performance",
"b": "They increase disk usage",
"c": "They can be created on any field",
"d": "All of the mentioned"
},
"correct_answer": "d"
},
{
"question_num": "5",
"question_text": "With what feature does MongoDB support a complete backup
solution and full deployment monitoring?",
"options": {
"a": "MMS",
"b": "AMS",
"c": "CMS",
"d": "DMS"
},
"correct_answer": "a"
},
{
"question_num": "6",
"question_text": "In MongoDB, what is a “collection”?",
"options": {
"a": "A group of tables",
"b": "A group of documents",
"c": "A single document",
"d": "A type of index"
},
"correct_answer": "b"
},
{
"question_num": "7",
"question_text": "How does MongoDB scale horizontally for load balancing
purposes?",
"options": {
"a": "Replication",
"b": "Sharding",
"c": "Partitioning",
"d": "None of the mentioned"
},
"correct_answer": "b"
},
{
"question_num": "8",
"question_text": "Which of the following sorting is not supported by MongoDB?",
"options": {
"a": "heap",
"b": "collection",
"c": "collation",
"d": "none of the mentioned"
},
"correct_answer": "c"
},
{
"question_num": "9",
"question_text": "What type of data storage does MongoDB use?",
"options": {
"a": "Column-based storage",
"b": "Key-value storage",
"c": "Relational table storage",
"d": "Document-based storage"
},
"correct_answer": "d"
},
{
"question_num": "10",
"question_text": "Which of the following is a wide-column store?",
"options": {
"a": "Riak",
"b": "Cassandra",
"c": "Redis",
"d": "MongoDB"
},
"correct_answer": "b"
},
{
"question_num": "11",
"question_text": "Which of the following is web-based client software for
MongoDB?",
"options": {
"a": "BI Studio",
"b": "Fang of Mongo",
"c": "Database Master",
"d": "Mongo3"
},
"correct_answer": "c"
},
{
"question_num": "12",
"question_text": "What command is used to insert a document into a collection in
MongoDB?",
"options": {
"a": "db.collection.put()",
"b": "db.collection.add()",
"c": "db.collection.insertDocument()",
"d": "db.collection.insert หนึ่ง()"
},
"correct_answer": "d"
},
{
"question_num": "13",
"question_text": "Which MongoDB command removes all documents from a
collection without dropping it?",
"options": {
"a": "db.collection.truncate()",
"b": "db.collection.remove({})",
"c": "db.collection.delete()",
"d": "db.collection.drop()"
},
"correct_answer": "b"
},
{
"question_num": "14",
"question_text": "Which of the following tool is similar to the UNIX/Linux top
utility?",
"options": {
"a": "mongofiles",
"b": "mongooplog",
"c": "mongotop",
"d": "mongosniff"
},
"correct_answer": "c"
},
{
"question_num": "15",
"question_text": "Which of the following network analyzer fully supports
MongoDB?",
"options": {
"a": "Suricata",
"b": "Snort",
"c": "Riakshark",
"d": "Wireshark"
},
"correct_answer": "d"
},
{
"question_num": "16",
"question_text": "Which command-line utility is used to import content from a
JSON, CSV, or TSV?",
"options": {
"a": "mongosupport",
"b": "mongorestore",
"c": "mongoimport",
"d": "mongofiles"
},
"correct_answer": "c"
},
{
"question_num": "17",
"question_text": "Which of the following is used for creating a binary export of the
contents of a Mongo database?",
"options": {
"a": "mongofiles",
"b": "mongodump",
"c": "mongoimport",
"d": "mongosupport"
},
"correct_answer": "b"
},
{
"question_num": "18",
"question_text": "What is the purpose of MongoDB’s replication feature?",
"options": {
"a": "To create multiple copies of data for high availability",
"b": "To improve data consistency in queries",
"c": "To backup data to external storage",
"d": "To distribute data across various regions"
},
"correct_answer": "a"
},
{
"question_num": "19",
"question_text": "Which of the following file is not a MongoDB configuration file?",
"options": {
"a": "mongodb.conf",
"b": "mongodb.con",
"c": "mongod.conf",
"d": "none of the mentioned"
},
"correct_answer": "c"
},
{
"question_num": "20",
"question_text": "What is the default port for MongoDB?",
"options": {
"a": "3306",
"b": "8080",
"c": "5432",
"d": "27017"
},
"correct_answer": "d"
},
{
"question_num": "21",
"question_text": "Which is the primary daemon process for the MongoDB
system?",
"options": {
"a": "mongod",
"b": "mongos",
"c": "syspathlogd",
"d": "logpath"
},
"correct_answer": "a"
},
{
"question_num": "22",
"question_text": "What file does the mongo shell load and parse on startup?",
"options": {
"a": "mongoc.js",
"b": "mongorc.js",
"c": "mongo.js",
"d": "all of the mentioned"
},
"correct_answer": "b"
},
{
"question_num": "23",
"question_text": "What is a MongoDB “shard”?",
"options": {
"a": "An index type that speeds up queries",
"b": "A type of collection used for caching",
"c": "A copy of the database used for backup",
"d": "A smaller part of a larger dataset used to distribute data across multiple
servers"
},
"correct_answer": "d"
},
{
"question_num": "24",
"question_text": "Which of the following pipeline is used for aggregation in
MongoDB?",
"options": {
"a": "knowledge processing",
"b": "information processing",
"c": "data processing",
"d": "none of the mentioned"
},
"correct_answer": "c"
},
{
"question_num": "25",
"question_text": "Which of the following is used to avoid the repetition of data in
MongoDB schema?",
"options": {
"a": "Cursor",
"b": "Collectors",
"c": "DeReferences",
"d": "References"
},
"correct_answer": "d"
},
{
"question_num": "26",
"question_text": "Which of the following statement is incorrect about documents in
MongoDB?",
"options": {
"a": "The field names cannot contain the null character",
"b": "The field names cannot contain the dot (.) character",
"c": "The field names cannot start with the dollar sign ($) character",
"d": "None of the mentioned"
},
"correct_answer": "d"
},
{
"question_num": "27",
"question_text": "MongoDB documents are composed of field-and-value pairs
and have the following structure?",
"options": {
"a": "field1: value1",
"b": "field1: value1;",
"c": "field1:; value1",
"d": "none of the mentioned"
},
"correct_answer": "a"
},
{
"question_num": "28",
"question_text": "Which of the following statements is true about MongoDB’s
schema design?",
"options": {
"a": "MongoDB only supports simple data types",
"b": "MongoDB enforces primary keys on all documents",
"c": "MongoDB requires a fixed schema for all collections",
"d": "MongoDB collections have no fixed schema, allowing flexible document
structures"
},
"correct_answer": "d"
},
{
"question_num": "29",
"question_text": "What does BSON stand for in MongoDB?",
"options": {
"a": "Binary JSON",
"b": "Binary Serialized Object Notation",
"c": "Basic Standard Object Notation",
"d": "Binary Structure Object Network"
},
"correct_answer": "a"
},
{
"question_num": "30",
"question_text": "Which of the following best describes MongoDB’s data storage
format?",
"options": {
"a": "Flat files",
"b": "JSON-like documents",
"c": "Key-value pairs",
"d": "Rows and columns"
},
"correct_answer": "b"
},
{
"question_num": "31",
"question_text": "Which of the following command returns quickly and does not
impact MongoDB performance?",
"options": {
"a": "dbStats",
"b": "db.stats()",
"c": "db.serverStatus()",
"d": "none of the mentioned"
},
"correct_answer": "c"
},
{
"question_num": "32",
"question_text": "Which of the following should be avoided with MongoDB
Deployments?",
"options": {
"a": "RAID-0",
"b": "RAID-7",
"c": "RAID-10",
"d": "RAID-5"
},
"correct_answer": "a"
},
{
"question_num": "33",
"question_text": "Which of the following is especially important in Sharded
Clusters?",
"options": {
"a": "NTP",
"b": "SSD",
"c": "NSS",
"d": "STP"
},
"correct_answer": "a"
},
{
"question_num": "34",
"question_text": "Which of the following provides information on the MongoDB
instance?",
"options": {
"a": "serverInfo",
"b": "executeStats",
"c": "queryPlanner",
"d": "none of the mentioned"
},
"correct_answer": "a"
},
{
"question_num": "35",
"question_text": "Which of the following method is used for managing users?",
"options": {
"a": "db.User()",
"b": "db.superuser()",
"c": "db.createUser()",
"d": "none of the mentioned"
},
"correct_answer": "c"
},
{
"question_num": "36",
"question_text": "Which of the following authentication methods is used by default
by MongoDB?",
"options": {
"a": "LDAP",
"b": "SCRAM-SHA-1",
"c": "MONGODB-CR",
"d": "None of the mentioned"
},
"correct_answer": "b"
},
{
"question_num": "37",
"question_text": "If a .mongorc.js file exists, what file will the mongo shell evaluate
before starting?",
"options": {
"a": ".mongorc.js",
"b": ".mongo.js",
"c": ".mongorc.jscript",
"d": "all of the mentioned"
},
"correct_answer": "a"
},
{
"question_num": "38",
"question_text": "For which server-side operations does MongoDB support the
execution of JavaScript code?",
"options": {
"a": "group",
"b": "mapreduce",
"c": "where",
"d": "all of the mentioned"
},
"correct_answer": "d"
},
{
"question_num": "39",
"question_text": "Which of the following database commands is used for the
mapreduce function?",
"options": {
"a": "redmap",
"b": "mapReduce",
"c": "mapperRed",
"d": "none of the mentioned"
},
"correct_answer": "b"
},
{
"question_num": "40",
"question_text": "Which of the following stages cannot appear multiple times in a
pipeline?",
"options": {
"a": "$reg",
"b": "$out",
"c": "$regex",
"d": "$match"
},
"correct_answer": "d"
},
{
"question_num": "41",
"question_text": "What type of field does MongoDB support for creating user-
defined ascending or descending indexes?",
"options": {
"a": "Non Unique",
"b": "Single",
"c": "Compound",
"d": "None of the mentioned"
},
"correct_answer": "b"
},
{
"question_num": "42",
"question_text": "Which of the following methods is used to verify whether
MongoDB used index intersection?",
"options": {
"a": "explain()",
"b": "intersect()",
"c": "analyze()",
"d": "none of the mentioned"
},
"correct_answer": "a"
},
{
"question_num": "43",
"question_text": "Which of the following GeoJSON objects is not supported in
MongoDB?",
"options": {
"a": "Point",
"b": "MultiPoint",
"c": "None of the mentioned",
"d": "LineString"
},
"correct_answer": "c"
}
]
}