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 35

Question 340

A VM SKU is offered in the region, but deployment fails because the subscription has reached the relevant VM family vCPU quota. What should an operator do?

  1. Create a capacity reservation for the same VM family and it automatically raises the regional vCPU quota.
  2. Assign Contributor on the target resource group to clear a regional VM-family quota exhaustion error.
  3. Change the availability zone while retaining the same exhausted family quota without checking other limits.
  4. Check the applicable regional VM family quota and request an approved increase or choose a supported size within quota.

Explanation

Correct Answer

D:

Service quotas can block deployment even when a SKU is regionally available. Capacity and quota are separate limits requiring appropriate checks.

Incorrect Answers

A:

Capacity reservations address available compute allocation; they do not by themselves increase subscription family vCPU quota.

B:

RBAC can authorize deployment actions but cannot increase a subscription quota already exhausted.

C:

Zone placement alone does not remove regional family vCPU quota constraints.

Question 341

A platform team wants an event notification when a build pipeline pushes a new image to an Azure Container Registry repository. Which registry feature should it evaluate?

  1. Enable ACR Tasks to rebuild base images, without configuring a webhook or event receiver.
  2. Grant developers the AcrPush role and the role assignment will emit each repository push event.
  3. Use a supported Azure Container Registry webhook or event integration for push events with appropriate security.
  4. Enable ACR private endpoint networking and a webhook notification is sent for every image push.

Explanation

Correct Answer

C:

Registry event notifications can signal image push activity to a controlled receiver. They do not themselves replace deployment approval.

Incorrect Answers

A:

ACR Tasks can build images but does not by itself deliver the requested push notification to the platform team.

B:

AcrPush authorizes image pushes in registry RBAC mode; permission grants are not event notifications.

D:

A private endpoint controls network access to the registry, not whether an image-push event is delivered.

Question 342

A short-lived container must read reference documents from an existing Azure Files SMB-backed share while it runs. Which supported ACI capability is relevant?

  1. Configure a supported Azure Files volume mount in the container group with necessary credentials and path.
  2. Supply an Azure Blob container SAS as the ACI Azure Files mount password.
  3. Configure a Blob lifecycle management policy and it will attach the Azure Files share to the container group.
  4. Bind the Azure Files share as an ACI environment variable without declaring a volume mount.

Explanation

Correct Answer

A:

ACI supports Azure Files volume mounting in eligible configurations. Credentials and mount permissions should be protected.

Incorrect Answers

B:

Blob SAS grants blob API access, not SMB authentication for an Azure Files volume mount.

C:

Lifecycle rules manage blob tiering and expiry; they cannot mount an SMB-backed Azure Files share.

D:

An environment variable alone does not create a mounted filesystem path for reference documents.

Question 343

An Azure Container App serves traffic at its default FQDN. The team added a public CNAME for reports.example.com pointing to that FQDN, but the custom-domain validation step still cannot verify ownership. The certificate has not yet been requested. Which additional DNS record directly satisfies the documented ownership-verification prerequisite for this subdomain?

  1. Create the TXT record asuid at the DNS zone apex only, omitting the reports-specific validation label.
  2. Publish the TXT record asuid.reports with the Container Apps domain verification code in the public DNS zone.
  3. Create a second CNAME named asuid.reports pointing to the Container Apps default FQDN instead of a TXT verification code.
  4. Add a CAA record permitting a certificate authority and CAA authorization proves ownership to Container Apps.

Explanation

Correct Answer

B:

Container Apps uses an asuid.reports TXT record containing its domain verification identifier alongside the CNAME for reports.example.com. The TLS certificate binding is a later step and does not replace ownership validation.

Incorrect Answers

A:

For a subdomain mapped by CNAME, Microsoft documents an asuid.<subdomain> TXT record. An asuid record at the apex doesn't supply the label for reports.example.com.

C:

The asuid.reports label must be a TXT record with the verification value; another CNAME does not provide the expected proof of control.

D:

CAA limits which certificate authorities may issue a certificate for a domain but isn't the Container Apps domain verification identifier required at asuid.reports.

Question 344

A Container App environment secret is rotated but an existing replica still uses the prior value from startup. What should the operator plan?

  1. Follow the supported secret update and app restart or revision rollout behavior so running replicas receive the new value.
  2. Update the secret in the Container App configuration and existing environment variables refresh in every running process immediately.
  3. Rotate the external Key Vault secret while leaving the Container App secret reference and all existing replicas untouched.
  4. Rebuild an unrelated registry image tag without deploying a revision or restarting the live replicas.

Explanation

Correct Answer

A:

Runtime environment variables are commonly read at process startup. Secret rotation needs a controlled refresh path for existing replicas.

Incorrect Answers

B:

A secret configuration change does not necessarily refresh environment variables already loaded by active replicas.

C:

Changing the upstream value does not guarantee that existing processes reload a cached or injected secret.

D:

Registry content changes alone do not cause an already running container process to reread its environment.

Question 345

An Azure Container App listens on port 8080 internally, but its ingress target port is configured as 80. The app is healthy locally yet public requests fail. What should be corrected?

  1. Enable external ingress but leave its targetPort at 80 while the application still listens only on 8080.
  2. Set the supported ingress target port to the port the container actually listens on.
  3. Change the Dockerfile EXPOSE declaration to 80 without changing the application listener or ingress targetPort.
  4. Increase the maximum replica count through an HTTP scale rule, keeping ingress target port 80 unchanged.

Explanation

Correct Answer

B:

Container Apps ingress forwards traffic to the configured target port. It must match the application listener to reach the container.

Incorrect Answers

A:

External visibility does not fix the mismatch between ingress targetPort and the actual container listener.

C:

EXPOSE documents intended ports; it does not relocate a running process from 8080 to 80.

D:

Scale rules change replica count but cannot forward public requests into an application that only listens on 8080 when ingress points to port 80.

Question 346

A team deploys a .NET web app to App Service but selects an incompatible runtime stack version for the hosting environment. Deployment succeeds and the app returns errors at startup. What should the operator verify?

  1. Select a supported runtime stack and version that matches the application's build and hosting requirements.
  2. Redeploy the identical build artifact without modifying the incompatible App Service runtime configuration.
  3. Enable Always On and it installs the required .NET runtime version.
  4. Scale out the App Service plan to more instances without changing the runtime stack.

Explanation

Correct Answer

A:

App Service runtime settings must match the deployed application. A successful artifact upload does not guarantee the process can start under an incompatible runtime.

Incorrect Answers

B:

A second upload can reproduce the same startup failure when the hosting stack remains incompatible.

C:

Always On reduces application idling; it does not select or install an incompatible runtime stack.

D:

Additional hosts reproduce the same environment mismatch rather than correcting application compatibility.

Question 347

A web app is limited to corporate IP ranges using App Service access restrictions, but anyone inside the office network can open confidential pages without signing in. Which additional control is needed?

  1. Keep the corporate IP allowlist and an office network address identifies a specific authorized employee.
  2. Tighten the corporate ingress IP allowlist to fewer office addresses without enabling application user authentication or authorization.
  3. Enable an App Service system-assigned managed identity for calls to backend services, without adding user sign-in.
  4. Configure appropriate application authentication and authorization, such as supported Entra integration, in addition to network filtering.

Explanation

Correct Answer

D:

Network allowlists determine where clients may connect, not who they are. Confidential pages require verified identity and app authorization.

Incorrect Answers

A:

Network location is not user authentication, so colleagues or other devices sharing the approved network are not distinguished.

B:

A more selective network allowlist still identifies source networks, not individual users. Confidential pages need an identity and authorization gate in addition to IP filtering.

C:

A managed identity authenticates the application to downstream resources, not visitors accessing confidential pages.

Question 348

An Azure App Service app shows the previous version after a failed deployment. The team needs to distinguish build failure from host runtime failure. Which evidence is most appropriate?

  1. Check only resource health in Azure Service Health and it records the CI build and App Service process logs.
  2. Inspect deployment center or deployment logs plus application runtime logs for the relevant release.
  3. Review only App Service CPU charts and skip deployment logs because all failed deployments necessarily produce a CPU spike.
  4. Use the app custom-domain DNS records as the only evidence for whether the deployment package built successfully.

Explanation

Correct Answer

B:

Deployment logs show package/build operations, while runtime logs reveal startup and request failures. Both help isolate the unsuccessful step.

Incorrect Answers

A:

Platform service-health advisories cannot replace per-release deployment and application startup diagnostics.

C:

CPU metrics may aid runtime triage but cannot distinguish package build/deploy failure from app startup problems without relevant release and runtime logs.

D:

DNS resolution does not reveal deployment job outcomes or runtime startup exceptions.

Question 349

A developer deploys a test version to an App Service staging slot and expects the primary production hostname to serve it before a swap. What should they understand?

  1. The staging slot has its own test hostname; production traffic remains on production until routing or swap changes.
  2. Every staging deployment automatically replaces production under the primary hostname.
  3. Mark staging app settings as deployment-slot settings and those settings alone will direct the production hostname to staging before a swap.
  4. Enable App Service backup on the staging slot and backed-up content is now served by production.

Explanation

Correct Answer

A:

Deployment slots provide separate endpoints for validation. Production promotion is a distinct controlled action.

Incorrect Answers

B:

Staging builds do not automatically overwrite production slot traffic.

C:

Sticky settings govern which configuration remains associated with each slot during a swap. They do not themselves transfer production hostname traffic to staging before routing or swap changes.

D:

Backups preserve application state; they do not perform a slot swap or traffic-routing change.

Question 350

An App Service team wants a private endpoint but its current plan tier does not support the needed networking capability. What should the operator evaluate?

  1. Enable outbound VNet integration and it automatically creates a private inbound endpoint on any App Service tier.
  2. Add only a privatelink.azurewebsites.net private DNS zone while retaining the unsupported App Service SKU.
  3. Check the current tier's private endpoint feature eligibility and choose a supported plan SKU if necessary.
  4. Swap the staging slot into production and deployment slot movement upgrades the plan networking capabilities.

Explanation

Correct Answer

C:

App Service networking features depend on the supported plan and platform configuration. Eligibility must be verified before designing private ingress.

Incorrect Answers

A:

VNet integration is for outbound connectivity; it does not replace an eligible private endpoint feature and plan.

B:

DNS configuration is necessary for many private endpoint designs but does not unlock a networking feature unavailable on the current plan.

D:

A slot swap changes running content and configuration placement; it does not alter plan-level private endpoint eligibility.