Azure Cosmos DB for Predictive Analytics

AZ-900 By islever Editorial Last updated

Describe Azure compute and networking services

Short answer

B Azure Cosmos DB is a database service, not a platform for building, testing, or deploying predictive analytics solutions.

Question

Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if
the solution satisfies the requirements.
You are required to deploy an Artificial Intelligence (AI) solution in Azure.
You want to make sure that you are able to build, test, and deploy predictive analytics for the solution.
Solution: You should make use of Azure Cosmos DB.
Does the solution meet the goal?
  1. Yes
  2. No Correct Answer

Key Takeaways

The question tests the distinction between database storage and machine learning platforms, with the common trap being the assumption that all AI data should use NoSQL databases.

This page clarifies that Azure Cosmos DB is not suitable for building predictive analytics. It establishes that Azure Machine Learning is the correct service for this task.

Common mistake: Learners often choose 'Yes' because they associate AI with big data storage like Cosmos DB, ignoring that ML requires compute resources for model training.

Expert Analysis

Why the Answer Is Correct

The solution does not meet the goal because Azure Cosmos DB is a globally distributed, multi-model NoSQL database service designed for storing and retrieving data at high speed. It is not a platform for building, testing, or deploying predictive analytics models. The correct Azure service for these tasks is Azure Machine Learning (or previously Machine Learning Studio), which provides tools for creating and managing machine learning workflows.

Why the Other Options Are Wrong

Option A ('Yes') is incorrect because Cosmos DB lacks the computational infrastructure and algorithmic libraries required for predictive analytics. It serves as a data source or sink but does not perform the analysis itself. Confusing storage capabilities with processing capabilities is a common error in cloud architecture design.

Community Comment Notes

Community consensus strongly supports Option B, noting that Cosmos DB is for data storage while Machine Learning services handle the analytics. As user sudheerdhawangis noted, "AI Fits with ML not with Cosmos DB." Another commenter emphasized that Cosmos DB offers single-digit millisecond response times, highlighting its role as a fast database rather than an analytics engine.

Exam Strategy

Always distinguish between data storage services (like Cosmos DB, Blob Storage) and compute/AI services (like Azure ML, Cognitive Services). When asked about building or deploying models, look for ML-specific keywords, not database names.

Frequently Asked Questions

Why is Azure Cosmos DB not used for predictive analytics?

Cosmos DB is a NoSQL database for storing and retrieving data. It does not have built-in tools to train or deploy machine learning models.

What Azure service should I use for predictive analytics?

Use Azure Machine Learning to build, test, and deploy predictive models. It provides the necessary compute and algorithmic frameworks.

More AZ-900 FAQ →

Discussion 29 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 29

  1. sudheerdhawangis 👍 145
    Machine Learning Studio (classic) is a drag-and-drop tool you can use to build, test, and deploy predictive analytics solutions. Azure Cosmos DB is a fully managed NoSQL database for modern app development. AI Fits with ML not with Cosmos DB so ANs B
  2. iwarakorn 👍 69
    Answer is NO. Azure Cosmos DB is a fully managed NoSQL database for modern app development. Single-digit millisecond response times, and automatic and instant scalability, guarantee speed at any scale.
  3. BeauChateau 👍 15
    B. No The solution does not meet the goal. Azure Cosmos DB is a globally distributed, multi-model database service that can be used to store and retrieve data for various use cases. However, it is not specifically designed for building, testing, and deploying predictive analytics solutions. To build, test, and deploy predictive analytics solutions in Azure, you should make use of Azure Machine Learning, which is a cloud-based service that provides a platform for building and deploying machine learning models. Azure Machine Learning supports a wide range of AI and machine learning scenarios, including predictive analytics. It provides a variety of tools and frameworks, including Jupyter notebooks, Python, R, and SQL, to help data scientists build, test, and deploy machine learning models. Therefore, the recommended solution should be to use Azure Machine Learning instead of Azure Cosmos DB to meet the goal of building, testing, and deploying predictive analytics for the AI solution.
  4. AntonioTech 👍 6
    The answer is B. No Azure Cosmos DB is a globally distributed, multi-model database service, and while it is a powerful solution for managing and querying data, it is not specifically designed for building, testing, and deploying predictive analytics models. For building, testing, and deploying predictive analytics models, you would typically use machine learning services and platforms provided by Azure, such as Azure Machine Learning. Azure Machine Learning provides tools and services specifically designed for creating, training, testing, and deploying machine learning models, including predictive analytics models. So, the solution of using Azure Cosmos DB does not meet the goal of building, testing, and deploying predictive analytics for the AI solution.
  5. BinuRaj 👍 6
    Answer is No. Machine Learning Studio (classic) is a drag-and-drop tool you can use to build, test, and deploy predictive analytics solutions. https://docs.microsoft.com/bs-cyrl-ba/azure/machine-learning/classic/
Show 24 more comments
  1. Meesquared 👍 4 Answered B
    Azure Cosmos DB is a NoSQL database service for storing and retrieving data globally with low latency. It is not used for building, testing, or deploying predictive analytics models. 👉 For AI and predictive analytics, you would use Azure Machine Learning or Azure Cognitive Services, not Cosmos DB. ✅ Correct answer: No, the solution does NOT meet the goal.
  2. elmi108 👍 3
    No, the solution does not meet the goal. Azure Cosmos DB is not the appropriate service for building, testing, and deploying predictive analytics for an AI solution. You should consider Azure Machine Learning or Azure Databricks for these purposes
  3. AlbertKwan 👍 2
    Support for Machine Learning Studio (classic) will end on 31 August 2024. We recommend you transition to Azure Machine Learning by that date. Beginning 1 December 2021, you will not be able to create new Machine Learning Studio (classic) resources. Through 31 August 2024, you can continue to use the existing Machine Learning Studio (classic) resources. ML Studio (classic) documentation is being retired and may not be updated in the future.
  4. omsdigital 👍 2 Answered B
    Azure Cosmos DB is a NoSQL database service designed for high performance, scalability, and global distribution. It's a fully managed service, meaning Azure handles all the infrastructure, scaling, and maintenance for you. Schema-less: This makes it ideal for applications where the data structure might change frequently or isn't strictly defined (e.g., JSON-based storage).
  5. descentguy2021 👍 2 Answered B
    For AI and predictive analytics, only Azure Machine Learning or Azure Cognitive Services are recommended, not Cosmos DB, which is a fully managed NoSQL database for modern app development.
  6. rishi2141 👍 2 Answered B
    it is not specifically geared towards building, testing, and deploying predictive analytics. For AI and predictive analytics, you should consider using Azure Machine Learning.
  7. Vish1000 👍 2 Answered B
    Machine Studio is used to build, test and deploy predictive analytics solutions.
  8. intentando 👍 2 Answered B
    https://learn.microsoft.com/es-es/azure/cosmos-db/introduction
  9. Georgess 👍 2
    Machine Learning Studio = predictive
  10. CaloyB_IT 👍 1 Answered B
    Azure Cosmos DB is a globally distributed NoSQL database service. While it is useful for storing and accessing large amounts of data with low latency, it does not provide tools for building, testing, or deploying predictive analytics or machine learning models. To meet the goal of building, testing, and deploying predictive analytics, a more appropriate solution would be: Azure Machine Learning: This is a cloud-based platform designed specifically for building, training, testing, and deploying machine learning models and predictive analytics. Conclusion: ❌ Azure Cosmos DB is not suitable for the stated goal. ✅ You should use Azure Machine Learning to meet the goal.
  11. Harshmr 👍 1 Answered B
    It is not used to build, test, or deploy predictive analytics or AI models. while azre machine learning:Build, train, deploy, and manage machine learning models
  12. she_hulk 👍 1
    Only if Azure Cosmos DB is used with Azure Synapse Link the goal of building, testing, and deploying predictive analytics for AI solution will be met.
  13. kahla 👍 1 Answered B
    You need to deploy an Artificial Intelligence (AI) solution on Azure. The goal is to build, test, and deploy predictive analytics.
  14. Mahanad 👍 1 Answered B
    Azure Machine Learning is the appropriate service for building, testing, training, and deploying predictive analytics models.
  15. 142239f 👍 1 Answered B
    Azure Cosmos DB is a fully managed NoSQL data storage . In this reason Answer is No and the solution does not meet the goal.
  16. deyson 👍 1 Answered B
    No, Azure Cosmos DB is not dedicated for deployment of AI solutions, can only be a part of them though
  17. AlekksMaciel 👍 1 Answered B
    Azure Cosmos DB is a fully managed NoSQL database for modern app development. so the answer is no
  18. arjunyv2022 👍 1 Answered B
    Cosmos DB is a database service, not an AI solution, the given solution does not meet the goal.
  19. LePastore 👍 1 Answered B
    No, because Azure Cosmos DB is used to fully manage data across multiple azure regions.
  20. Praneethveda 👍 1 Answered B
    Azure Cosmos DB is a fully managed NoSQL database for modern app development.
  21. Said Ismail 👍 1 Answered B
    Azure cosmos DB is a fully managed NoSQL database for modern app development
  22. Ahmed_Root 👍 1 Answered B
    there is not any obligation with cosmosDB. it is a distributed database
  23. Birdwar 👍 1 Answered B
    Azure Cosmos DB is a fully managed NoSQl data base. So it is no
  24. Rohitbmenon 👍 1
    NO is the right answer

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Practice All AZ-900 Questions

Access 90 questions with complete answers and detailed explanations.

View Full AZ-900 Practice Test →

← Back to AZ-900 Study Guide