For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeAzure Solutions Architect Expert (AZ-305)Azure Solutions Architect Expert AZ-305 Practice Exam 3Question 10
    Medium1 markMultiple Choice
    Domain 1.3: GovernanceDomain 1GovernanceAzure Policy

    AZ-305 · Question 10 · Domain 1.3: Governance

    An organization mandates that every new Azure Virtual Machine must have the Azure Monitor Agent (AMA) installed automatically upon creation to ensure compliance with monitoring standards.

    If a developer deploys a VM without the agent, the system should automatically install the agent without blocking the VM deployment process.

    Which Azure Policy effect should you use in your policy definition?

    Answer options:

    A.

    Deny

    B.

    Append

    C.

    DeployIfNotExists

    D.

    Modify

    How to approach this question

    Match the requirement 'automatically install without blocking' to the policy effect that triggers a remediation deployment after the initial resource is created.

    Full Answer

    C.DeployIfNotExists✓ Correct
    DeployIfNotExists
    The 'DeployIfNotExists' effect executes a template deployment when a specific condition is met. In this scenario, the policy checks if the AMA extension exists on the VM. If it doesn't, the policy triggers a deployment to install it. This ensures compliance automatically without blocking the developer's initial VM deployment (which 'Deny' would do).

    Common mistakes

    Choosing 'Append' or 'Modify'. These effects alter the JSON payload of the resource being created, but VM extensions are separate child resources that must be deployed.
    Question 09All questionsQuestion 11

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

    55 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01Contoso Ltd is a global manufacturing company with 50,000 employees across 30 countries. They cur...MediumQ02Fabrikam Inc. is a Managed Service Provider (MSP) managing Azure environments for 50 different en...HardQ03A financial institution generates 5 TB of telemetry and audit logs daily across its Azure environ...MediumQ04A retail company has recently migrated several workloads to Azure. The IT Director wants a centra...EasyQ05A healthcare organization with 10,000 employees uses on-premises Active Directory. They are migra...Hard
    View all 55 questions →