☎  076 959 6407✉  support@quizcrazepro.co.za
Learn. Practice. Build your future.
BlogHelpContact

AZ-204 Developing Solutions for Microsoft Azure Actual Exam Questions

213 Questions120 Minutes70% Passing Score▣ Updated: Sep 2026

Question 134 of 213

Single answer
You develop Azure solutions.You must connect to a No-SQL globally-distributed database by using the .NET API.You need to create an object to configure and execute requests in the database.Which code segment should you use? A. new Container(EndpointUri, PrimaryKey); B. new Database(EndpointUri, PrimaryKey); C. new CosmosClient(EndpointUri, PrimaryKey); Most Voted
A new Container(EndpointUri, PrimaryKey);
B new Database(EndpointUri, PrimaryKey);
C new CosmosClient(EndpointUri, PrimaryKey); Most Voted
Correct Answer: C

 new CosmosClient(EndpointUri, PrimaryKey); Most Voted

Explanation

The correct answer is highlighted above. Review the wording carefully, then use the next question to continue building your understanding of Microsoft certification topics.

About this practice exam

Review 213 Microsoft questions with answers and explanations. Use the navigation to move through the exam at your own pace.