Test your knowledge

  1. Which of the following methods is an asynchronous method declared in the Microsoft.Azure.Documents.Linq namespace that allows us to execute a query with an aggregate function to compute the total number of elements:
    1. AsCountQuery
    2. Count
    3. CountAsync
  2. Which of the following attributes specify Json.Net that we want to serialize an enum to its string representation:
    1. [JsonConverter(typeof(StringEnumConverter))]
    2. [JsonConverter(typeof(String))]
    3. [JsonConverter(typeof(EnumToString))]
  3. Which of the following methods executes a query to a Cosmos DB document collection with an asynchronous execution and returns a result set based on the MaxItemCount value specified in the FeedOptions instance:
    1. ExecuteNextAsync
    2. AsDocumentQuery

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.