AI-200 practice question · Secure, Monitor, and Troubleshoot Azure Solutions
An Azure Cosmos DB for NoSQL account has key-based authentication disabled, and all applications connect by using…
An Azure Cosmos DB for NoSQL account has key-based authentication disabled, and all applications connect by using managed identities with Cosmos DB data-plane RBAC roles. A security team needs to find out which identity wrote a specific item to a container, and when it happened. What should the team configure and query?
- AA diagnostic setting that sends the DataPlaneRequests log category to Log Analytics, then query the AadPrincipalId column
- BThe subscription's Azure Activity log, filtered on the Cosmos DB account and the write operation
- CA diagnostic setting that sends the ControlPlaneRequests log category to Log Analytics, then query the caller
- DThe Total Requests metric in Azure Monitor, split by operation type and filtered to the container
Show the answer and explanation
Correct answer: A) A diagnostic setting that sends the DataPlaneRequests log category to Log Analytics, then query the AadPrincipalId column
Item-level reads and writes are data-plane operations, so they appear in Cosmos DB's DataPlaneRequests resource logs, not in the Activity log or control-plane logs. With Entra authentication, the AadPrincipalId column identifies the caller.
Why each option is right or wrong
- A) Correct. DataPlaneRequests resource logs record each data-plane operation (create, update, delete, read) with the operation name, container, timestamp, and the Microsoft Entra principal ID of the caller. Because the apps authenticate with Entra identities, the log shows which identity made the write and when.
- B) Incorrect. The Activity log records Azure Resource Manager (control-plane) operations, such as changes to account settings. It doesn't record individual item writes made through the Cosmos DB data-plane endpoint.
- C) Incorrect. ControlPlaneRequests covers account and resource management operations, such as adding a region, updating throughput, or creating or updating a container. It doesn't capture individual item writes inside a container.
- D) Incorrect. Platform metrics are numeric counts aggregated over time intervals. They can show how many write requests occurred, but they don't record per-request details such as which identity made a particular write.
- Exam domain
- Secure, Monitor, and Troubleshoot Azure Solutions · 25% of AI-200
- Question type
- Multiple choice (one answer)
Related AI-200 questions
- A company uses Microsoft Entra ID authentication with an Azure AI Content Safety resource.Secure, Monitor, and Troubleshoot Azure Solutions
- During an outage of an AI-enabled application, the on-call engineer must quickly find out whether a specific Azure…Secure, Monitor, and Troubleshoot Azure Solutions
- An API hosted in Azure Container Apps calls an Azure OpenAI resource in Microsoft Foundry.Secure, Monitor, and Troubleshoot Azure Solutions
- During traffic bursts, an application calling a Standard Azure OpenAI deployment receives HTTP 429 responses with the…Secure, Monitor, and Troubleshoot Azure Solutions
All 60 free AI-200 questions by domain · 15 sample questions on one page
Practise the full AI-200 exam
This question is one of a small free sample from the CertRidge AI-200 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.
Original question written from the official exam guide. Not affiliated with Microsoft; never copied from the real exam.