Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft Exam AZ-204 Topic 2 Question 97 Discussion

Actual exam question for Microsoft's AZ-204 exam
Question #: 97
Topic #: 2
[All AZ-204 Questions]

You are updating an application that stores data on Azure and uses Azure Cosmos DB for storage. The application stores data in multiple documents associated with a single username.

The application requires the ability to update multiple documents for a username in a single ACID operation.

You need to configure Azure Cosmos DB.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer: B, D

Contribute your Thoughts:

Rodrigo
1 months ago
Option A sounds like it's straight out of left field. I'm going with C and D as the correct answers to this one.
upvoted 0 times
Mary
22 days ago
I agree, and D for unsharded collection seems like the right move too.
upvoted 0 times
...
Ryan
23 days ago
I think C is a good choice, sharding on username makes sense.
upvoted 0 times
...
...
Janna
1 months ago
I think both options are valid, it depends on the specific requirements of the application.
upvoted 0 times
...
Huey
2 months ago
But wouldn't creating an unsharded collection to store documents be more efficient?
upvoted 0 times
...
Aleshia
2 months ago
Haha, A and B are completely off-base! This is clearly a Cosmos DB question, not a Gremlin or MongoDB one. C and D are the way to go.
upvoted 0 times
Xuan
4 days ago
Yeah, A and B are not the right options. C and D are the correct actions to take.
upvoted 0 times
...
Herschel
5 days ago
A and B are definitely not the right choices. C and D are the way to go.
upvoted 0 times
...
Filiberto
7 days ago
Definitely, C and D are the correct actions to configure Azure Cosmos DB.
upvoted 0 times
...
Catherin
18 days ago
I agree, A and B are not relevant here. C and D make more sense.
upvoted 0 times
...
...
James
2 months ago
I disagree, I believe we should create a collection sharded on username to store documents.
upvoted 0 times
...
Stephaine
2 months ago
I think B and D are the right answers. Using the Azure Cosmos DB for MongoDB API will give you the flexibility to perform atomic updates across multiple documents.
upvoted 0 times
Renea
23 days ago
D) Create an unsharded collection to store documents.
upvoted 0 times
...
Asuncion
1 months ago
B) Configure Azure Cosmos DB to use the Azure Cosmos DB for MongoDB API.
upvoted 0 times
...
...
Deandrea
2 months ago
The correct answers are C and D. Sharding the collection on the username will allow for the atomic updates across multiple documents associated with a single user.
upvoted 0 times
Vince
1 months ago
B) Configure Azure Cosmos DB to use the Azure Cosmos DB for MongoDB API.
upvoted 0 times
...
Valentin
1 months ago
A) Configure Azure Cosmos DB to use the Azure Cosmos DB for Apache Gremlin API.
upvoted 0 times
...
...
Huey
2 months ago
I think we should configure Azure Cosmos DB to use the Azure Cosmos DB for MongoDB API.
upvoted 0 times
...

Save Cancel