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?
Correct Answer: C
Azure Cosmos DB is a fully managed NoSQL database for modern app development. Single-digit millisecond response times, and automatic and instant scalability, guarantee speed at any scale.
// Create a new instance of the Cosmos Client
this.cosmosClient = new CosmosClient(EndpointUri, PrimaryKey)
//ADD THIS PART TO YOUR CODE
await this.CreateDatabaseAsync();
Reference:
https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.cosmos.cosmosclient?view=azure-dotnet
https://docs.microsoft.com/en-us/azure/cosmos-db/sql-api-get-started
This section is not available anymore. Please use the main Exam Page.AZ-204 Exam Questions
Log in to ExamTopics
Sign in:
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.
Mr2302682
Highly Voted 4 years, 8 months agomlantonis
Highly Voted 3 years, 11 months agowafa_chaari
Most Recent 2 months, 3 weeks agoTej_007
7 months, 2 weeks agodimsok
2 years, 2 months agoJorax
3 days, 13 hours agoNhiendo
2 years, 3 months agoAvinashVarma
2 years, 4 months agoOPT_001122
2 years, 5 months agorohitpatil113
2 years, 8 months agoEltooth
2 years, 10 months agopetitbilly
3 years, 1 month agoFreidrich
3 years, 1 month agooescm
3 years, 2 months agoMev4953
3 years, 2 months agolugospod
3 years, 3 months agosanjayrawat
3 years, 6 months agodebanjan10
3 years, 6 months ago