You are on page 1of 2

Courseware (/courses/10gen/M202/2014_April/courseware) Syllabus (/courses/10gen/M202/2014_April/syllabus)

Discussion (/courses/10gen/M202/2014_April/discussion/forum) Wiki (/courses/10gen/M202/2014_April/course_wiki)


Progress (/courses/10gen/M202/2014_April/progress)
M202: MongoDB Advanced Deployment and Operations
Homework: 3.3: Network partition
Suppose you have a 3 member replica set with the primary in Data Center 2 (DC2) and two secondaries in Data Center 1 (DC1). You have
set write concern at w=1.
Now suppose that your application makes three writes to the primary. However, before these writes have been replicated to either of the
secondaries, there is a network partition that prevents communication between DC2 and DC1. The partition lasts for 10 minutes. The
application producing writes is able to see all three members of the replica set during the entire network partition between DC2 and
DC1. No other problems with your system arise during this period.
Which of the following are true about the system during the period of the network partition?
The application will still be able to read data.
The three writes to the primary before the network partition will be replicated to the secondaries when the partition ends.
The primary in DC2 will step itself down when the partition occurs.
An election will occur when the partition ends.
The two secondaries will hold an election when the partition occurs.
The application will still be able to write while the partition is up.
(/)
Hi, dmaketas
Catalog (/courses)

Verify Certification (/verify_certificate)

Blog (http://ed-blog.mongodb.com/)

Help (/help)
MY COURSES (/DASHBOARD)
Products & Services (http://www.mongodb.com/products/mongodb)

Events (http://www.mongodb.com/events)
Partners (http://www.mongodb.com/partners)

Customers (http://www.mongodb.com/customers)
About MongoDB (http://www.mongodb.com/about)

Contact Us (/contact)

Careers (http://www.mongodb.com/careers)
(https://twitter.com/mongodbinc) (http://www.facebook.com/mongodb) (http://www.linkedin.com/company/783611)
(https://plus.google.com/101024085748034940765/posts)
Only reads will be possible while the partition is up.
HIDE ANSWER
Submission deadline has passed.

(http://www.mongodb.com)
2014 MongoDB, Inc. MongoDB, Mongo, and the leaf logo are registered trademarks of MongoDB Inc.
(http://edx.org)

You might also like