суббота, 1 марта 2014 г.

MongoDB. Homework 6.

Всем привет, долго я тут не писал, особо не было времени, да и ждал, пока закончатся on-line курсы MongoDB, так как негоже выкладывать ответы до того, как придут результаты)

Homework: Homework 6.1

Which of the following statements are true about MongoDB replication. Check all that apply.

Homework: Homework 6.2

Let's suppose you have a five member replica set and want to assure that writes are committed to the journal and are acknowledged by at least 3 nodes before you proceed forward. What would be the appropriate settings for w and j?
Let's suppose you have a five member replica set and want to assure that writes are committed to the journal and are acknowledged by at least 3 nodes before you proceed forward. What would be the appropriate settings for w and j?
w="majority", j=1 был правильным

Homework: Homework 6.3

Which of the following statements are true about choosing and using a shard key:

Homework: Homework 6.4

You have a sharded system with three shards and have sharded the collections "grades" in the "test" database across those shards. The output of sh.status() when connected to mongos looks like this:
Which shards would be involved in answering the query?

Homework: Homework 6.5

In this homework you will build a small replica set on your own computer. We will check that it works with validate.py, which you should download from the Download Handout link. 
kjvjkl3290mf0m20f2kjjv - правильный ответ








1 комментарий: