Deprecated command

In the course you are using db.getProfilingLevel(), which is outdated.
db.getProfilingStatus() is the current one.

M312 uses MongoDB server 3.4.2 and python 2.7.8, in a virtual vagrant environment. Currently, version 6 is out there and changes are inevitable.

Yet, discard what is deprecated in the newer version and use those commands as you see in the videos. Make note of differences for future use, not for the course.

PS: mtools has some breaking changes, deviating from the course content and old versions are not in the repository anymore. you need to adapt to this rather than DB changes.