0
0
MongoDBquery~20 mins

Atlas cluster creation basics in MongoDB - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Atlas Cluster Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding Cluster Tier Selection
When creating an Atlas cluster, which factor primarily determines the cluster tier you should select?
AThe amount of data storage and workload performance needed
BThe color scheme of the Atlas dashboard
CThe number of users logged into the Atlas UI
DThe version of MongoDB installed on your local machine
Attempts:
2 left
💡 Hint
Think about what affects how powerful your cluster needs to be.
query_result
intermediate
2:00remaining
Output of Cluster Creation Status Query
After creating a cluster in Atlas, you run the command to check cluster status. What output indicates the cluster is ready?
MongoDB
atlas clusters describe <clusterName>
A{"stateName": "READY"}
B{"stateName": "CREATING"}
C{"stateName": "IDLE"}
D{"stateName": "DELETING"}
Attempts:
2 left
💡 Hint
Look for the state that means the cluster is fully operational.
📝 Syntax
advanced
2:00remaining
Correct JSON Format for Cluster Configuration
Which JSON snippet correctly defines a cluster configuration with 3 nodes and M10 tier in Atlas?
A{"providerSettings": {"instanceSizeName": "M10"}, "nodes": 3}
B{"providerSettings": {"instanceSizeName": "M10"}, "numNodes": 3}
C{"providerSettings": {"instanceSizeName": "M10"}, "numShards": 3}
D{"providerSettings": {"instanceSizeName": "M10"}, "shards": 3}
Attempts:
2 left
💡 Hint
Atlas uses 'numShards' to specify the number of shards (nodes) in a cluster.
optimization
advanced
2:00remaining
Optimizing Cluster Region Selection
To reduce latency for users in Europe and Asia, which Atlas cluster configuration is best?
ACreate a single-region cluster in North America
BCreate a multi-region cluster with nodes in both Europe and Asia
CCreate separate clusters for Europe and Asia with no replication
DCreate a cluster only in Asia and use VPN for Europe users
Attempts:
2 left
💡 Hint
Think about where the data is stored relative to users.
🔧 Debug
expert
3:00remaining
Identifying Cause of Cluster Creation Failure
You receive an error when creating an Atlas cluster: "Invalid providerSettings: instanceSizeName not supported in selected region." What is the cause?
AThe cluster name contains invalid characters
BThe network access IP whitelist is empty
CThe MongoDB version is incompatible with the cluster tier
DThe chosen cluster tier is not available in the selected cloud provider region
Attempts:
2 left
💡 Hint
Check if the tier is supported where you want to deploy.