---
title: DP-420 Labs
description: "Lab exercises for DP-420: Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB. Includes Microsoft Learn and Microsoft GitHub labs."
---

**Microsoft Learn:**

:::note
Microsoft Learn Sandboxes require you to bring in your own subscription.
:::

### Create an Azure Cosmos DB for NoSQL account

### Configure throughput for Azure Cosmos DB for NoSQL with the Azure portal

### Migrate existing data using Azure Data Factory

### Connect to Azure Cosmos DB for NoSQL with the SDK

### Configure the Azure Cosmos DB for NoSQL SDK for offline development

### Create and update documents with the Azure Cosmos DB for NoSQL SDK

### Batch multiple point operations together with the Azure Cosmos DB for NoSQL SDK

### Move multiple documents in bulk with the Azure Cosmos DB for NoSQL SDK

### Execute a query with the Azure Cosmos DB for NoSQL SDK

### Paginate cross-product query results with the Azure Cosmos DB for NoSQL SDK

### Enable the Azure Cosmos DB for NoSQL Vector Search feature

### Generate vector embeddings with Azure OpenAI and store them in Azure Cosmos DB for NoSQL

### Build a Generative AI application with Python and Azure Cosmos DB for NoSQL

### Implement RAG with LangChain and Azure Cosmos DB for NoSQL Vector Search

### Review the default index policy for an Azure Cosmos DB for NoSQL container with the portal

### Configure an Azure Cosmos DB for NoSQL container's index policy with the portal

### Process change feed events using the Azure Cosmos DB for NoSQL SDK

### Process Azure Cosmos DB for NoSQL data using Azure Functions

### Search data using Azure Cognitive Search and Azure Cosmos DB for NoSQL

### Measure performance for customer entities

### Exercise advanced modeling patterns

### Connect different regions with the Azure Cosmos DB for NoSQL SDK

### Configure consistency models in the portal and the Azure Cosmos DB for NoSQL SDK

### Connect multi-region write account with the Azure Cosmos DB for NoSQL SDK

### Optimize an Azure Cosmos DB for NoSQL container's index policy for common operations

### Optimize an Azure Cosmos DB for NoSQL container's index policy for a specific query

### Use Azure Monitor to analyze an Azure Cosmos DB for NoSQL account

### Troubleshoot an application using the Azure Cosmos DB for NoSQL SDK

### Recover a database or container from a recovery point

### Store Azure Cosmos DB for NoSQL account keys in Azure Key Vault

### Adjust provisioned throughput using an Azure CLI script

### Create an Azure Cosmos DB for NoSQL container using Azure Resource Manager templates

### Create a stored procedure with the Azure portal

**Microsoft GitHub:**

:::note
Microsoft GitHub labs are series of labs designed to be used in Microsoft Instructor Lead Trainings delivered by Microsoft Certified Trainers where participants also have access to the environment to perform them. This means that for everyone else, it is necessary to bring your own environment to go through them.
:::

**C#:**

### Create lab resource group

### Setup lab environment

### Enable resource providers

### Create an Azure Cosmos DB for NoSQL account

### Configure throughput for Azure Cosmos DB For NoSQL with the Azure portal

### Migrate existing data using Azure Data Factory

### Connect to Azure Cosmos DB for NoSQL with the SDK

### Configure the Azure Cosmos DB for NoSQL SDK for offline development

### Create and update documents with the Azure Cosmos DB for NoSQL SDK

### Batch multiple point operations together with the Azure Cosmos DB for NoSQL SDK

### Move multiple documents in bulk with the Azure Cosmos DB for NoSQL SDK

### Execute a query with the Azure Cosmos DB for NoSQL SDK

### Paginate cross-product query results with the Azure Cosmos DB for NoSQL SDK

### Review the default index policy for an Azure Cosmos DB for NoSQL container with the portal

### Configure an Azure Cosmos DB for NoSQL container’s index policy using the SDK

### Process change feed events using the Azure Cosmos DB for NoSQL SDK

### Process Azure Cosmos DB for NoSQL data using Azure Functions

### Search data using Azure AI Search and Azure Cosmos DB for NoSQL

### Measure performance for customer entities

### Cost of denormalizing data and aggregates and using the change feed for referential integrity

### Connect to different regions with the Azure Cosmos DB for NoSQL SDK

### Configure consistency models in the portal and the Azure Cosmos DB for NoSQL SDK

### Connect to a multi-region write account with the Azure Cosmos DB for NoSQL SDK

### Optimize an Azure Cosmos DB for NoSQL container’s indexing policy for common operations

### Optimize an Azure Cosmos DB for NoSQL container’s index policy for a specific query

### Use Azure Monitor to analyze an Azure Cosmos DB for NoSQL account

### Troubleshoot an application using the Azure Cosmos DB for NoSQL SDK

### Recover a database or container from a recovery point

### Store Azure Cosmos DB for NoSQL account keys in Azure Key Vault

### Adjust provisioned throughput using an Azure CLI script

### Create an Azure Cosmos DB for NoSQL container using Azure Resource Manager templates

### Create a stored procedure with the Azure portal

### Implement and then use user-defined functions with the SDK

**GenAI:**

### Create lab resource group

### Setup lab environment

### Enable resource providers

**JavaScript:**

### Setup lab environment

### Connect to Azure Cosmos DB for NoSQL with the SDK

### Configure the Azure Cosmos DB JavaScript SDK for Offline Development

### Create and update documents with the Azure Cosmos DB for NoSQL SDK

### Batch multiple point operations together with the Azure Cosmos DB for NoSQL SDK

### Execute a query with the Azure Cosmos DB for NoSQL SDK

### Paginate cross-product query results with the Azure Cosmos DB for NoSQL SDK

**Python:**

### Connect to Azure Cosmos DB for NoSQL with the SDK

### Configure the Azure Cosmos DB Python SDK for Offline Development

### Create and update documents with the Azure Cosmos DB for NoSQL SDK

### Batch multiple point operations together with the Azure Cosmos DB for NoSQL SDK

### Execute a query with the Azure Cosmos DB for NoSQL SDK

### Paginate cross-product query results with the Azure Cosmos DB for NoSQL SDK

### Enable Vector Search for Azure Cosmos DB for NoSQL

### Generate vector embeddings with Azure OpenAI and store them in Azure Cosmos DB for NoSQL

### Build a copilot with Python and Azure Cosmos DB for NoSQL

### Implement RAG with LangChain and Azure Cosmos DB for NoSQL Vector Search