8.4 Atlas Sample Dataset & Data Explorer

Key Takeaways

  • Objective 5.1 is the only objective in the 2% Tools and Tooling domain, and it tests the Atlas web UI rather than mongosh or the command-line database tools.
  • Load Sample Dataset sits behind the ellipsis menu on the Atlas cluster card, requires Project Owner access, and takes roughly five minutes.
  • The load fails outright and writes no data if any sample database or collection namespace already exists on the cluster.
  • Nine sample databases are installed, all prefixed sample_, including sample_mflix, sample_training, and sample_analytics.
  • Browse Collections opens Data Explorer, whose Filter box accepts ordinary MQL while Project, Sort, Collation, Skip, and Limit live under Options.
Last updated: September 2026

8.4 Atlas Sample Dataset & Data Explorer

The Tools and Tooling domain is only 2% of the MongoDB Associate Developer exam, and it contains exactly one official objective — 5.1: given a scenario, load the Atlas Sample Dataset and then use Data Explorer to find a given first document in a collection. Because it is a single objective, it is also the single easiest domain to sweep, and the one candidates most often skip because they prepared with mongosh and the command-line database tools instead of the Atlas web UI.

Note the scope carefully. The earlier sections of this chapter — mongosh, mongoimport/mongoexport, mongodump/mongorestore, mongostat/mongotop — are genuine developer tooling and appear throughout real MongoDB work, but objective 5.1 is specifically about the Atlas UI. If a Tools question describes clicking through a browser, it is testing this section.


1. Loading the Atlas Sample Dataset

The sample dataset is a curated set of databases that MongoDB ships so that tutorials, courses, and the certification exam can all reference the same known data.

Procedure

  1. Sign in to the Atlas UI and open the project containing your cluster.
  2. On the cluster card in the Clusters (Database) view, open the ellipsis (...) menu.
  3. Choose Load Sample Dataset.
  4. Confirm the dialog. Atlas reports an estimated completion time of about five minutes.

Requirements and Failure Modes

  • You must hold Project Owner access on the project. Organization Owners who are not project members must add themselves to the project first.
  • If any of the sample database or collection namespaces already exist on the cluster, the load fails and no data is loaded at all. It is not a partial or merging operation — this is the failure mode most likely to appear as a scenario stem.
  • The dataset is deliberately small enough to load onto a shared/free-tier cluster, which is why MongoDB's own learning paths assume it is available.

The Nine Sample Databases

DatabaseContents
sample_airbnbVacation-rental listings and reviews
sample_analyticsCustomers, accounts, and transactions
sample_geospatialShipwreck records with GeoJSON coordinates
sample_guidesPlanetary reference data (a tiny starter set)
sample_mflixMovies, comments, users, and theaters
sample_restaurantsRestaurants and neighborhood polygons
sample_suppliesRetail sales transactions
sample_trainingMixed training collections (posts, grades, routes, zips)
sample_weatherdataWeather station observations

sample_mflix and sample_training are the two you should actually browse before exam day — they are the collections MongoDB's own courses query most often, and a scenario is far easier to reason about when you already recognize field names such as title, year, plot, and imdb.rating.

2. Data Explorer: Browsing and Querying in the Atlas UI

Data Explorer is the Atlas UI's built-in document browser. It is the graphical equivalent of find(), and objective 5.1 expects you to be able to drive it.

Opening It

From the Clusters view, click Browse Collections on the cluster card. (Equivalently, open the cluster and select the Collections tab.) The left pane lists every database and, nested under each, its collections with document counts and storage sizes.

The Find Tab

Selecting a collection opens the Find tab, which shows documents in a paginated list. The controls that matter:

  • Filter — a query predicate in exactly the same MQL syntax you would pass to find(). An empty filter, or {}, matches every document.
  • Options — expands to reveal Project, Sort, Collation, Max Time MS, Skip, and Limit. These map one-to-one onto the cursor methods taught in Chapter 2.
  • Insert Document, plus per-document edit, clone, and delete controls.
// Typed into the Data Explorer Filter box — identical MQL to the shell
{ year: { $gte: 2000 }, "imdb.rating": { $gt: 8 } }

// Typed into the Sort box under Options
{ year: 1 }

The other tabs on the same screen are Aggregation (a stage-by-stage pipeline builder with live previews), Schema, Indexes, Search Indexes, and Validation.

Finding "the First Document"

The exam objective is phrased as finding a given first document in a collection, and there is a real subtlety here worth internalizing.

With an empty filter, Data Explorer returns documents in natural order — the order the storage engine happens to return them. Natural order is not a guarantee. It is not insertion order, it is not _id order, and the server may return a different order after updates, deletions, or a chunk migration. Reading the top card off the screen answers "what does this collection look like," but it is not a defined first document.

To make "first" deterministic, supply a sort:

// Filter
{}
// Options -> Sort   (oldest movie first, deterministically)
{ year: 1 }

This is the same rule taught in Chapter 2 for sort, skip, and limit: without an explicit sort, a query's result order is unspecified. Data Explorer does not change that rule; it just puts a form around it.


3. Exam-Day Checklist for the Tools Domain

Only about one item on a 53-question exam comes from this domain, so the goal is speed, not depth:

  1. Load Sample Dataset lives behind the ... menu on the cluster card, not under Connect, not under Project Settings.
  2. Loading requires Project Owner, takes roughly five minutes, and fails outright if a sample namespace already exists.
  3. There are nine sample databases, and every one of them is prefixed sample_.
  4. Browse Collections opens Data Explorer; Connect opens connection strings for mongosh, Compass, and the drivers — a common distractor pair.
  5. The Data Explorer Filter box takes ordinary MQL, and Sort/Project/Skip/Limit live under Options.
  6. Without an explicit sort, the "first" document shown is natural order and is not guaranteed to be stable.
Test Your Knowledge

Which of the following is one of the databases installed by the Atlas Load Sample Dataset action?

A
B
C
D
Test Your Knowledge

A Project Owner clicks Load Sample Dataset on a cluster that already contains a database named sample_mflix. What is the result?

A
B
C
D
Test Your Knowledge

In Data Explorer, a candidate opens sample_mflix.movies with an empty filter and reads the topmost document to answer the question 'what is the first document in this collection?'. Why is that answer not guaranteed to be correct?

A
B
C
D
Test Your Knowledge

Which Atlas UI action opens Data Explorer so that you can browse and filter the documents in a collection?

A
B
C
D
Congratulations!

You've completed this section

Continue exploring other exams