MongoDB Security Questions Answers

Connect with

Authentication on a sharded cluster is achieved by…

Check all that apply:

  1. passing a --auth option to mongos
  2. passing a --auth option to each mongod
  3. passing a --auth option to each mongod and to mongos
  4. enabling internal authentication between members using keyfiles
  5. enabling internal authentication between members using X.509 certificates

Answer

Authentication on a sharded cluster is achieved by…

  • enabling internal authentication between members using keyfiles
  • enabling internal authentication between members using X.509 certificates
  • Authentication on a sharded cluster is enabled by enabling internal authentication. It doesn’t matter if you use keyfiles or X.509 certificates.

Authentication on a sharded cluster is not achieved by…

  • passing a --auth option to mongos
  • There is no --auth option for mongos.
  • passing a –auth option to each mongod
  • This would enable client authentication on each mongod, which would not enable authentication on communication via the mongos.
  • assing a --auth option to each mongod and to mongos
  • There is no --auth option for mongos.

Connect with

Leave a Comment

Your email address will not be published. Required fields are marked *