McAfee-Secured Website

Exam Bundle

Exam Code: AZ-104

Exam Name Microsoft Azure Administrator

Certification Provider: Microsoft

Corresponding Certification: Microsoft Certified: Azure Administrator Associate

Microsoft AZ-104 Bundle $44.99

100% Microsoft AZ-104 Guaranteed Success With Testking Training Materials

Get Real AZ-104 Exam Questions & Expert Verified Answers as Experienced on the Real Exam!

  • Questions & Answers

    AZ-104 Questions & Answers

    606 Questions & Answers

    The ultimate exam preparation tool, Questions & Answers mirrors the actual AZ-104 exam while allowing you to hone and measure every aspect of your test-taking ability.

  • AZ-104 Video Course

    AZ-104 Video Course

    132 Video Lectures

    AZ-104 Video Course is developed by Microsoft Professionals to help you pass the AZ-104 exam.

    Description

    This course will improve your knowledge and skills required to pass Microsoft Azure Administrator exam.
  • Study Guide

    AZ-104 Study Guide

    458 PDF Pages

    Developed by industry experts, this 458-page guide spells out in painstaking detail all of the information you need to ace AZ-104 exam.

Microsoft Azure Administrator (AZ-104) Practice Tests

Satisfaction Guaranteed

Money Back Guarantee

Testking provides hassle-free money back guarantee with our products. That is because we have 100% trust in the abilities of our professional and experience product team, and our record is a proof of that.

99.6% PASS RATE
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • Questions & Answers

    Questions & Answers

    606 Questions

    $124.99
  • AZ-104 Video Course

    Video Course

    132 Video Lectures

    $39.99
  • Study Guide

    Study Guide

    458 PDF Pages

    $29.99

Microsoft AZ-104 Practice Test 56

Question 550

An Azure Policy assignment uses a deny effect to block resources with noncompliant network configurations. Developers receive a generic deployment failure message and repeatedly ask what to change. Security wants the deny enforcement to remain in place but the deployment error and compliance results to include a custom remediation instruction. Which assignment-level capability should be configured?

  1. Switch the assignment from deny to audit so deployments succeed, and rely on the audit dashboard to instruct developers.
  2. Change only the policy assignment's display name, and it becomes the detailed failure explanation.
  3. Give the deploying users the Subscription Owner role, and a higher RBAC role will replace the Azure Policy deny message.
  4. Set a nonComplianceMessages entry on the policy assignment with useful remediation text (and the definition reference ID when targeting a particular policy within an initiative).

Explanation

Correct Answer

D:

The policy assignment's nonComplianceMessages property provides message text displayed on deny errors and noncompliant resource results. For an initiative, policyDefinitionReferenceId can associate guidance with a particular policy; the deny effect remains unchanged.

Incorrect Answers

A:

Changing deny to audit removes the preventive gate instead of adding explanatory guidance while retaining enforcement.

B:

A display name identifies the assignment but does not supply custom text displayed in Azure Policy deny errors and non-compliant results.

C:

Azure Policy deny evaluation is independent of gaining a broader Azure RBAC role. Elevating privilege neither corrects the noncompliance message nor satisfies least privilege.

Question 551

An Azure Policy modify assignment should add required tags to existing resources, but the remediation task reports authorization failures. Its managed identity exists. Which additional requirement should be inspected?

  1. Give the policy definition an additional tag alias but leave the remediation managed identity without target write permissions.
  2. Give the compliance reviewer a role in the portal without granting the policy assignment managed identity any relevant resource actions.
  3. Whether the policy assignment identity has required resource write permissions
  4. Increase the Log Analytics workspace retention period and it grants the policy assignment identity permission to remediate tags.

Explanation

Correct Answer

C:

A remediation task must be authorized for the actual write operations; merely creating a managed identity does not guarantee sufficient scope/roles.

Incorrect Answers

A:

Aliases identify evaluated properties; they cannot grant the assignment identity the resource operations required to remediate missing tags.

B:

The modify remediation runs as the policy assignment identity, not the reviewer. Its access must authorize the actual tag writes.

D:

Log retention has no relation to ARM write authorization granted to the policy assignment’s managed identity.

Question 552

A security initiative contains several definitions that need a shared approved list of deployment regions. Which design reduces the risk of conflicting location values during assignment?

  1. Expose an initiative parameter and pass its value to participating policy definitions
  2. Hard-code the regions separately in each child policy definition instead of mapping a shared initiative assignment parameter.
  3. Use resource-group tags as the only source for every child policy definition, without mapping the initiative assignment parameter.
  4. Set a subscription policy parameter named AllowedRegions without mapping it into the initiative definitions that actually enforce locations.

Explanation

Correct Answer

A:

Initiative parameter mapping lets the assignment supply a consistent value to relevant member policies.

Incorrect Answers

B:

Duplicating values across policies can drift when approved regions change. Initiative parameter mapping centralizes the inputs.

C:

Initiative parameters must be passed to the child definitions as specified; arbitrary group tags do not automatically populate child parameters.

D:

A standalone assignment parameter does not automatically propagate to child policy definitions; initiative parameter mappings must be explicit.

Question 553

A new Policy deny rule rejects deployment of VM sizes outside a standard list. An old VM of an unapproved size remains online after assignment. Which outcome is expected?

  1. The existing VM must be stopped immediately by Azure Policy
  2. The VM can be recorded noncompliant while subsequent evaluated writes can be denied
  3. Assigning Azure Policy deny retroactively renames a noncompliant VM to an allowed SKU without an update request.
  4. A policy deny rule automatically becomes a subscription budget when it detects an existing obsolete VM SKU.

Explanation

Correct Answer

B:

Existing noncompliant resources may continue running, but future create or update operations are checked against policy.

Incorrect Answers

A:

A deny policy does not automatically shut down or remediate all existing running resources.

C:

Deny does not automatically modify existing VM sizes. Existing resources may be flagged and later evaluated write operations blocked.

D:

Policy compliance and Cost Management budgets are distinct; a deny effect does not create a billing alert or budget.

Question 554

A cost team proposes putting customer API keys in Azure resource tags so they appear in billing exports. What should the platform administrator recommend?

  1. Encrypt a secret in a resource tag with a key stored on the same VM and normal tag read permissions are equivalent to secret-store access controls.
  2. Use tags because only subscription Owners can ever read them
  3. Keep secrets in a protected secret service and reserve tags for non-sensitive classification
  4. Put the credential in an Azure Policy parameter default and assign it broadly, and policy definitions are confidential.

Explanation

Correct Answer

C:

Resource tags are metadata that can propagate into inventory and cost tools and should not contain credentials.

Incorrect Answers

A:

Azure resource tags are broadly visible metadata and are not a secure secret storage service, regardless of ad hoc encoded values.

B:

Tags may be visible to readers and reports, so they are not secret storage.

D:

Governance policy configurations are not a secret store, and embedding reusable API keys in parameter defaults risks disclosure.

Question 555

A cloud engineer attempts to deploy a VM directly into an Azure management group so all child subscriptions can use it. What should the engineer do?

  1. Deploy the VM to a resource group in a specific subscription
  2. Create a VM in the management group root with no subscription
  3. Use an Azure Policy initiative as the VM host
  4. Assign the virtual machine to an Entra security group and directory group becomes an Azure resource deployment container.

Explanation

Correct Answer

A:

Management groups organize subscription governance and role scope, but compute resources require a resource group under a subscription.

Incorrect Answers

B:

A VM cannot exist as an unmanaged child of a management group.

C:

Policy definitions are governance artifacts, not compute hosts.

D:

Microsoft Entra security groups hold identity principals; Azure VMs require a subscription and resource group.

Question 556

An enterprise has finance, research, and production management groups. Finance wants one subscription simultaneously assigned as a direct child of Finance and Production. What hierarchy constraint applies?

  1. Add the subscription as a direct child of both Finance and Engineering management groups, and it will have two simultaneous policy-parent paths.
  2. Copy the subscription record to a second management group and both hierarchy entries refer to one live subscription without changing its parent.
  3. Add an Azure management-group role assignment for Finance at the subscription and it establishes a second hierarchy parent.
  4. Each subscription has one direct management-group parent at a time

Explanation

Correct Answer

D:

To apply multiple governance needs, use ancestor assignments or policy design rather than attempting two direct parents.

Incorrect Answers

A:

An Azure subscription has only one direct management-group parent; multiple inheritance paths cannot be created by adding two parents.

B:

Duplicating hierarchy metadata does not create a supported second direct parent for a subscription.

C:

Role assignments grant access but do not alter the one-parent management-group hierarchy constraint for subscription placement.

Question 557

An engineer deploys expensive compute and checks the Cost Management chart two minutes later. It still shows yesterday's lower value. What is the appropriate conclusion?

  1. Azure cost reports must show new charges instantaneously
  2. Cost data may lag and should not be treated as real-time resource telemetry
  3. The absence of a cost entry for newly created VMs proves that deployment failed even if the Azure resource state is Running.
  4. Change Cost Management budget reporting from a monthly to a daily time grain and two-minute-old usage has been ingested.

Explanation

Correct Answer

B:

Use usage and cost reporting with awareness of ingestion delays, not as a per-minute capacity monitor.

Incorrect Answers

A:

Billing and usage ingestion can be delayed relative to resource creation.

C:

Azure cost ingestion can lag resource creation, so cost report absence is not reliable immediate compute deployment telemetry.

D:

A daily reporting period does not guarantee near-instantaneous cost ingestion; budgets and cost analysis cannot be treated like real-time usage metrics.

Question 558

The finance owner wants separate notifications when resources in one project's resource group reach 80% of forecast spending, without including the rest of the subscription. Which configuration is appropriate?

  1. Create a cost budget at the resource-group scope and configure the forecast threshold alert
  2. Place a ReadOnly management lock on the resource group instead of creating a budget, and use that lock to calculate cost forecasts.
  3. Create an Azure Monitor alert based only on VM Percentage CPU and the metric reflects resource-group cost forecasts.
  4. Create a subscription-wide budget instead of a resource-group budget and the notification excludes all other groups automatically.

Explanation

Correct Answer

A:

A scope-specific budget tracks costs for that project and can notify at a chosen projected threshold.

Incorrect Answers

B:

A management lock restricts resource changes; it neither tracks cumulative spend nor sends a Cost Management forecast alert.

C:

CPU metrics reflect resource performance rather than all billable resource-group costs or projected spend.

D:

A subscription budget aggregates unrelated spend unless separately scoped or filtered; a resource-group budget is more precise.

Question 559

Azure Advisor recommends reducing a VM size after observing low recent CPU use. The application owner reports occasional memory-heavy month-end workloads. What should the team do?

  1. Resize immediately because an Advisor recommendation guarantees there were no peak CPU or memory constraints outside the reported period.
  2. Ignore all Advisor recommendations permanently
  3. Accept the size reduction solely because CPU was low during the last week, without checking month-end memory or performance peaks.
  4. Validate peak utilization and service requirements before accepting the right-size suggestion

Explanation

Correct Answer

D:

Advisor provides a signal; resizing should consider seasonal peaks, memory, availability and business risk.

Incorrect Answers

A:

Advisor insights are decision support, not a guarantee that business peaks or workload memory requirements are absent.

B:

Recommendations can be valuable when validated against workload needs.

C:

A short CPU-only observation omits the known periodic memory-heavy usage and could lead to avoidable performance failures after downsizing.

Question 560

An engineering subscription requires the Environment tag to be appended during resource creation if missing, but a compliant existing tag must never be overwritten. Which policy effect and behavior best match?

  1. Use the append effect with a condition that targets resources missing the tag
  2. Use a modify policy without an authorized managed identity and run remediation against all existing resources to populate missing tags.
  3. Configure Azure Policy deny for requests missing Environment and use the rejection itself to populate the missing tag value.
  4. Configure auditIfNotExists for Environment tags and use its compliance evaluation as the create-time mutation of tag values.

Explanation

Correct Answer

A:

Append adds specified fields during applicable create/update requests; it is suited to preventing missing metadata, not retroactively repairing old resources.

Incorrect Answers

B:

Correcting already deployed resources under modify requires a policy assignment identity with the necessary resource permissions and an eligible remediation task.

C:

Deny prevents an out-of-policy request; it does not inject the missing tag. An append effect with a missing-tag condition matches the create-time requirement.

D:

AuditIfNotExists identifies noncompliance rather than adding or updating the tag during a resource create/update.