Courseiva
Question 999 of 1,663
Workload-Specific Database DesignmediumMultiple SelectObjective-mapped

DBS-C01 Workload-Specific Database Design Practice Question

A company is migrating an on-premises MongoDB database to Amazon DocumentDB. The current MongoDB workload uses aggregation pipelines with the $lookup stage and geospatial queries. The migration tool reports that some aggregation stages are not supported. Which THREE actions should the company take to address the incompatibilities?

⚠ Common exam trap

Many exam-takers confuse $geoWithin (a query operator) with $geoNear (an aggregation stage), or assume that $graphLookup can be emulated with recursive queries in DocumentDB, which is not supported.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Use $geoNear for geospatial queries as it is supported in DocumentDB.

DocumentDB supports the $geoNear aggregation stage for geospatial queries, making option B a valid action to address incompatibilities. The migration tool flagged unsupported stages, and $geoNear is explicitly supported in DocumentDB for location-based queries, whereas $geoWithin is not available in aggregation pipelines.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Replace $lookup with $geoWithin for location-based queries.

    Why it's wrong here

    $geoWithin is for geospatial, not joins.

  • Use $geoNear for geospatial queries as it is supported in DocumentDB.

    Why this is correct

    DocumentDB supports $geoNear.

  • Convert $graphLookup to use recursive queries in DocumentDB.

    Why it's wrong here

    DocumentDB does not support $graphLookup.

  • Denormalize the data to avoid $lookup by embedding related documents.

    Why this is correct

    Embedding related data eliminates the need for $lookup.

  • Rewrite $lookup stages as application-side joins or use references.

    Why this is correct

    DocumentDB does not support $lookup; application-side joins are needed.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jul 4, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This DBS-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DBS-C01 exam.