exam questions

Exam DP-200 All Questions

View all questions & answers for the DP-200 exam

Exam DP-200 topic 1 question 43 discussion

Actual exam question from Microsoft's DP-200
Question #: 43
Topic #: 1
[All DP-200 Questions]

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 -

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 Suggested Answer Hide Answer
Suggested 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 -

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 -

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

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
marc88
3 years, 9 months ago
The question specifies "users in the West US region can READ data". Geo redundancy should cut it and Multi region writes are unnecessary.
upvoted 1 times
...
JohnCrawford
4 years, 2 months ago
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.
upvoted 2 times
SuperAlex
4 years, 2 months ago
The question is asking the Azure Cosmos DB, not Azure SQL Database in your link.
upvoted 3 times
JohnCrawford
4 years, 2 months ago
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.
upvoted 3 times
cadio30
4 years, 1 month ago
It make sense to enable the "Availability Zones" as part of the requirement since there is a chance the replicated server could go down.
upvoted 1 times
...
...
JohnCrawford
4 years, 2 months ago
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.
upvoted 4 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...