Scenario: You want to ensure that if a developer launches a virtual machine without a 'CostCenter' tag, the VM is automatically shut down and an alert is sent. Solution ?

Direct Answer (Verified)Reviewed by Sunny (Senior Cloud Engineer)

Correct Answer: Azure Policy with a 'Modify' or 'Deny' effect, or a Logic App triggered by Activity Log

While 'Deny' prevents creation, a combination of Activity Log alerts and Logic Apps can perform remediation actions like shutting down the non-compliant resource....

๐Ÿ“‹Part of Microsoft Certified: Azure Solutions Architect Expert (AZ-305) ยท Azure Certification Practice
Real Exam ScenarioScenario Based

Scenario: You want to ensure that if a developer launches a virtual machine without a 'CostCenter' tag, the VM is automatically shut down and an alert is sent. Solution ?

โœ“ Correct Answer & ExplanationScenario Based

Correct Answer

Azure Policy with a 'Modify' or 'Deny' effect, or a Logic App triggered by Activity Log

Why This Answer Is Correct

While 'Deny' prevents creation, a combination of Activity Log alerts and Logic Apps can perform remediation actions like shutting down the non-compliant resource.

๐Ÿ“š What This Question Tests

This question evaluates your knowledge of Scenario Based โ€” a core concept tested in Microsoft Certified: Azure Solutions Architect Expert (AZ-305). Understanding Scenario Based is essential for designing scalable, secure, and cost-effective cloud architectures. Mastery of this topic will help you answer scenario-based questions confidently on exam day.