Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124

Access and manage data with the Azure Cosmos DB SQL API SDKs Microsoft Quiz Answers

Get Access and manage data with the Azure Cosmos DB SQL API SDKs Microsoft Quiz Answers

Use the .NET SDK for Azure Cosmos DB SQL API to perform common operations on databases, containers, and items.

This learning path helps prepare you for Exam DP-420: Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB.

Prerequisites:

Before starting this learning path, you should have experience of building cloud applications with Microsoft C# or a similar programming language.

Enroll on Microsoft

Module 1: Implement Azure Cosmos DB SQL API point operations

Write code to create, read, update, and delete items in Azure Cosmos DB SQL API.

Learning objectives:

After completing this module, you’ll be able to:

  • Perform CRUD operations using the SDK
  • Configure TTL for a specific item

Prerequisites:

Before starting this module, you should have experience of building cloud applications with Microsoft C# or a similar programming language.

Quiz 1: Knowledge check

Q1. What parameter[s] are required to read an item in Azure Cosmos DB SQL API?

  • Both an ID and partition key value
  • Only an ID
  • Only a partition key value

Q2. Which method should you use to update an item in Azure Cosmos DB SQL API using the .NET SDK?

  • PatchItemAsync<>
  • UpdateItemAsync<>
  • UpsertItemAsync<>

Q3. Which class contains the methods for Create, Read, Update, and Delete point operations on items in Azure Cosmos DB SQL API?

  • Database
  • Container
  • CosmosClient

Module 2: Perform cross-document transactional operations with the Azure Cosmos DB SQL API

Perform operations on multiple items in single logical units of work.

Learning objectives:

After completing this module, you’ll be able to:

  • Create a transactional batch and review results
  • Implement optimistic concurrency control for an operation

Prerequisites:

Before starting this module, you should have experience of building cloud applications with Microsoft C# or a similar programming language.

Quiz 1: Knowledge check

Q1. What method parameters are required to create a transaction batch using container.CreateTransactionBatch()?

  • Partition Key
  • Partition Key, List of Operations
  • None

Q2. You are using the ItemRequestOptions class to configure a request to enable optimistic concurrency control. Which header should you use to check for an exact value of an _etag?

  • SessionToken
  • IfNoneMatchEtag
  • IfMatchETag

Q3. Which property of the TransactionalBatchResponse returns the HTTP status code indicating success or failure of the transaction?

  • ErrorMessage
  • StatusCode
  • IsSuccessStatusCode

Module 3: Process bulk data in Azure Cosmos DB SQL API

Perform bulk operations on Azure Cosmos DB in bulk from code using the SDK.

Learning objectives:

After completing this module, you’ll be able to:

  • Use C# task asynchronous programming model and “bulk” support in the Azure Cosmos DB SQL API .NET SDK

Prerequisites:

Before starting this module, you should have experience of building cloud applications with Microsoft C# or a similar programming language.

Quiz 1: Knowledge check

Q1. Which property of the CosmosClientOptions class enables the ability to run multiple operations concurrently and transparently at scale?

  • AllowBulkExecution
  • ConnectionMode
  • LimitToEndpoint

Q2. Which one of these statements is considered a best practice when working with the bulk features of the SDK?

  • Stream APIs are not compatible with the bulk features of the SDK.
  • Assume that bulk will save you on actual throughput costs versus individual operations.
  • Configure the partition key for each operation configured in a set of tasks.
Conclusion:

I hope this Access and manage data with the Azure Cosmos DB SQL API SDKs Microsoft Quiz Answers would be useful for you to learn something new from this problem. If it helped you then don’t forget to bookmark our site for more Coding Solutions.

This Problem is intended for audiences of all experiences who are interested in learning about Data Science in a business context; there are no prerequisites.

Keep Learning!

More Coding Solutions >>

LeetCode Solutions

Hacker Rank Solutions

CodeChef Solutions

Leave a Reply

Your email address will not be published. Required fields are marked *