1.

Changing the _______ option will change the port that mongod listens for incoming connections on.(a) –shardsrvkey(b) –shardsrv(c) –shard(d) All of the mentionedThis question was addressed to me during a job interview.This intriguing question comes from Cluster Deployment topic in chapter Sharding Concepts, Mechanics and Sharded Cluster of MongoDB

Answer» CORRECT ANSWER is (b) –shardsrv

To elaborate: The single-shard CLUSTER is now a non-sharded replica set that will accept read and write OPERATIONS on the data set.


Discussion

No Comment Found

Related InterviewSolutions