This repository contains the hands-on lab exercises for Microsoft course DP-420 Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB and the equivalent self-paced modules on Microsoft Learn. The exercises are designed to accompany the learning materials and enable you to practice using the technologies they describe.
📝 To complete these exercises, you’ll require a Microsoft Azure subscription. You can sign up for a free trial at https://azure.microsoft.com.
Labs
Module | Lab |
---|---|
Setup | Create lab resource group |
Setup | Setup lab environment |
Setup | Enable resource providers |
Module 1 - Get started with Azure Cosmos DB for NoSQL | Create an Azure Cosmos DB for NoSQL account |
Module 2 - Plan and implement Azure Cosmos DB for NoSQL | Configure throughput for Azure Cosmos DB For NoSQL with the Azure portal |
Module 2 - Plan and implement Azure Cosmos DB for NoSQL | Migrate existing data using Azure Data Factory |
Module 3 - Connect to Azure Cosmos DB for NoSQL with the SDK | Connect to Azure Cosmos DB for NoSQL with the SDK |
Module 3 - Connect to Azure Cosmos DB for NoSQL with the SDK | Configure the Azure Cosmos DB for NoSQL SDK for offline development |
Module 4 - Access and manage data with the Azure Cosmos DB for NoSQL SDKs | Create and update documents with the Azure Cosmos DB for NoSQL SDK |
Module 4 - Access and manage data with the Azure Cosmos DB for NoSQL SDKs | Batch multiple point operations together with the Azure Cosmos DB for NoSQL SDK |
Module 4 - Access and manage data with the Azure Cosmos DB for NoSQL SDKs | Move multiple documents in bulk with the Azure Cosmos DB for NoSQL SDK |
Module 5 - Execute queries in Azure Cosmos DB for NoSQL | Execute a query with the Azure Cosmos DB for NoSQL SDK |
Module 5 - Execute queries in Azure Cosmos DB for NoSQL | Paginate cross-product query results with the Azure Cosmos DB for NoSQL SDK |
Module 6 - Define and implement an indexing strategy for Azure Cosmos DB for NoSQL | Review the default index policy for an Azure Cosmos DB for NoSQL container with the portal |
Module 6 - Define and implement an indexing strategy for Azure Cosmos DB for NoSQL | Configure an Azure Cosmos DB for NoSQL container’s index policy using the SDK |
Module 7 - Integrate Azure Cosmos DB for NoSQL with Azure services | Process change feed events using the Azure Cosmos DB for NoSQL SDK |
Module 7 - Integrate Azure Cosmos DB for NoSQL with Azure services | Process Azure Cosmos DB for NoSQL data using Azure Functions |
Module 7 - Integrate Azure Cosmos DB for NoSQL with Azure services | Search data using Azure AI Search and Azure Cosmos DB for NoSQL |
Module 8 - Implement a data modeling and partitioning strategy for Azure Cosmos DB for NoSQL | Measure performance for customer entities |
Module 8 - Implement a data modeling and partitioning strategy for Azure Cosmos DB for NoSQL | Cost of denormalizing data and aggregates and using the change feed for referential integrity |
Module 9 - Design and implement a replication strategy for Azure Cosmos DB for NoSQL | Connect to different regions with the Azure Cosmos DB for NoSQL SDK |
Module 9 - Design and implement a replication strategy for Azure Cosmos DB for NoSQL | Configure consistency models in the portal and the Azure Cosmos DB for NoSQL SDK |
Module 9 - Design and implement a replication strategy for Azure Cosmos DB for NoSQL | Connect to a multi-region write account with the Azure Cosmos DB for NoSQL SDK |
Module 10 - Optimize query and operation performance in Azure Cosmos DB for NoSQL | Optimize an Azure Cosmos DB for NoSQL container’s indexing policy for common operations |
Module 10 - Optimize query and operation performance in Azure Cosmos DB for NoSQL | Optimize an Azure Cosmos DB for NoSQL container’s index policy for a specific query |
Module 11 - Monitor and troubleshoot an Azure Cosmos DB for NoSQL solution | Use Azure Monitor to analyze an Azure Cosmos DB for NoSQL account |
Module 11 - Monitor and troubleshoot an Azure Cosmos DB for NoSQL solution | Troubleshoot an application using the Azure Cosmos DB for NoSQL SDK |
Module 11 - Monitor and troubleshoot an Azure Cosmos DB for NoSQL solution | Recover a database or container from a recovery point |
Module 11 - Monitor and troubleshoot an Azure Cosmos DB for NoSQL solution | Store Azure Cosmos DB for NoSQL account keys in Azure Key Vault |
Module 12 - Manage an Azure Cosmos DB for NoSQL solution using DevOps practices | Adjust provisioned throughput using an Azure CLI script |
Module 12 - Manage an Azure Cosmos DB for NoSQL solution using DevOps practices | Create an Azure Cosmos DB for NoSQL container using Azure Resource Manager templates |
Module 13 - Create server-side programming constructs in Azure Cosmos DB for NoSQL | Create a stored procedure with the Azure portal |
Module 13 - Create server-side programming constructs in Azure Cosmos DB for NoSQL | Implement and then use user-defined functions with the SDK |