Microsoft

AZ-305 practice question 15

Designing Microsoft Azure Infrastructure Solutions · free question 15 of 20

Question

You need to design an architecture to capture the creation of users and the assignment of roles. The captured data must be stored in Azure Cosmos DB. Which services should you include in the design? To answer, drag the appropriate services to the correct targets. Each service may be used once, more than once, or not at all. **Data Flow:** Azure Active Directory audit log ↓ [Drop Zone 1] ↓ [Drop Zone 2] ↓ Cosmos DB

Explanation

Microsoft Entra ID (Azure Active Directory) audit logs, which record user creation and role assignments, can be streamed to Azure Event Hubs through the tenant's diagnostic settings. An Azure Functions app with an Event Hubs trigger then reads those events and writes them to Azure Cosmos DB (for example, through the Cosmos DB output binding). Event Grid, Monitor Logs and Notification Hubs do not provide this ingest-then-store path to Cosmos DB.

Need the theory? Learn it free in the AZ-305 course on Godlike Academy

Practice the whole free set

Answer all 20 free AZ-305 questions with instant feedback, or unlock all 250 questions with Learn and Exam modes.