Consider the following posts document:
Which of the following queries will return the documents but with only the first two tags in the tags array?
Consider that you have a collection called population which has fields state and city. Which of the following query will calculate the population grouped by state and city?
In order to ensure that you can maintain high availability in the face of server failure, you should implement which of the following?
A collection named products contains the following documents:
{ " _id " : 1, " name " : " Laptop " , " price " : 1500 }
{ " _id " : 2, " name " : " Smartphone " , " price " : 800 }
{ " _id " : 3, " name " : " Tablet " , " price " : 600 }
{ " _id " : 4, " name " : " Monitor " , " price " : 300 }
{ " _id " : 5, " name " : " Headphones " , " price " : 200 }
Given the following query:
db.products.find().sort({ " price " : -1 }).limit(2)
What is the expected output?
Which TWO indicators should an administrator keep an eye on to determine if the storage capacity is nearing its limit?
Which of the tags in a replica set configuration specify the operations to be read from the node with the least network latency?
Which TWO commands can be used to check for all active operations on the current node?
Which of the following needs to be performed prior to initiate backup on a sharded cluster?
Given a replica set with five data-bearing members, suppose the primary goes down with operations in its oplog that have been copied from the primary to only one secondary. Assuming no other problems occur, which of the following describes what is most likely to happen?
To add a new user and enable authentication in MongoDB, which of the following steps need be executed?
A database administrator notices that operations on the qa database are not completing, and have been in progress for longer than expected.
What command can the administrator run to see information on in-progress operations on the qa database?
If you have created a compound index on (A,B, C) which of the following access pattern will not be able to utilize the index?
The________operator can be used to identify an element in the array to be updated without explicitly specifying
the position of the element.
Write the command(s) are correct to enable sharding on a database " testdb " and shard a collection " testCollection " with _id as shard key.
What read preference should your application use if you want to read from the primary under normal circumstances but allow reads from secondaries when a primary is unavailable?
As per the aggregation pipeline optimization concepts, if you have a $sort followed by a $match:
What is the on-premise solution having functionality equivalent to cloud manager?
Which option should be used to update all the documents with the specified condition in the MongoDB query?
Consider that you have a collection called population which has fields state and city. Which of the following query will calculate the population grouped by state and city?
Consider a collection posts which has fields: Jd, post_text, post_author, post_timestamp, post_tags etc. Which of the following query retrieves ONLY the key named post_text from the first document retrieved?
Which of the following are common uses of the mongo shell? Check all that apply
Which of the following is true of the mechanics of replication in MongoDB? Check all that apply.
Which of the following is a valid Replica Set configuration if you want:
1-Have 3 copies of everything
2- That RS3 is never primary
2- That RSI and RS2 can be primary?
You had to see the different configurations, RS3 could be hidden or priority 0 (But not a referee because we need
3 replicas), while RSI and RS2 could NOT have priority 0 or be hidden or anything like that
In a 4-member RS RSO , RSI, RS2 and RS3 + Referee, RSO (primary) falls after some write operations that have
replicated RSI and RS2 (but NOT RS3), who can get up as the new primary?
The configuration comes and in it we see that RS2 has a hidden: true (or a priority: 0, (I don ' t remember)
A MongoDB database administrator is asked to add the privilege find to a role named myRole.
What is the correct syntax for adding this privilege to the role in MongoDB?
What is the replication factor for a replicated cluster with 1 primary, 3 secondaries with one of them hidden. The set also has an arbiter?
What tool do you use to see if you have a problem in the consumption of disk I / 0?
What is the first task that a secondary would perform on being prompted by another secondary for an election?
A MongoDB administrator needs to create a new role with only the read privileges for the products database.
What command should the administrator use?
What command set removes node-1.cluster1.mycompany.local:27017 and node-2.cluster1.mycompany.local:27017 from the replica set, then adds node-1.cluster1.mycompany.local:27017 back to the replica set?
In a replica set, a_________number of members ensures that the replica set is always able to select a primary.
What command will successfully start the mongod daemon with all default settings as a background task?
MongoDB Certified DBA Associate | C100DBA Questions Answers | C100DBA Test Prep | MongoDB Certified DBA Associate Exam (Based on MongoDB 4.4) Questions PDF | C100DBA Online Exam | C100DBA Practice Test | C100DBA PDF | C100DBA Test Questions | C100DBA Study Material | C100DBA Exam Preparation | C100DBA Valid Dumps | C100DBA Real Questions | MongoDB Certified DBA Associate C100DBA Exam Questions