Do some research on how multitenancy applies to MongoDB
The term "software multitenancy" refers to a software architecture in which a single instance of software runs on a server and serves multiple tenants. See more https://en.wikipedia.org/wiki/Multitenancy
For example, in our MariaDB deployment, each Galera cluster hosts multiple mysqld servers running on different ports, each server maintaining multiple databases used by multiple applications (tenants).
There are certain advantages and disadvantages to this architecture:
The goal of this task to evaluate pro and contra for using multi-tenant approach for MongoDB Replica Sets.