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?

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...

February 2, 2021 No Comments READ MORE +

What is the first task that a secondary would perform on being prompted by another secondary for an election?

What is the first task that a secondary would perform on being prompted by another secondary for an election?A . Start the election process for primaryB . Vote for the first secondary so that it would become the next primaryC . Vote for itself and then call for electionD ....

February 1, 2021 No Comments READ MORE +

Which of the following statements are true about the $match pipeline operator? Check all that apply.

Which of the following statements are true about the $match pipeline operator? Check all that apply.A . You should use it early as possible in the pipelineB . It can be used as many time as needed.C . It has a sintax similar to findQ commands.View AnswerAnswer: A,B,C

February 1, 2021 No Comments READ MORE +

What is the output of the following program?

What is the output of the following program?A . 60 sB . 1sC . 100 sD . 100 msView AnswerAnswer: A

January 31, 2021 No Comments READ MORE +

Aggregation Pipelines have a limit of:

Aggregation Pipelines have a limit of:A . 2 MB document and 100 MB RAMB . 16 MB document and 100 MB RAMC . No limit on document and 100 MB RAMD . 2 MB document and no limit on RAMView AnswerAnswer: B

January 31, 2021 No Comments READ MORE +

Which of the following statements are true about the $match pipeline operator? Check all that apply.

Which of the following statements are true about the $match pipeline operator? Check all that apply.A . You should use it early as possible in the pipelineB . It can be used as many time as needed.C . It has a sintax similar to findQ commands.View AnswerAnswer: A,B,C

January 31, 2021 No Comments READ MORE +

What is the maximum size of a MongoDB document?

What is the maximum size of a MongoDB document?A . 2 MBB . 12 MBC . There is no maximum size. It depends on the RAE . 16 MBView AnswerAnswer: D

January 30, 2021 No Comments READ MORE +

Which of the following node is used during election in a replication cluster?

Which of the following node is used during election in a replication cluster?A . primaryB . arbiterC . hiddenD . secondaryView AnswerAnswer: B

January 30, 2021 No Comments READ MORE +

The MongoDB explain() method does not support which of the following verbosity mode:

The MongoDB explain() method does not support which of the following verbosity mode:A . executionStatsB . queryPlannerC . customExecutionStatsD . allPlansExecutionView AnswerAnswer: A

January 30, 2021 No Comments READ MORE +

Which of the following query retrieves ONLY the key named post_text from the first document retrieved?

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?A . db.posts.finOne({},{_id:0, post_text:1})B . db.posts.findOne({post_text: 1})C . db.posts.find({},{_id:Of post_text:1})D . db.posts.finOneĀ«},{post_text:l})View AnswerAnswer: A

January 30, 2021 No Comments READ MORE +