exam questions

Exam DP-420 All Questions

View all questions & answers for the DP-420 exam

Exam DP-420 topic 5 question 10 discussion

Actual exam question from Microsoft's DP-420
Question #: 10
Topic #: 5
[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?

  • A. CosmosDB Operator only
  • B. DocumentDB Account Contributor and Cosmos DB Built-in Data Contributor
  • C. DocumentDB Account Contributor only
  • D. Cosmos DB Built-in Data Contributor only
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
Billy_inat
Highly Voted 8 months, 3 weeks ago
Selected Answer: D
Answer is D
upvoted 9 times
...
janisk
Highly Voted 8 months, 3 weeks ago
Selected Answer: D Cosmos DB Built-in Data Contributor https://docs.microsoft.com/en-us/azure/cosmos-db/how-to-setup-rbac
upvoted 5 times
...
khushbu123
Most Recent 7 months, 1 week ago
Selected Answer: D
It should be D
upvoted 2 times
...
TimSss
7 months, 1 week ago
Like the answer text says, db operator can do much more than just insert items
upvoted 1 times
...
essdeecee
7 months, 3 weeks ago
Selected Answer: D
Supplied answer Cosmos DB Operator : Can provision Azure Cosmos accounts, databases, and containers. Cannot access any data or use Data Explorer. Cosmos DB Built-in Data Contributor Microsoft.DocumentDB/databaseAccounts/readMetadata Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/* Cosmos DB Built-in Data Contributor contains Microsoft.DocumentDB/databaseAccounts/sqlDatabases/containers/items/* for read/replace/upsert/delete
upvoted 3 times
...
lakime
1 year ago
Selected Answer: C
DocumentDB Account Contributor as Cosmos DB Operator Can provision Azure Cosmos accounts, databases, and containers. Cannot access any data or use Data Explorer.
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago