DP-420 · Question #116
You plan to create an operational system that will store data in an Azure Cosmos DB Core (SQL) API account. You need to configure the account to meet the following requirements: - Support Spark…
The correct answer is A. Enable Azure Synapse Link for the account. B. Create a container and set the analyticalTTL property to six months. C. Create an Azure Databricks notebook. To support Spark queries and six months of data analysis with pay-per-query analytical compute for Azure Cosmos DB, you must enable Synapse Link, configure containers with an analytical TTL, and use an Azure Synapse Analytics component like Databricks or a linked service for…
Question
You plan to create an operational system that will store data in an Azure Cosmos DB Core (SQL) API account. You need to configure the account to meet the following requirements:
- Support Spark queries.
- Support the analysis of data from the last six months.
- Only pay for analytical compute when running queries.
Which three actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Options
- AEnable Azure Synapse Link for the account.
- BCreate a container and set the analyticalTTL property to six months.
- CCreate an Azure Databricks notebook.
- DCreate an Azure Synapse linked service.
- ECreate a container and set the time to live to six months.
- FCreate an Azure Synapse pipeline.
How the community answered
(42 responses)- A62% (26)
- D21% (9)
- E5% (2)
- F12% (5)
Why each option
To support Spark queries and six months of data analysis with pay-per-query analytical compute for Azure Cosmos DB, you must enable Synapse Link, configure containers with an analytical TTL, and use an Azure Synapse Analytics component like Databricks or a linked service for querying.
Enabling Azure Synapse Link for the Cosmos DB account is fundamental as it allows near real-time analytics over operational data without impacting transactional workloads, supporting Spark queries and the pay-per-query model.
Setting the analyticalTTL property to six months on the container ensures that data is retained in the analytical store for the required duration, allowing analysis of the last six months of data.
Creating an Azure Databricks notebook allows you to write and execute Spark queries against the analytical store connected via Azure Synapse Link, meeting the "Support Spark queries" requirement by providing the necessary compute environment.
Creating an Azure Synapse linked service is a connection step, but it doesn't directly provide the Spark compute environment for running queries; an option like Azure Databricks (C) or a Synapse Spark pool is needed for execution.
Setting the time to live (transactional TTL) to six months would delete documents from the operational store, which is not the requirement; the requirement is to analyze data from the last six months, implying its presence in the analytical store, not its deletion from the transactional store.
Creating an Azure Synapse pipeline orchestrates data movement and transformation, but it doesn't directly enable the analytical store feature or provide the Spark compute environment required for querying.
Concept tested: Azure Synapse Link configuration for Cosmos DB analytics
Source: https://learn.microsoft.com/en-us/azure/cosmos-db/synapse-link
Topics
Community Discussion
No community discussion yet for this question.