Integrate Azure Cosmos DB SQL API with Azure services Microsoft Quiz Answers

Get Integrate Azure Cosmos DB SQL API with Azure services Microsoft Quiz Answers

Integrate Azure Cosmos DB SQL API with Azure Cognitive Search, Azure Functions, and your own solutions.

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: Consume an Azure Cosmos DB SQL API change feed using the SDK

Process change feed events using the change feed processor in the Azure Cosmos DB SQL API .NET SDK.

Learning objectives:

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

  • Create a change feed processor in the .NET SDK
  • Author a delegate to handle a batch of changes in a client-side application

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 method of the Container class is used to create a new change feed estimator?

  • GetChangeFeedProcessorBuilder<>
  • GetChangeFeedEstimatorBuilder
  • GetChangeFeedIterator<>

Q2. Which method of the ChangeFeedProcessor class should you invoke to start consuming changes from the change feed?

  • GetChangeFeedProcessorBuilder<>
  • StartAsync
  • Build

Module 2: Handle events with Azure Functions and Azure Cosmos DB SQL API change feed

Use Azure Functions bindings to integrate a function with Azure Cosmos DB SQL API.

Learning objectives:

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

  • Create an Azure Function using the Azure Cosmos DB trigger

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. You’re creating an Azure Function to monitor a container for new items and changes to existing items. Which type of binding should you use to start executing the function where there are changes to items?

  • Input binding
  • Trigger binding
  • Output binding

Q2. You have an output binding configured for Azure Cosmos DB SQL API named items. You would like to add multiple items to a container using this binding. Which function method parameter should you use to add more than one item to a container?

  • out Product items
  • IAsyncCollector<Product> items
  • out IEnumerable<Product> items

Q3. When configuring an Azure Cosmos DB SQL API trigger, which of the following settings would be valid?

  • Assign the type to AzureCosmosDBTrigger
  • Set the direction to in.
  • Set the leaseCollectionName to the name of the container that will contain all the new leased documents

Module 3: Search Azure Cosmos DB SQL API data with Azure Cognitive Search

Index Azure Cosmos DB SQL API data with Azure Cognitive Search.

Learning objectives:

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

  • Create an indexer to migrate data from Azure Cosmos DB SQL API to an Azure Cognitive Search index

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. To enable the ability to index changes in Azure Cosmos DB SQL API items, which field should you include in the data source’s SQL query?

  • partitionKey
  • id
  • _ts

Q2. Your Azure Cosmos DB SQL API solution regularly uses a time-to-live value to automatically delete items after a set amount of time. Which strategy should you use to ensure that the deleted items are also deleted in the search index?

  • Configure a soft-delete policy with a tracked column and value
  • No configuration is required, Azure Cognitive Search will automatically remove data from the index
  • Configure a high watermark policy that is mapped to the timestamp (_ts) field
Conclusion:

I hope this Integrate Azure Cosmos DB SQL API with Azure services 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 *