BlackFriday 2024! 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
4 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
3 months ago
I agree, and D for unsharded collection seems like the right move too.
upvoted 0 times
...
Ryan
3 months ago
I think C is a good choice, sharding on username makes sense.
upvoted 0 times
...
...
Janna
4 months ago
I think both options are valid, it depends on the specific requirements of the application.
upvoted 0 times
...
Huey
4 months ago
But wouldn't creating an unsharded collection to store documents be more efficient?
upvoted 0 times
...
Aleshia
4 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
2 months ago
Yeah, A and B are not the right options. C and D are the correct actions to take.
upvoted 0 times
...
Herschel
3 months ago
A and B are definitely not the right choices. C and D are the way to go.
upvoted 0 times
...
Filiberto
3 months ago
Definitely, C and D are the correct actions to configure Azure Cosmos DB.
upvoted 0 times
...
Catherin
3 months ago
I agree, A and B are not relevant here. C and D make more sense.
upvoted 0 times
...
...
James
4 months ago
I disagree, I believe we should create a collection sharded on username to store documents.
upvoted 0 times
...
Stephaine
4 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
3 months ago
D) Create an unsharded collection to store documents.
upvoted 0 times
...
Asuncion
4 months ago
B) Configure Azure Cosmos DB to use the Azure Cosmos DB for MongoDB API.
upvoted 0 times
...
...
Deandrea
4 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
4 months ago
B) Configure Azure Cosmos DB to use the Azure Cosmos DB for MongoDB API.
upvoted 0 times
...
Valentin
4 months ago
A) Configure Azure Cosmos DB to use the Azure Cosmos DB for Apache Gremlin API.
upvoted 0 times
...
...
Huey
4 months ago
I think we should configure Azure Cosmos DB to use the Azure Cosmos DB for MongoDB API.
upvoted 0 times
...

Save Cancel