Lab: Configuration File, etc folder

Sorry im a bit confused

I don’t see any mention of an ‘etc’ folder in that lab. Where do you see it?

Yes there is a master config file under /etc
cat /etc/mongod.conf


Where and how to store data.

dbPath: /var/lib/mongodb

authorization: enabled

Usually we prepare our own config files
If you are using this make sure the dirs exist and you have permissions to read/write
Also take backup of this file if you intend to edit it