Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB — Question 20
You have an Azure Cosmos DB for NoSQL account that contains a database named DB1 and a container named Container1.
You need to manage the account by using the Azure Cosmos DB SDK.
What should you do?
Answer options
- A. Create a container in DB1.
- B. List the physical partitions of Container1.
- C. Read a stored procedure in Container1.
- D. Create a user defined function (UDF) in Container1.
Correct answer: A
Explanation
The correct answer is A because creating a container in DB1 is a foundational action for managing the database structure. Options B, C, and D involve operations that do not directly pertain to the management of the account itself but rather focus on existing components within the container.