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 DP-420 Exam - Topic 2 Question 75 Discussion

Actual exam question for Microsoft's DP-420 exam
Question #: 75
Topic #: 2
[All DP-420 Questions]

You have a container named container1 in an Azure Cosmos DB Core (SQL) API account.

You need to provide a user named User1 with the ability to insert items into container1 by using role-based access control (RBAC). The solution must use the principle of least privilege.

Which roles should you assign to User1?

Show Suggested Answer Hide Answer
Suggested Answer: A

Cosmos DB Operator: Can provision Azure Cosmos accounts, databases, and containers. Cannot access any data or use Data Explorer.

Incorrect Answers:

B: DocumentDB Account Contributor can manage Azure Cosmos DB accounts. Azure Cosmos DB is formerly known as DocumentDB.

C: DocumentDB Account Contributor: Can manage Azure Cosmos DB accounts.


Contribute your Thoughts:

0/2000 characters
Dean
16 days ago
I think B) is too much access for just inserting items.
upvoted 0 times
...
Tashia
21 days ago
D) Cosmos DB Built-in Data Contributor is the right choice.
upvoted 0 times
...
Marica
1 month ago
I feel like the Cosmos DB Built-in Data Contributor is the best option here, but I wonder if there are any hidden permissions I might be overlooking.
upvoted 0 times
...
Truman
1 month ago
I’m a bit confused about whether to choose just the Built-in Data Contributor or if I need to combine it with the Account Contributor role.
upvoted 0 times
...
Troy
2 months ago
I remember practicing a similar question where we had to assign roles based on least privilege. I think DocumentDB Account Contributor might be too broad for just inserting items.
upvoted 0 times
...
Lashaunda
2 months ago
I think the Cosmos DB Built-in Data Contributor role might be the right choice since it allows data manipulation, but I'm not entirely sure if it’s enough for just inserting items.
upvoted 0 times
...

Save Cancel