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 32

Question 310

A VM application uses its system-assigned managed identity to read a storage container. Administrators mistakenly assign Storage Blob Data Reader to the VM resource owner's human account. Which principal must receive the role?

  1. Assign Storage Blob Data Reader to the person who created VM’s system-assigned identity.
  2. Assign the storage role to the VM’s resource group object rather than to a security principal.
  3. Assign the role to a different user-assigned managed identity that is not attached to the VM.
  4. Assign the appropriate storage data read role to the VM's managed identity principal at the required storage scope.

Explanation

Correct Answer

D:

A system-assigned managed identity has its own service principal representing the VM workload. Storage authorizes that principal, not the person who created it.

Incorrect Answers

A:

The creator’s human identity is not the system-assigned managed service principal authenticating the VM application requests.

B:

Azure RBAC assignments target security principals, not the resource group as an acting identity for application access.

C:

A role granted to an unrelated managed identity cannot authorize tokens issued for this VM’s system-assigned identity.

Question 311

Finance needs a machine-readable daily export of subscription cost data into a secured Azure Storage destination for downstream reporting. Which built-in Cost Management configuration fits?

  1. Subscribe finance to a daily Cost Analysis email report and treat the emailed chart as a structured Azure Storage export dataset.
  2. Configure a subscription Activity Log diagnostic setting to Storage and it contains detailed billed usage.
  3. Create a budget email alert and it automatically writes detailed daily billing files to a container.
  4. Configure a Cost Management export with an appropriate schedule, scope, and authorized storage destination.

Explanation

Correct Answer

D:

Cost Management exports deliver cost datasets on a schedule to a configured destination. Access, data freshness and supported dataset scope need validation.

Incorrect Answers

A:

Cost Analysis reports can inform a reviewer, but a scheduled data export with a configured Storage destination is the appropriate recurring machine-readable feed for downstream processing.

B:

The Activity Log captures management-plane events; it is not the machine-readable Cost Management charge dataset requested.

C:

A budget notification is not the same as a detailed scheduled cost data export.

Question 312

A compliance team wants to report virtual machines that lack an approved diagnostic setting, but the policy must not deploy the setting automatically. Which effect is appropriate?

  1. Use an Azure Policy auditIfNotExists definition that evaluates the absence of the required related diagnostic resource.
  2. Use deployIfNotExists with a privileged identity and claim it cannot change resources.
  3. Assign a nondelete management lock and treat the resulting lock-compliance report as diagnostic-setting coverage.
  4. Use a deny effect to report missing diagnostic settings without preventing deployment or configuration.

Explanation

Correct Answer

A:

auditIfNotExists evaluates a related-resource condition and records compliance without deploying the missing configuration.

Incorrect Answers

B:

deployIfNotExists can perform deployment-based remediation and exceeds the explicit report-only requirement.

C:

A management lock restricts operations; it does not check for the presence of the related diagnostic-setting resource.

D:

A deny effect enforces restrictions on matching operations; auditIfNotExists is the correct missing-related-resource compliance check without remediation.

Question 313

A reusable Azure Policy definition validates that a resource location belongs to a parameterized allowed list. A company needs East US and West Europe for one subscription without changing the global definition. What should be configured?

  1. Set the allowed location list as an Entra dynamic-group membership rule for the subscription administrators.
  2. Modify the location list on the globally shared policy definition for all subscriptions.
  3. Supply the approved regions as parameter values on that subscription's policy assignment.
  4. Edit the global definition in place for every subscription using the shared policy.

Explanation

Correct Answer

C:

Policy parameters let one definition be reused with distinct assignment-level values. The scope and exclusions must also be verified.

Incorrect Answers

A:

Entra group membership rules select identities; they cannot populate Azure Policy assignment parameters that govern resource locations.

B:

Editing the shared definition changes the policy behavior for other consumers rather than supplying per-subscription assignment parameters.

D:

Editing the shared definition may unexpectedly change other assignments and is unnecessary for a parameterized policy.

Question 314

A tenant subscription can create storage accounts but a new supported resource type fails deployment with MissingSubscriptionRegistration. What should the administrator investigate?

  1. Assign Storage Blob Data Owner to the deployment principal and retry the unregistered new resource type.
  2. Register the required Azure resource provider namespace in the subscription with appropriate authorization.
  3. Set a newer API version for the new resource type without examining its registration state.
  4. Register the resource provider in a different subscription within the tenant.

Explanation

Correct Answer

B:

Resource provider registration enables a subscription to use supported resource namespaces. Permissions and service availability must also be confirmed.

Incorrect Answers

A:

A storage data role does not register a new ARM resource provider namespace in a subscription reporting MissingSubscriptionRegistration.

C:

An API version alone cannot replace the required subscription registration for the provider reported by the error.

D:

Provider registrations are scoped to subscriptions; registration elsewhere does not resolve this subscription’s missing registration.

Question 315

A cost budget triggers an alert at 90 percent. Finance wants a reviewed automation to notify a ticketing workflow, but does not expect the budget itself to stop workloads. Which design can connect the alert to an action?

  1. Create only a cost forecast budget alert email with no action-group or automation integration.
  2. Configure a metric alert action group for VM CPU instead of connecting the Cost Management budget notification.
  3. Configure a supported budget alert with an action group integration or automation trigger and separately authorize any remediation action.
  4. Create an Azure Policy deny assignment for a particular VM SKU and it activates automatically on budget alerts.

Explanation

Correct Answer

C:

Cost alerts can integrate with supported notification or automation workflows. Any resource-changing action needs its own identity, logic, and change controls.

Incorrect Answers

A:

An alert email can inform humans but does not by itself invoke the requested ticketing automation workflow.

B:

A VM metric alert would react to CPU metrics, not the 90-percent subscription cost budget threshold.

D:

Azure Policy does not inherently consume Cost Management budget thresholds; explicit, authorized alert integration is required.

Question 316

A legacy tool authenticates to Blob Storage using a storage account access key. A team member assumes removing their own Entra Blob Data Contributor role will revoke that key-based tool immediately. What is the correct explanation?

  1. Revoke the Entra refresh tokens of the human account and the storage account key will stop authorizing requests.
  2. Shared Key authorization uses the account credential and requires its own rotation or disabling policy, separate from that user role assignment.
  3. Remove the storage account Reader role from the user and Shared Key signatures will be invalidated.
  4. Reduce the client’s Entra conditional-access policy but continue supplying the same storage account access key.

Explanation

Correct Answer

B:

Storage account keys authenticate requests outside a particular user's data role. Credential lifecycle and account settings control that authorization path.

Incorrect Answers

A:

Refresh-token revocation applies to identity authentication, while access-key-based requests can keep working with a valid account key.

C:

Management-plane Reader grants are separate from storage account key cryptographic authorization and do not revoke a copied key.

D:

Conditional Access on Entra token sign-ins does not revoke requests authenticated directly with the still-valid Shared Key.

Question 317

An integration generates a SAS token starting exactly at the current second, but some clients receive a not-yet-valid error due to clock differences. What should engineers adjust?

  1. Increase the SAS signed permissions from read to full control without adjusting the start time.
  2. Move the token’s start time farther into the future to compensate for clients whose clocks lag behind.
  3. Regenerate the storage account signing key immediately after issuing each SAS, and a new key fixes tokens with a not-yet-valid start time.
  4. Account for clock skew when setting SAS validity windows while keeping token expiry short.

Explanation

Correct Answer

D:

SAS validity checks use signed timestamps; small clock differences can make just-issued tokens appear premature. Appropriate start-time design resolves this.

Incorrect Answers

A:

Permissions do not change when a token becomes valid; overly broad privileges would increase risk without addressing clock skew.

B:

Moving the start time forward usually increases the period when a token is not yet valid, rather than accommodating clock skew.

C:

Regenerating a storage account signing key invalidates SAS tokens derived from its old key. It does not adjust the validity start timestamp or address clock skew.

Question 318

An app places a Blob SAS URL in query parameters and logs complete outbound URLs to a shared debug system. The SAS grants temporary read access to confidential objects. What should the security team change?

  1. Keep storing full signed URLs but make the shared debug log read-only.
  2. Increase the SAS expiry to reduce reauthentication overhead while leaving debug URL logging unchanged.
  3. Redact SAS query parameters from logs and handle issued SAS URLs as bearer credentials with least privilege and short expiry.
  4. Put the SAS URL in an HTTP request header but continue recording that header verbatim in shared logs.

Explanation

Correct Answer

C:

A SAS URL carries authorization in its signature and scope; anyone with the URL may use it while valid. Logging should avoid exposing the secret.

Incorrect Answers

A:

Read-only log access still permits readers of the shared logs to copy and reuse bearer SAS signatures within their validity window.

B:

Longer-lived logged bearer tokens extend the exposure window rather than mitigating credential disclosure.

D:

Moving a bearer secret to a logged header does not prevent unauthorized reuse of the captured token.

Question 319

An administrator attempts to allow a VM's 10.3.2.7 private address in the storage account public endpoint IP firewall. The rule is rejected or ineffective. What should they configure instead?

  1. Allow the VM’s RFC1918 address in the account firewall under an IP rule created using a custom ARM template.
  2. Add the VM’s private address to an NSG allow rule and the storage account public-endpoint firewall now allows it.
  3. Use a supported public outbound source IP for an IP network rule, or use service endpoints or Private Link for VNet access.
  4. Use a 10.3.2.7/32 service SAS IP restriction instead of adding an allowed network path.

Explanation

Correct Answer

C:

Storage public IP firewall rules use supported public IPv4 address ranges rather than arbitrary private VNet addresses. Private network features handle VNet connectivity.

Incorrect Answers

A:

The storage service public-endpoint IP rule constraints do not become valid just because the same private address is supplied by ARM.

B:

An NSG permits subnet traffic but does not create an approved source address or virtual-network rule on the storage resource.

D:

A SAS IP range limits eligible client IPs; it does not override the service network firewall, nor does it make the private IP valid there.

Question 320

A team uses Microsoft Entra-authenticated Blob requests successfully but SMB mounting an Azure file share fails because its supported directory-based authentication has not been set up. What must they configure?

  1. Configure Azure Files' supported SMB identity-based authentication and appropriate share plus filesystem permissions.
  2. Grant Storage Blob Data Reader to the user at the storage account and use the existing Blob OAuth token over SMB.
  3. Grant the user an Azure Files share-level RBAC role but leave directory-based SMB authentication unconfigured.
  4. Enable the file share’s REST API OAuth support and SMB can reuse the same HTTP bearer token.

Explanation

Correct Answer

A:

Azure Files SMB authentication has workload-specific identity configuration and authorization. Blob API login success does not establish the SMB directory integration.

Incorrect Answers

B:

Blob data RBAC and REST OAuth tokens do not supply the SMB identity configuration and share/file authorization for Azure Files.

C:

Share-level authorization alone does not establish the Kerberos-backed identity-based SMB authentication path required by the scenario.

D:

Azure Files REST authentication and SMB directory-based authentication use different protocols; the former does not configure the latter.