Easy1 markMultiple Choice
Domain 1.1: Logging and MonitoringDomain 1.1Azure PolicyDiagnostic Settings

AZ-305 · Question 04 · Domain 1.1: Logging and Monitoring

You are designing a monitoring strategy for a new Azure deployment consisting of App Service, Azure SQL Database, and Key Vault. You need to ensure that all resource-level diagnostic logs are automatically collected and sent to a central Log Analytics workspace without manual intervention when new resources are created. What should you use?

Answer options:

A.

Azure Policy with DeployIfNotExists effect.

B.

Azure Monitor Action Groups.

C.

Azure Automation runbooks scheduled daily.

D.

Azure Resource Graph queries.

How to approach this question

Identify the governance tool used to enforce and automate resource configurations at scale.

Full Answer

A.Azure Policy with DeployIfNotExists effect.✓ Correct
Azure Policy with the DeployIfNotExists effect is the standard architectural pattern for ensuring all resources automatically send logs to a central workspace.

Common mistakes

Choosing Automation runbooks, which is an operational approach rather than a governance approach.

Practice the full Azure Solutions Architect Expert AZ-305 Practice Exam 6

55 questions · hints · full answers · grading

More questions from this exam