Question 134 of 213
Single answerYou 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.