DP-420 Exam QuestionsBrowse all questions from this exam

DP-420 Exam - Question 45


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?

Show Answer
Correct Answer: C

To manage an Azure Cosmos DB account using the Azure Cosmos DB SDK, you typically perform operations such as reading or writing data, or executing stored procedures. Reading a stored procedure in Container1 involves using the SDK to interact with the database and is a common management task.

Discussion

4 comments
Sign in to comment
[Removed]Option: C
May 7, 2024

To manage an Azure Cosmos DB account using the Azure Cosmos DB SDK, you would typically perform operations such as reading or writing data, or executing stored procedures. Therefore, the most appropriate action from the given options would be: C. Read a stored procedure in Container1.

Examdumps2023Option: D
Jun 20, 2024

Answer: D D. Create a user defined function (UDF) in Container1. Here's why this is the most appropriate option: Creating a UDF involves interacting with the Azure Cosmos DB SDK to manage the database. UDFs are common tasks in database management, and they typically require SDK usage for implementation and deployment

YellowSky002Option: A
Jan 19, 2025

Creating a container within a database is a clear example of managing the database using the SDK. It involves direct interaction with the database and influences its structure and organization.

WimTSOption: A
Apr 17, 2025

Creating a container is the only management action. Stored procedures are only scoping 1 logical partion, an UDF can only be used in a query.