DP-200 Exam QuestionsBrowse all questions from this exam

DP-200 Exam - Question 41


SIMULATION -

Use the following login credentials as needed:

Azure Username: xxxxx -

Azure Password: xxxxx -

The following information is for technical support purposes only:

Lab Instance: 10543936 -

Exam DP-200 Question 41

You need to ensure that users in the West US region can read data from a local copy of an Azure Cosmos DB database named cosmos10543936.

To complete this task, sign in to the Azure portal.

NOTE: This task might take several minutes to complete. You can perform other tasks while the task completes or end this section of the exam.

Show Answer
Correct Answer:

See the explanation below.

You can enable Availability Zones by using Azure portal when creating an Azure Cosmos account.

You can enable Availability Zones by using Azure portal.

Step 1: enable the Geo-redundancy, Multi-region Writes

1. In Azure Portal search for and select Azure Cosmos DB.

2. Locate the Cosmos DB database named cosmos10543936

3. Access the properties for cosmos10543936

4. enable the Geo-redundancy, Multi-region Writes.

Location: West US region -

Exam DP-200 Question 41

Step 2: Add region from your database account

1. In to Azure portal, go to your Azure Cosmos account, and open the Replicate data globally menu.

2. To add regions, select the hexagons on the map with the + label that corresponds to your desired region(s). Alternatively, to add a region, select the + Add region option and choose a region from the drop-down menu.

Add: West US region -

Exam DP-200 Question 41

3. To save your changes, select OK.

Reference:

https://docs.microsoft.com/en-us/azure/cosmos-db/high-availability https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-manage-database-account

Discussion

2 comments
Sign in to comment
JohnCrawford
Apr 6, 2021

There is no need for multi-region writes only geo-redundancy. See https://docs.microsoft.com/en-us/azure/azure-sql/database/active-geo-replication-overview You can create the secondary across the country where it would have low latency for someone nearby and it would be readable.

SuperAlex
Apr 8, 2021

The question is asking the Azure Cosmos DB, not Azure SQL Database in your link.

JohnCrawford
Apr 9, 2021

You're right. Sorry about that. In this link (https://docs.microsoft.com/en-us/azure/cosmos-db/high-availability) look at the section on multi-region accounts with a single write region. There is no need given the stated objectives to enable multi-region writes. Thanks for the catch.

JohnCrawford
Apr 9, 2021

I am also now wondering why they suggested using the availability zones feature. The way the question is worded, "ensure that users in the West region can read..." makes me wonder if "ensure" is the key word here and that's why they are also enabling the availability zones which I would not have done if I was only interested in saving money.

cadio30
May 7, 2021

It make sense to enable the "Availability Zones" as part of the requirement since there is a chance the replicated server could go down.

cadio30
May 7, 2021

It make sense to enable the "Availability Zones" as part of the requirement since there is a chance the replicated server could go down.

JohnCrawford
Apr 9, 2021

You're right. Sorry about that. In this link (https://docs.microsoft.com/en-us/azure/cosmos-db/high-availability) look at the section on multi-region accounts with a single write region. There is no need given the stated objectives to enable multi-region writes. Thanks for the catch.

JohnCrawford
Apr 9, 2021

I am also now wondering why they suggested using the availability zones feature. The way the question is worded, "ensure that users in the West region can read..." makes me wonder if "ensure" is the key word here and that's why they are also enabling the availability zones which I would not have done if I was only interested in saving money.

cadio30
May 7, 2021

It make sense to enable the "Availability Zones" as part of the requirement since there is a chance the replicated server could go down.

cadio30
May 7, 2021

It make sense to enable the "Availability Zones" as part of the requirement since there is a chance the replicated server could go down.

marc88
Aug 14, 2021

The question specifies "users in the West US region can READ data". Geo redundancy should cut it and Multi region writes are unnecessary.