Mixing sharding and Replica in MongoDB cluster We know there are two ways to create a mongoDB cluster :-

1.) Sharding

2.) Replication

My question is can we combine both sharding &amp; replication like we have in elastic cluster?
In MongoDB 3.6 and newer, shards must be deployed as a replica set. Replication provides data redundancy and high availability for each shard; sharding enables a collection to be distributed across multiple shards.

For more information see Sharded Cluster Components and the Deploy 
a Sharded Cluster tutorial in the MongoDB documentation.