Designing and Implementing Cloud-Native Applications Using Microsoft Azure Cosmos DB — Question 57

You have an on-premises computer named Computer1 that runs Windows 11.

On Computer1, you install the Azure Cosmos DB Emulator by using the default settings.

You need to connect to the API for NoSQL clients hosted by the emulator.

What should you use?

Answer options

Correct answer: D

Explanation

The correct answer is D because the Azure Cosmos DB Emulator uses localhost:8081 for NoSQL API connections and a well-known key for authentication. Options A and C are incorrect as they do not specify the correct connection endpoint, while option B uses the wrong port (443) and relies on Administrator credentials, which are not required for the emulator.