DP-420 Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB

This course teaches developers how to create application using the SQL API and SDK for Azure Cosmos DB. Students will learn how to write efficient queries, create indexing policies, manage and provisioned resources, and perform common operations with the SDK.

Overview

This course teaches developers how to create application using the SQL API and SDK for Azure Cosmos DB. Students will learn how to write efficient queries, create indexing policies, manage and provisioned resources, and perform common operations with the SDK.

Prerequisites

Before attending this course, students must have:

  • Knowledge of Microsoft Azure and ability to navigate the Azure portal (AZ-900 equivalent)
  • Experience writing in an Azure-supported language at the intermediate level. (C#, JavaScript, Python, or Java)
  • Ability to write code to connect and perform operations on a SQL or NoSQL database product. (SQL Server, Oracle, MongoDB, Cassandra or similar)

Course Duration

4 Days

Course Outline

  • What is Azure Cosmos DB for NoSQL
  • How does Azure Cosmos DB for NoSQL work
  • When should you use Azure Cosmos DB for NoSQL
  • Understand throughput
  • Evaluate throughput requirements
  • Evaluate data storage requirements
  • Time-to-live (TTL)
  • Plan for data retention with time-to-live (TTL)
  • Understand the SDK
  • Import from package manager
  • Connect to an online account
  • Implement client singleton
  • Configure connectivity mode
  • Exercise: Connect to Azure Cosmos DB for NoSQL with the SDK15 min
  • Understand point operations
  • Create documents
  • Read a document
  • Update documents
  • Configure time-to-live (TTL) value for a specific document
  • Delete documents
  • Exercise: Create and update documents with the Azure Cosmos DB for NoSQL SDK
  • Understand SQL query language
  • Create queries with SQL
  • Project query results
  • Implement type-checking in queries
  • Use built-in functions
  • Execute queries in the SDK
  • Exercise: Execute a query with the Azure Cosmos DB for NoSQL SDK
  • Understand indexes
  • Understand indexing policies
  • Review indexing policy strategies
  • Exercise: Review the default index policy for an Azure Cosmos DB for NoSQL container with the portal
  • Understand change feed features in the SDK
  • Implement a delegate for the change feed processor
  • Implement the change feed processor
  • Implement the change feed estimator
  • Exercise: Process change feed events using the Azure Cosmos DB for NoSQL SDK
  • What’s the difference between NoSQL and relational databases?
  • Identify access patterns for your app
  • When to embed or reference data
  • Exercise: Measure performance for customer entities
  • Choose a partition key
  • Model small lookup entities
  • Understand replication
  • Distribute data across regions
  • Evaluate the cost of distributing data globally
  • Define automatic failover policies
  • Perform manual failovers
  • Configure SDK region
  • Exercise: Connect different regions with the Azure Cosmos DB for NoSQL SDK
  • Index usage
  • Review read-heavy index patterns
  • Review write-heavy index patterns
  • Exercise – Optimize an Azure Cosmos DB for NoSQL container’s index policy for common operations
  • Understand Azure Monitor
  • Measure throughput
  • Observe rate-limiting events
  • Query logs
  • Exercise: Use Azure Monitor to analyze an Azure Cosmos DB for NoSQL account
  • Create resources
  • Manage index policies
  • Configure database or container-provisioned throughput
  • Migrate between standard and autoscale throughput
  • Change region failover priority
  • Initiate failovers
  • Exercise: Adjust provisioned throughput using an Azure CLI script
  • Understand transactions in the context of JavaScript SDK
  • Author Stored procedures
  • Rollback transactions
  • Create stored procedures with the JavaScript SDK
  • Exercise: Create a stored procedure with the Azure portal

Get Pricing and Brochure

More Like This

Get the course Brochure & Pricing

Our course consultant will contact you within 1 working day

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Get in touch with our consultant