Ends in
00
days
00
hrs
00
mins
00
secs
ENROLL NOW

Get $4 OFF in AWS Solutions Architect & Data Engineer Associate Practice Exams for $10.99 each ONLY!

Azure Cosmos DB

Azure Cosmos DB

Last updated on August 14, 2023

Azure Cosmos DB Cheat Sheet

  • Globally distributed database that supports NoSQL.
  • A fully-managed database service with turnkey global distribution and transparent multi-master replication.

Features

  • Cosmos DB offers encryption at rest.
  • It replicates every partition across all the regions.
  • CosmosDB offers single-digit millisecond reads and writes in all regions.
  • Tutorials dojo strip
  • Supports automatic failover during a regional outage.
  • Consistency Levels: Strong, Bounded Staleness, Session, Consistent Prefix, and Eventual
  • You can set either standard (manual) or autoscale provisioned throughput on your databases and containers.
  • Monitor both the provisioned autoscale max RU/s and the current throughput (RU/s) of the system with Azure Monitor metrics.

Consistency Levels

  • Strong – reads are guaranteed to return the most recent committed version of an item.
  • Bounded Staleness – is for low write latencies but requires a total global order guarantee.
  • Session – reads are guaranteed to honor the consistent-prefix, monotonic reads, monotonic writes, read-your-writes, and write-follows-reads guarantees.
  • Consistent Prefixupdates that are returned will contain some prefix of all the updates.
  • Eventualhas no ordering guarantee for reads.

Security

  • Encryption at rest is applied automatically.
  • Uses AES-256 encryption in all regions.
  • You can use the keys that are managed by Microsoft or customer-managed keys.
  • Two types of keys to authenticate users:
    • Master Keys for administrative resources.
    • Resources Tokens for application resources.
  • Detect suspicious activities which indicate unusual and potentially harmful attempts to access or exploit databases with Advanced Threat Protection.

Azure Cosmos DB Pricing

  • Elastically scale the provisioned throughput and storage for your databases according to your needs and only pay for the throughput and storage needed.
  • Cosmos DB throughput per second and request unit consumption varies by operation and JSON document.
  • Additional backup copies will be billed as total GBs of data stored (first two copies are free).
  • You provision the number of RUs for your application on a per-second basis in increments of 100 RUs per second. You are billed on an hourly basis.
  • With autoscale for containers, you pay per hour for the highest RU/s that the system scaled up to within the hour.

Azure SQL Database vs Cosmos DB:

https://tutorialsdojo.com/azure-sql-database-vs-cosmos-db/

Technical Overview and Unique Features of Azure Cosmos DB

Validate Your Knowledge

Question 1

Question Type: Single-choice

Note: This item is part of a series of questions with the exact same scenario but with a different proposed answer. Each one in the series has a unique solution that may, or may not, comply with the requirements specified in the scenario.

Your company plans to deploy several virtual machines that will host its business-critical application to Azure.

You need to recommend a solution to ensure that if a single data center fails, the application will not be affected.

Solution: Deploy virtual machines to multiple resource groups with the same availability zone.

Does this meet the goal?

  1. Yes
  2. No

Correct Answer: 2

A resource group is a container that holds related resources for an Azure solution. The resource group can include all the resources for the solution or only those resources that you want to manage as a group. You decide how you want to allocate resources to resource groups based on what makes the most sense for your organization.

Availability zones expand the level of control you have to maintain the availability of the applications and data on your VMs. Availability Zones are unique physical locations within an Azure region. Each zone is made up of one or more data centers equipped with independent power, cooling, and networking.

Availability zones

Deploying your virtual machines into multiple resource groups won’t increase its availability of your VMs in the event of Azure data center outage. A resource group is only a logical container that contains the metadata of the resource contained within it.

With Availability Zones, Azure offers industry best 99.99% VM uptime SLA. By architecting your solutions to use replicated VMs in zones, you can protect your applications and data from the loss of a datacenter. If one zone is compromised then replicated apps and data are instantly available in another zone.

In this scenario, deploying virtual machines to multiple resource groups with the same availability zone will not prevent an outage in the event that a single data center fails. You must deploy your servers to multiple Availability Zones or Regions to ensure the availability of your application.

Therefore, the correct answer is: No.

References

https://docs.microsoft.com/en-us/azure/availability-zones/az-overview
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/manage-availability

Note: This question was extracted from our AZ-900 Microsoft Azure Fundamentals Practice Exams.

For more Azure practice exam questions with detailed explanations, check out the Tutorials Dojo Portal:

Microsoft Azure Practice Exams Tutorials Dojo

Azure Cosmos DB Cheat Sheet Resources:

https://docs.microsoft.com/en-us/azure/cosmos-db/introduction
https://azure.microsoft.com/en-us/free/cosmos-db/

Get $4 OFF in AWS Solutions Architect & Data Engineer Associate Practice Exams for $10.99 ONLY!

Tutorials Dojo portal

Be Inspired and Mentored with Cloud Career Journeys!

Tutorials Dojo portal

Enroll Now – Our Azure Certification Exam Reviewers

azure reviewers tutorials dojo

Enroll Now – Our Google Cloud Certification Exam Reviewers

Tutorials Dojo Exam Study Guide eBooks

tutorials dojo study guide eBook

FREE AWS Exam Readiness Digital Courses

Subscribe to our YouTube Channel

Tutorials Dojo YouTube Channel

FREE Intro to Cloud Computing for Beginners

FREE AWS, Azure, GCP Practice Test Samplers

Recent Posts

Written by: Jon Bonso

Jon Bonso is the co-founder of Tutorials Dojo, an EdTech startup and an AWS Digital Training Partner that provides high-quality educational materials in the cloud computing space. He graduated from Mapúa Institute of Technology in 2007 with a bachelor's degree in Information Technology. Jon holds 10 AWS Certifications and is also an active AWS Community Builder since 2020.

AWS, Azure, and GCP Certifications are consistently among the top-paying IT certifications in the world, considering that most companies have now shifted to the cloud. Earn over $150,000 per year with an AWS, Azure, or GCP certification!

Follow us on LinkedIn, YouTube, Facebook, or join our Slack study group. More importantly, answer as many practice exams as you can to help increase your chances of passing your certification exams on your first try!

View Our AWS, Azure, and GCP Exam Reviewers Check out our FREE courses

Our Community

~98%
passing rate
Around 95-98% of our students pass the AWS Certification exams after training with our courses.
200k+
students
Over 200k enrollees choose Tutorials Dojo in preparing for their AWS Certification exams.
~4.8
ratings
Our courses are highly rated by our enrollees from all over the world.

What our students say about us?