Your team develops locally on Windows and runs CI pipelines in a Linux Docker environment. You need local Azure Cosmos DB development with secure connections and the ability to inspect partition key distribution to validate query patterns. What should you do? (Select three)
Choose an answer
Tap an option to check your answer.
Correct answer: Run the Azure Cosmos DB Emulator in Docker on the Linux build agent using the official Linux container image, accept the license, and publish the required ports., Export the emulator’s self-signed certificate (emulator.pem) and import it into the Windows and Linux trust stores to prevent TLS errors when connecting to https://localhost:8081/., Use the emulator’s Data Explorer to open the Partition Key Explorer and inspect effective partition keys and physical partition ranges..
Why this is the answer
Running the Azure Cosmos DB Emulator in Docker on the Linux build agent using the official Linux container image, accepting the license, and publishing ports is correct because it provides a local, cross-platform development environment that mirrors the production service, allowing for consistent testing across Windows development and Linux CI. Exporting the emulator's self-signed certificate and importing it into trust stores is necessary to establish secure HTTPS connections (https://localhost:8081/) without TLS errors, ensuring secure communication during development and CI. Using the emulator’s Data Explorer to open the Partition Key Explorer allows direct inspection of partition key distribution, which is crucial for validating query patterns and optimizing performance. Azurite is incorrect because it emulates Azure Storage services, not Azure Cosmos DB. Disabling SSL validation in SDK clients is incorrect as it creates security vulnerabilities and is not a recommended practice for production-like environments, even during CI.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed