Authentication on a sharded cluster is achieved by…
Check all that apply:
- passing a
--auth
option tomongos
- passing a
--auth
option to eachmongod
- passing a
--auth
option to each mongod and to mongos - enabling internal authentication between members using keyfiles
- 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 tomongos
- There is no
--auth
option formongos
. - 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 tomongos
- There is no
--auth
option for mongos.