DP-420 practice question 17 of 25
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?
Full set: 144 questionsBy default the Azure Cosmos DB Emulator exposes its API for NoSQL endpoint on the local loopback address and secures it with the emulator’s well-known master key. Clients therefore connect to https://localhost:/ (default 8081) and supply the built-in primary key C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM0Lm6==. Option D is the only choice that specifies both localhost access and the well-known key, matching the documented connection method for NoSQL clients.
A. Uses the computer name instead of localhost and relies on installer credentials—emulator does not create per-user credentials.
B. Port 443 and Windows Administrator credentials are not used by the emulator; connection requires the emulator’s primary key.
C. Emulator key is fixed and well-known, not randomly generated; also uses computer name instead of localhost.
1. Microsoft Learn – “Use Azure Cosmos DB Emulator for local development and testing”
section “Connect to the Azure Cosmos DB Emulator” (Endpoint https://localhost:8081 and primary key)
https://learn.microsoft.com/azure/cosmos-db/local-emulator#connect-to-the-azure-cosmos-db-emulator
2. Microsoft Learn – “Emulator command-line parameters”
confirms endpoint is on localhost and secured by a predefined key
https://learn.microsoft.com/azure/cosmos-db/local-emulator#command-line-reference
Keep practicing
Take the free DP-420 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other DP-420 practice questions
- Question 1You have an Azure Cosmos DB for NoSQL account. You need to create an Azure Monitor query …
- Question 3You have a database in an Azure Cosmos DB Core (SQL) API account. You need to create an A…
- Question 6You are troubleshooting the current issues caused by the application updates. Which actio…
- Question 9You have an Azure Cosmos DB Core (SQL) API account that is used by 10 web apps. You need …
- Question 12You need to create a data store for a directory of small and medium-sized businesses (SMB…
- Question 13You need to configure an Apache Kafka instance to ingest data from an Azure Cosmos DB Cor…
