nerdexam
Microsoft

AZ-204 · Question #478

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 cod

Sign in or unlock AZ-204 to reveal the answer and full explanation for question #478. The question stem and answer options stay visible for context.

Submitted by katya_ua· Mar 30, 2026Develop for Azure storage

Question

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?

Options

  • Adatabase_name = 'MyDatabase'
  • Bclient = CosmosClient(endpoint, key)
  • Ccontainer_name = 'MyContainer'

Unlock AZ-204 to see the answer

You've previewed enough free AZ-204 questions. Unlock AZ-204 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Azure Cosmos DB#CosmosClient#.NET SDK#NoSQL
Full AZ-204 Practice