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 2

Question 10

The on-call team rotates weekly. Every active member should read diagnostic settings for a particular subscription, while departed members must lose access without editing many individual role entries. Which pattern fits?

  1. Assign Owner permanently to all current and former on-call engineers.
  2. Assign Reader to a managed Microsoft Entra security group at the subscription scope and maintain group membership.
  3. Give each rotating engineer a permanent individual Reader assignment and disable the group when the rotation changes.
  4. Assign Reader directly to each on-call individual and manually remove assignments during every shift change.

Explanation

Correct Answer

B:

Group-based role assignment makes the authorization stable while membership changes. Reader allows inspection of resource settings without granting routine resource modification.

Incorrect Answers

A:

Owner is much broader than read access and persists through rotations. It conflicts with both least privilege and automatic removal of departed members.

C:

Individual role assignments remain active independently of any unrelated group disablement; group-scoped RBAC better follows changing membership.

D:

Per-person assignments can technically provide read access, but they recreate the repetitive provisioning and deprovisioning the group is intended to avoid.

Question 11

A compliance team must prevent new Azure resources from being deployed outside two approved regions, while reporting violations to developers immediately. Which resource governance control should it assign?

  1. Assign an Azure Policy with an audit effect for disallowed locations and notify owners of compliance findings.
  2. Assign an Azure Policy initiative containing allowed-region audit checks, but omit all deny effects because monitoring will automatically block deployments.
  3. Assign an Azure Policy definition with a deny effect and the allowed-location condition at the intended scope.
  4. Assign only a CanNotDelete resource lock to existing resource groups.

Explanation

Correct Answer

C:

The deny effect evaluates relevant create/update requests and rejects noncompliant deployments. The definition must reflect any necessary resource-type exclusions and policy scope.

Incorrect Answers

A:

Audit reports noncompliant placements but does not deny creation of resources outside the approved regions, which the stated policy must enforce.

B:

Audit records noncompliance but does not reject resource creation or updates. A correctly scoped deny effect is needed for enforceable region restrictions.

D:

Deletion protection cannot constrain where new resources are created. A lock is not a regional compliance rule.

Question 12

Existing resources lack a CostCenter tag. New resources should receive a valid default tag during supported operations, and eligible existing resources must be corrected. Which governance pattern addresses both?

  1. Add a required CostCenter tag policy with an audit effect and run a compliance scan, treating the scan as a mutation of existing resources.
  2. Use Azure Policy audit alone and it will change existing tags.
  3. Use an Azure Policy modify effect with a suitable managed identity for remediation and run a remediation task on existing resources.
  4. Apply CostCenter to the resource group and rely on automatic resource-group tag inheritance for existing resources.

Explanation

Correct Answer

C:

Modify can add or update supported properties during requests, while remediation covers already deployed resources. Managed identity permissions and any required existence conditions must be configured.

Incorrect Answers

A:

An audit-only policy assesses resource compliance but does not write missing tags. A supported modify effect and remediation task are needed.

B:

Audit records noncompliance but does not automatically alter resource properties. It cannot satisfy the requested correction.

D:

Azure resource tags do not automatically inherit from their parent group; supported policy modification and remediation are needed to update existing children.

Question 13

A production resource group needs to permit ordinary permitted configuration changes but prevent staff from deleting its resources accidentally. Which lock should an administrator use?

  1. Apply an Azure Policy audit definition for deletions, and it will reject Delete operations while continuing to permit ordinary changes.
  2. Apply a ReadOnly lock and all configuration changes remain possible.
  3. Grant only Reader to all staff and their separately assigned Contributor permissions will remain fully effective for configuration changes.
  4. Apply a CanNotDelete lock at the appropriate resource-group scope.

Explanation

Correct Answer

D:

CanNotDelete blocks deletion actions on the scope and descendant resources while allowing other authorized management updates. Administrators must still plan maintenance workflows that require deletion.

Incorrect Answers

A:

Azure Policy audit does not function as a management lock that prevents deletion. CanNotDelete is the correct management-plane protection.

B:

ReadOnly blocks write control-plane operations as well as deletes. It is more restrictive than the requested deletion-only protection.

C:

Azure RBAC grants are additive; adding Reader does not cancel another valid Contributor assignment and cannot enforce the required deletion-only restriction.

Question 14

Finance wants an email notification when a subscription is projected to exceed its monthly cost budget. They assume creating a budget will also suspend all VMs if the threshold is crossed. What should the administrator clarify?

  1. Create a budget with a forecast threshold and firing its alert automatically converts the subscription to a capped billing plan.
  2. Configure auto-shutdown for the subscription’s VMs at the end of each day instead of a forecast budget threshold.
  3. Configure a Cost Management budget and alerts, but explain that a budget does not automatically stop resource consumption.
  4. Attach an Azure Policy deny definition and it will automatically shut down every already-running VM when a Cost Management forecast budget alert fires.

Explanation

Correct Answer

C:

Budgets provide cost visibility and threshold-based notifications. Stopping resources requires a separate explicitly designed and authorized automation, not merely creating the budget.

Incorrect Answers

A:

Budget alerts notify or can trigger configured action groups, but merely creating an Azure Cost Management budget does not enforce a hard service spending cap.

B:

Auto-shutdown is schedule based, not triggered by an Azure Cost Management forecast, and does not provide the requested projected-spend warning.

D:

A deny policy controls supported resource requests; it is not a reactive cost-forecast enforcement engine and does not automatically stop already-running VMs when a budget alert fires.

Question 15

A company has twenty subscriptions grouped under one management group. All subscriptions should inherit the same regional deployment policy, including subscriptions added later. What is the most maintainable assignment scope?

  1. Assign twenty independent policies to one random resource group in each subscription.
  2. Assign the policy to one of the current subscriptions and enable an initiative, and sibling subscriptions and future subscriptions inherit it automatically.
  3. Assign the Azure Policy initiative or definition at the parent management group scope.
  4. Assign the same policy separately at each of the twenty current subscription scopes and rely on it automatically covering future subscriptions.

Explanation

Correct Answer

C:

Policy assigned at a management group can evaluate descendant subscriptions and their resources. This avoids maintaining independent copies for every subscription.

Incorrect Answers

A:

Resource-group assignments would not cover all resources in each subscription. Maintaining many copies also increases drift.

B:

A policy initiative remains scoped to its actual assignment; sibling subscriptions do not inherit a policy assigned only to one subscription.

D:

Subscription-by-subscription assignments apply only to the specific subscriptions selected; new subscriptions do not inherit the assignments automatically.

Question 16

An application issues many service SAS URLs for a Blob container. Security must be able to shorten their permissions centrally without reissuing every URL. What design is appropriate?

  1. Place the SAS URL strings in a Key Vault secret and rotate that secret, and already issued URLs lose their signatures instantly.
  2. Issue only ad hoc account SAS tokens and one container policy will revoke them.
  3. Associate the service SAS tokens with a stored access policy on the container and update or remove that policy when needed.
  4. Make every SAS valid for ten years and depend on a network firewall for revocation.

Explanation

Correct Answer

C:

Stored access policies can control start, expiry and permissions for associated service SAS tokens and provide an administrative revocation path. This association is not supported for account or user-delegation SAS.

Incorrect Answers

A:

Key Vault can secure distribution of URLs but changing the stored secret does not revoke signed service SAS URLs already held by clients.

B:

Account SAS tokens cannot be associated with a stored access policy. Their signatures would not derive restrictions from the policy described.

D:

Long-lived ad hoc tokens enlarge exposure. Network rules are not a substitute for centrally managing delegated token permissions.

Question 17

A data service grants temporary blob upload access to a contractor. Policy requires delegated access without disclosing the storage account key. What type of SAS should the service use when supported?

  1. Generate an account SAS signed with the storage account key.
  2. Create a user delegation SAS using Microsoft Entra credentials and the requested limited blob permissions.
  3. Assign the contractor Storage Blob Data Contributor at the entire subscription and rely on that broad role to deliver a short-lived URL.
  4. Give the contractor the account access key and ask them to delete it later.

Explanation

Correct Answer

B:

A user delegation SAS is signed using a key obtained through Microsoft Entra authorization rather than a storage account key. Its expiration and permission scope still require care.

Incorrect Answers

A:

Account SAS depends on Shared Key rather than Entra delegation. It does not meet the requirement to avoid an account-key-based signature.

C:

An Azure role assignment grants ongoing identity access at its scope rather than producing a narrowly scoped expiring SAS token for the contractor.

D:

An account key can authorize broad storage access. Sharing it violates the explicit requirement and makes independent scope/revocation difficult.

Question 18

An application in an Azure VNet must reach its storage account without traversing a public endpoint. The company can manage private DNS and networking. What connectivity mechanism fits?

  1. Add a storage service endpoint to the application subnet and the storage endpoint will resolve to a private IP in the VNet.
  2. Restrict the public storage endpoint to the VNet subnet with storage firewall rules and no public service endpoint is used.
  3. Add the client subnet to the storage firewall allow list but keep public routing as the only path.
  4. Create the appropriate storage private endpoint and configure private DNS resolution for the storage subresource.

Explanation

Correct Answer

D:

A private endpoint provides a private IP in the VNet for the selected service subresource. Clients must resolve the service name correctly to use it.

Incorrect Answers

A:

A service endpoint secures access to the service public endpoint; it does not provide a private IP on the application VNet as a private endpoint does.

B:

Storage firewall rules can limit permitted clients, but access via the service public endpoint still differs from private endpoint connectivity.

C:

Storage firewall rules can constrain allowed public endpoint access, but do not by themselves provide a private address for the storage service.

Question 19

A developer has Storage Blob Data Contributor at a container but receives a network-access denial while connecting from an unapproved workstation IP. Which part must the admin inspect first?

  1. Rotate the storage account access key to remove the workstation IP block for an Entra-authenticated Blob client.
  2. Review storage firewall and public-network access rules for the client path, separately from data role assignment.
  3. Assign a second identical Storage Blob Data Contributor role at the same scope.
  4. Switch the storage account from locally redundant to geo-redundant replication to permit the workstation to access the blob endpoint.

Explanation

Correct Answer

B:

A valid data-plane RBAC role does not bypass a storage network restriction. Effective access requires both authorization and permitted network reachability.

Incorrect Answers

A:

Changing account keys affects Shared Key authentication, not a network firewall restriction on the source address of this Entra-authenticated request.

C:

Repeating the data role does not overcome a firewall denial. The reported failure is about source reachability, not lack of blob write permission.

D:

Replication controls data durability and geographic copies; it does not change the public network and firewall rules applied to a client IP.

Question 20

Windows users must access an Azure file share over SMB using centrally managed identity rather than distributing storage account keys. The team already controls directory identities. What should it configure?

  1. Configure only Microsoft Entra authentication for Azure portal management and the same management-plane sign-in will authorize SMB file access.
  2. Email the storage-account key to each Windows user.
  3. Grant users Storage File Data SMB Share Reader but leave the supported directory-based authentication mechanism unconfigured.
  4. Configure supported identity-based authentication for Azure Files SMB and grant appropriate share-level and file-system permissions.

Explanation

Correct Answer

D:

Azure Files supports identity-based SMB access with supported identity sources and Azure share roles plus directory/file ACLs. An account-management role alone is not sufficient.

Incorrect Answers

A:

Azure portal management authentication is not sufficient for SMB access; configure supported identity-based Azure Files authentication and required file-share permissions.

B:

Sharing an account key defeats individual identity-based authorization and attribution. It also gives substantially broader authority than a user needs for a file share.

C:

A data-share role is part of authorization, but SMB users must also authenticate through a supported identity integration and satisfy filesystem ACLs.