Cosmos DB Spark Connector Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Data Movement

What you'll be asked

  1. Which configuration parameter is required in the Spark connector to specify the target Azure Cosmos DB container?
  2. When writing data from Spark to Cosmos DB, what happens if the 'spark.cosmos.write.strategy' is set to 'ItemOverwrite'?
  3. You are experiencing performance bottlenecks during bulk writes to Cosmos DB. Which configuration should you adjust to improve throughput?
  4. Which feature of the Cosmos DB Spark connector allows you to filter data at the source before it is loaded into the Spark executor memory?
  5. You need to process only the incremental changes from a Cosmos DB container in a Spark Structured Streaming job. Which configuration is essential for this?

Answers and explanations come after you submit.