Test your knowledge

Let’s see whether you can answer the following questions correctly:

  1. If we want to store a JSON document in a Cosmos DB SQL API collection, which of the following keys must have a value to provide the required unique identifier:
    1. id
    2. identifier
    3. uniqueId
  2. After a new document is added to a Cosmos DB SQL API collection, which of the following system-generated keys provides a unique addressable URI for the resource:
    1. _selfLink
    2. _selfURI
    3. _self
  3. After a new document is added to a Cosmos DB SQL API collection, which of the following system-generated keys provides a timestamp with the last date and time at which the resource was updated:
    1. _timeStamp
    2. _lastUpdateTS
    3. _ts
  4. We can establish a connection to a Cosmos DB account with: ...

Get Guide to NoSQL with Azure Cosmos DB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.