SC-100 · Question #22
You are planning the security requirements for Azure Cosmos DB Core (SQL) API accounts. You need to recommend a solution to audit all users that access the data in the Azure Cosmos DB accounts…
The correct answer is B. Send the Azure Active Directory (Azure AD) sign-in logs to a Log Analytics workspace. C. Disable local authentication for Azure Cosmos DB. The correct answers are Send Azure AD sign-in logs to a Log Analytics workspace (B) and Disable local authentication for Azure Cosmos DB (C). To audit ALL users accessing Cosmos DB data, you must first eliminate anonymous or key-based access by disabling local authentication…
Question
You are planning the security requirements for Azure Cosmos DB Core (SQL) API accounts. You need to recommend a solution to audit all users that access the data in the Azure Cosmos DB accounts. Which two configurations should you include in the recommendation? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Options
- AEnable Microsoft Defender for Cosmos DB.
- BSend the Azure Active Directory (Azure AD) sign-in logs to a Log Analytics workspace.
- CDisable local authentication for Azure Cosmos DB.
- DEnable Microsoft Defender for Identity.
- ESend the Azure Cosmos DB logs to a Log Analytics workspace.
How the community answered
(43 responses)- A12% (5)
- B81% (35)
- D5% (2)
- E2% (1)
Explanation
The correct answers are Send Azure AD sign-in logs to a Log Analytics workspace (B) and Disable local authentication for Azure Cosmos DB (C). To audit ALL users accessing Cosmos DB data, you must first eliminate anonymous or key-based access by disabling local authentication (C), forcing all connections through Azure Active Directory identities. Once all access is via Azure AD, sending the Azure AD sign-in logs to Log Analytics (B) captures a complete, auditable record of which users authenticated and when. Together, these two controls ensure every access event is tied to an identifiable identity and is logged. Microsoft Defender for Cosmos DB (A) detects threats but is not primarily an audit logging tool. Defender for Identity (D) monitors on-premises AD, not Cosmos DB. Cosmos DB diagnostic logs (E) capture data-plane operations but would be incomplete if local (key-based) authentication is still enabled, since key access is not tied to user identities.
Topics
Community Discussion
No community discussion yet for this question.