<< Prev Question Next Question >>

Question 68/92

A social media company needs to implement a data model that describes te relationships between users. When loading real data into the system, it turned out that one user has too many contacts to store them in the designated array. Instead of redesigning the entire system what pattern can you use?

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (92q)
Question 1: What is the built-in database called local in MongoDB for?...
Question 2: You have a configuration file for mongod instance called mon...
Question 3: The following capped collection is given: db.createCollectio...
Question 4: Suppose you have the following index on a routes collection:...
Question 5: A collection called players contains the following documents...
Question 6: MongoDB can benefit from adding more RAM to your servers....
Question 7: In which situations can we consider sharding?...
Question 8: Suppose you have a books collection with title field. Which ...
Question 9: Why is MongoDB a NoSQL database?...
Question 10: We have the following indexes: { name: 1, founded_year: 1 } ...
Question 11: How to correctly create a date (new object of Date type) in ...
Question 12: Select all true statements regarding to indexes....
Question 13: Select all true statements about one-to-zillions relationshi...
Question 14: We can use REGEX in our queries in MongoDB - JavaScript regu...
Question 15: Which of the following roles provides minimal privileges nee...
Question 16: Suppose you have a mobile_games collection with the followin...
Question 17: Suppose you have a posts collection of documents in your soc...
Question 18: Select all true statements about the $merge stage....
Question 19: What is MongoDB Compass?
Question 20: Suppose you are connected to mongod instance that is already...
Question 21: Which of the following roles provides the same read-only pri...
Question 22: Which collection method do you need to use to drop a specifi...
Question 23: You have a developers collection with the following document...
Question 24: How to connect to MongoDB with mongod to localhost running o...
Question 25: Select all true statements about MongoDB documents....
Question 26: Suppose you are connected to mongod instance that is already...
Question 27: Select all true statements about elections (replica set)....
Question 28: Given the following example document from an artists collect...
Question 29: Given a movies collection where each document has the follow...
Question 30: Which of the following commands will successfully insert exa...
Question 31: We have an accounts collection with the following document s...
Question 32: Select the method that forces MongoDB to use a specific inde...
Question 33: Where is the MongoDB configuration file usually located?...
Question 34: What data structure is used to store the newly created index...
Question 35: Which of the following methods executes a database command? ...
Question 36: What is the best practice in using the $match operator?...
Question 37: You have the following config file: storage: dbPath: /data/d...
Question 38: Given a movies collection where each document has the follow...
Question 39: Suppose you have a reviews collection in your database and y...
Question 40: What does it command do in the mongo shell?...
Question 41: Which of the following read preference options may not resul...
Question 42: Use case: e-learning platform Which of the following scenari...
Question 43: Given a movies collection where each document has the follow...
Question 44: What stages will cause a merge on the primary shard for a da...
Question 45: Select all true statements about reconfiguring a replica set...
Question 46: Which collection method do you need to use to drop a specifi...
Question 47: Select all true statements regarding to schema validation in...
Question 48: Select all true statements about replication in MongoDB....
Question 49: We have a movies collection with the following document stru...
Question 50: Use case: e-learning platform Which of the following scenari...
Question 51: Which of the following commands will add a collection that i...
Question 52: Data modeling. You are considering the use of nesting or the...
Question 53: Let's consider a one-to-many relationship observed between a...
Question 54: Select all true statement regarding to the MongoDB (BSON, JS...
Question 55: We have the following schema for a movies collection: { _id:...
Question 56: In your database there is a collection named companies with ...
Question 57: Suppose you insert the following documents into companies co...
Question 58: Which of the following actions are granted to the built-in r...
Question 59: The greater the cardinality of a field, the......
Question 60: Select true statements about data modeling in MongoDB....
Question 61: You are working in a team on a certain application in the ga...
Question 62: What do you mean by collection scan during query execution?...
Question 63: Suppose you added the following index to a products collecti...
Question 64: Select all true statements regarding to scaling....
Question 65: Suppose you have a developers collection with the following ...
Question 66: Select all true statements about covered queries....
Question 67: Consider a one-to-one relationship observed between users an...
Question 68: A social media company needs to implement a data model that ...
Question 69: Which cursor method should you use to get information about ...
Question 70: Why is MongoDB using BSON instead of JSON to store data? Sel...
Question 71: Suppose we have database with the following collections: db....
Question 72: Given a companies collection where each document has the fol...
Question 73: How many indexes will the following command create? db.produ...
Question 74: Suppose you have an accounts collection with the following d...
Question 75: There are some special databases in MongoDB that we cannot u...
Question 76: Select all true statements regarding to the insert operation...
Question 77: Given a companies collection where each document has the fol...
Question 78: Which of the following commands will add a collection that i...
Question 79: You have to launch a replica set with three members. For the...
Question 80: Select true statements about the naming convention of collec...
Question 81: There is a gamers collection in your database with the follo...
Question 82: Select all true statements regarding to Aggregation Framewor...
Question 83: What is the built-in database called config in MongoDB for?...
1 commentQuestion 84: Complete the sentence below.
Question 85: What does IOPS stand for in database terminology?...
Question 86: What is MongoDB Charts?
Question 87: Select all true statements regarding to replica sets in Mong...
Question 88: Suppose you have an accounts collection in your database. On...
Question 89: Given the following example document from an artists collect...
Question 90: Select true statements about sorting &amp; indexing performa...
Question 91: In your database there is a movies collection with the follo...
Question 92: Suppose you are connected to mongod instance that is already...