Pass Your Microsoft AZ-104 Exam Easy!

Microsoft AZ-104 Exam Questions & Answers, Accurate & Verified By IT Experts

Instant Download, Free Fast Updates, 99.6% Pass Rate

AZ-104 Premium Bundle

$79.99

Microsoft AZ-104 Premium Bundle

AZ-104 Premium File: 606 Questions & Answers

Last Update: Sep 24, 2026

AZ-104 Training Course: 132 Video Lectures

AZ-104 PDF Study Guide: 458 Pages

AZ-104 Bundle gives you unlimited access to "AZ-104" files. However, this does not replace the need for a .vce exam simulator. To download VCE exam simulator click here
Microsoft AZ-104 Premium Bundle
Microsoft AZ-104 Premium Bundle

AZ-104 Premium File: 606 Questions & Answers

Last Update: Sep 24, 2026

AZ-104 Training Course: 132 Video Lectures

AZ-104 PDF Study Guide: 458 Pages

$79.99

AZ-104 Bundle gives you unlimited access to "AZ-104" files. However, this does not replace the need for a .vce exam simulator. To download your .vce exam simulator click here

Microsoft AZ-104 Practice Test 32

Question 310

A developer increases App Service plan size but calls it instance scale-out. What is the distinction?

  1. Recognize that the App Service plan provisions shared compute capacity for its apps
  2. Check plan-tier instance limits and move to a supported tier if justified
  3. Use scale-up to change worker SKU and scale-out to change instance count
  4. Use a compatible operating-system and regional App Service plan

Explanation

Correct Answer

C:

'Use scale-up to change worker SKU and scale-out to change instance count' fits the case in which a developer increases App Service plan size but calls it instance scale-out because vertical and horizontal scaling solve different capacity limits and may have different costs. By contrast, 'Recognize that the App Service plan provisions shared compute capacity for its apps' addresses a different condition: plan CPU/memory and instance count can affect all apps sharing the same plan; it would not establish the outcome needed for this particular Azure resource. For 'Use scale-up to change worker SKU and scale-out to change instance count', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'Recognize that the App Service plan provisions shared compute capacity for its apps' applies to a different feature boundary because plan CPU/memory and instance count can affect all apps sharing the same plan. In the stated scenario where a developer increases App Service plan size but calls it instance scale-out, 'Recognize that the App Service plan provisions shared compute capacity for its apps' does not satisfy the mechanism that vertical and horizontal scaling solve different capacity limits and may have different costs. The necessary action is 'Use scale-up to change worker SKU and scale-out to change instance count', which should be checked against this Azure resource's actual permissions and state.

B:

The nearby action 'Check plan-tier instance limits and move to a supported tier if justified' is associated with this separate need: an App Service application cannot scale to the requested number of instances on its current tier. That is because autoscale rules cannot bypass platform limits of the selected compute plan. Here a developer increases App Service plan size but calls it instance scale-out, so 'Check plan-tier instance limits and move to a supported tier if justified' misses the fact that vertical and horizontal scaling solve different capacity limits and may have different costs. 'Use scale-up to change worker SKU and scale-out to change instance count' is the more defensible action; confirm its behavior in the target service before calling the task complete.

D:

When a Linux web app is added to an existing Windows App Service plan in a different region, the action 'Use a compatible operating-system and regional App Service plan' can be relevant: apps on a plan must satisfy the plan's platform and region constraints. For the different problem of a developer increases App Service plan size but calls it instance scale-out, 'Use a compatible operating-system and regional App Service plan' misses the mechanism that vertical and horizontal scaling solve different capacity limits and may have different costs. Choosing 'Use a compatible operating-system and regional App Service plan' would address that other need, whereas 'Use scale-up to change worker SKU and scale-out to change instance count' is intended to solve the stated condition.

Question 311

An Azure App Service app runs on a Standard-tier plan with two workers. The operations team wants a third worker only when **average CPU remains above 70% for ten minutes**, and wants to avoid repeated scaling from brief spikes. Which scaling configuration fits?

  1. Enable App Service automatic scaling based only on HTTP traffic and assume it evaluates the requested CPU threshold.
  2. Configure Azure Monitor autoscale on the App Service plan with an average CPU metric rule, ten-minute evaluation window, safe instance limits and cooldown.
  3. Create an Azure Monitor CPU metric alert that emails operations at 70% but never changes the App Service plan worker count.
  4. Scale up the existing workers to a larger CPU/memory SKU while keeping the plan fixed at two instances.
  5. Manually increase the plan to three workers at the beginning of every day without using the measured ten-minute CPU condition.

Explanation

Correct Answer

B:

Azure Monitor autoscale supports CPU-based rules for an eligible App Service plan. Use average CPU and a ten-minute evaluation window before an Increase action adds a worker, set a sensible minimum of two and maximum allowing at least three, and choose a cooldown so transient oscillations do not produce excessive changes. App Service autoscale applies to the plan's workers rather than a separate per-app HTTP-traffic automatic scaling scheme. A complementary lower scale-in threshold should be tested to avoid flapping; alerts and logs should capture actual scale decisions and application latency after scaling.

Incorrect Answers

A:

App Service automatic scaling and Azure Monitor autoscale are distinct capabilities. Automatic scaling reacts to incoming HTTP traffic and supports per-app limits on eligible Premium tiers; it does not implement the requested rule that average CPU exceed a threshold for a defined ten-minute interval. This example uses a Standard-tier plan and requires a CPU-based metric decision. The administrator should configure Azure Monitor autoscale for the plan with the appropriate time aggregation, eligible min/max worker limits and cooldown. Avoid interpreting any platform-driven scaling feature as interchangeable with CPU-triggered autoscale.

C:

A CPU metric alert can tell an operator that a threshold has been reached, but notifications alone do not add an App Service worker. The stated requirement is an automatic capacity change when sustained measured CPU exceeds 70%, not merely visibility into performance. Azure Monitor autoscale uses profiles, metric rules, time windows and actions that can increase instance count. The team can retain a metric alert for observability, but must independently configure an autoscale rule tied to the App Service plan to meet the capacity requirement.

D:

Increasing the App Service plan's pricing tier or worker size is scale-up: each worker gets greater CPU, memory or features. It leaves the number of instances at two and does not automatically add a third worker when the specified sustained CPU condition occurs. Vertical scaling might be justified for per-instance memory pressure or unsupported scale-out limits, but that is a separate decision. The request expressly asks for a conditional increase in worker count, so choose metric-based autoscale with a valid scale-out action and appropriate bounds.

E:

A fixed daily change to three workers can provide additional capacity at predictable times, but it is not conditioned on average CPU exceeding 70% for ten minutes. It can waste cost on quiet days and still arrive too late during unexpected load. Scheduled autoscale is useful for a documented periodic workload, while metric-based autoscale responds to observed utilization. Here the owner specified an operational metric and an evaluation window, so attach the autoscale rule to the App Service plan and verify its min/max and cooldown settings.

Question 312

An App Service application cannot scale to the requested number of instances on its current tier. What should be checked?

  1. Check plan-tier instance limits and move to a supported tier if justified
  2. Use a compatible operating-system and regional App Service plan
  3. Use scale-up to change worker SKU and scale-out to change instance count
  4. Turn on deployment slots without checking whether the current App Service tier supports the needed instance count

Explanation

Correct Answer

A:

'Check plan-tier instance limits and move to a supported tier if justified' fits the case in which an App Service application cannot scale to the requested number of instances on its current tier because autoscale rules cannot bypass platform limits of the selected compute plan. By contrast, 'Use a compatible operating-system and regional App Service plan' addresses a different condition: apps on a plan must satisfy the plan's platform and region constraints; it would not establish the outcome needed for this particular Azure resource. For 'Check plan-tier instance limits and move to a supported tier if justified', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

B:

When a Linux web app is added to an existing Windows App Service plan in a different region, the action 'Use a compatible operating-system and regional App Service plan' can be relevant: apps on a plan must satisfy the plan's platform and region constraints. For the different problem of an App Service application cannot scale to the requested number of instances on its current tier, 'Use a compatible operating-system and regional App Service plan' misses the mechanism that autoscale rules cannot bypass platform limits of the selected compute plan. Choosing 'Use a compatible operating-system and regional App Service plan' would address that other need, whereas 'Check plan-tier instance limits and move to a supported tier if justified' is intended to solve the stated condition.

C:

'Use scale-up to change worker SKU and scale-out to change instance count' applies to a different feature boundary because vertical and horizontal scaling solve different capacity limits and may have different costs. In the stated scenario where an App Service application cannot scale to the requested number of instances on its current tier, 'Use scale-up to change worker SKU and scale-out to change instance count' does not satisfy the mechanism that autoscale rules cannot bypass platform limits of the selected compute plan. The necessary action is 'Check plan-tier instance limits and move to a supported tier if justified', which should be checked against this Azure resource's actual permissions and state.

D:

Deployment slots facilitate staging and controlled swaps, but they do not automatically raise an App Service plan’s maximum scale-out capacity. The symptom is an instance-count limit on the current tier. Check the plan’s supported scale and regional SKU quotas, then select a suitable tier if approved. Changing a deployment workflow feature cannot by itself authorize the requested number of worker instances.

Question 313

An existing Windows Azure App Service app must host a new .NET release that depends on a Linux-only native library. The deployment fails because the current app uses Windows, and the business accepts a controlled cutover. What App Service deployment approach is supported?

  1. Move the existing Windows web app into a Linux App Service plan without recreating the app
  2. Rotate application secrets and assume that will make Windows load the Linux native dependency
  3. Provision a compatible Linux App Service app with a supported .NET stack, redeploy the package, and validate the cutover
  4. Collect runtime HTTP 500 logs without changing the incompatible operating system

Explanation

Correct Answer

C:

The key technical constraint is the Linux-only native library: a Windows App Service resource cannot load that dependency, and changing the app’s operating system after creation is not an in-place supported plan switch. Create a new Azure App Service app hosted on a compatible Linux plan and supported .NET runtime, deploy the application package and its native dependencies, and validate health checks, logs, identity permissions, environment variables, networking, TLS and custom-domain routing. Carry out the user-traffic cutover only after a successful functional test, with an agreed rollback. The solution changes the runtime host correctly instead of attempting to treat an incompatible Windows resource as a Linux app.

Incorrect Answers

A:

App Service plans can support different pricing tiers and runtime environments, but a Windows-hosted web app cannot be converted to a Linux web app merely by moving that existing app to a Linux plan. Microsoft documents that changing the operating-system type in that manner is unsupported. The release explicitly requires a Linux-only native dependency, so preserving the Windows application resource would retain the mismatch. Provision a new compatible Linux app, validate the dependencies and runtime stack, replicate needed configuration safely, and switch traffic or custom domains through a controlled deployment. This preserves a supported runtime boundary rather than assuming an OS migration is an in-place plan adjustment.

B:

Secret rotation is important when credentials have leaked or when access controls require an update, but there is no secret-exposure problem in the question. The package depends on a Linux-only native library while the running App Service resource uses Windows. Changing a password or Key Vault reference does not supply the Linux system ABI or filesystem/runtime libraries required by that release. The needed correction is to deploy to an App Service resource created for a compatible Linux runtime and verify actual application startup. Configuration and managed-identity permissions should be migrated appropriately but do not replace a compatible operating system.

D:

Runtime logs are helpful for identifying the failed native library load and for validating a corrected deployment, but reading them is a diagnostic action rather than the necessary fix. The scenario already identifies the unsupported Windows-versus-Linux platform requirement and grants a controlled cutover. Leaving the existing Windows app unchanged would still prevent the Linux-only dependency from loading, even if errors were recorded in greater detail. The administrator should prepare a new Linux App Service deployment with the supported runtime, test application behavior end to end, and switch client routing only after the new environment meets operational requirements.

Question 314

A new web app includes sample credentials in app settings and public build logs. What should the team do before exposing it?

  1. Use a compatible operating-system and regional App Service plan
  2. Remove leaked values and use secure App Service settings, secret references and managed identity
  3. Configure App Service access restrictions for the permitted client ranges
  4. Use supported App Service backup/restore capabilities rather than VM disk backup

Explanation

Correct Answer

B:

'Remove leaked values and use secure App Service settings, secret references and managed identity' fits the case in which a new web app includes sample credentials in app settings and public build logs because application configuration must keep credentials out of public deployment artifacts. By contrast, 'Use a compatible operating-system and regional App Service plan' addresses a different condition: apps on a plan must satisfy the plan's platform and region constraints; it would not establish the outcome needed for this particular Azure resource. For 'Remove leaked values and use secure App Service settings, secret references and managed identity', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'Use a compatible operating-system and regional App Service plan' applies to a different feature boundary because apps on a plan must satisfy the plan's platform and region constraints. In the stated scenario where a new web app includes sample credentials in app settings and public build logs, 'Use a compatible operating-system and regional App Service plan' does not satisfy the mechanism that application configuration must keep credentials out of public deployment artifacts. The necessary action is 'Remove leaked values and use secure App Service settings, secret references and managed identity', which should be checked against this Azure resource's actual permissions and state.

C:

'Configure App Service access restrictions for the permitted client ranges' solves another task because DNS mapping and certificates do not independently filter the client origins allowed to access the app. For the situation where a new web app includes sample credentials in app settings and public build logs, this distractor misses the requirement that application configuration must keep credentials out of public deployment artifacts. Unlike 'Configure App Service access restrictions for the permitted client ranges', 'Remove leaked values and use secure App Service settings, secret references and managed identity' directly targets that requirement; its success must be confirmed at the authorized resource scope.

D:

When a developer proposes Azure VM backup for a PaaS Web App that runs on App Service, the action 'Use supported App Service backup/restore capabilities rather than VM disk backup' can be relevant: App Service does not give the tenant an ordinary VM disk to protect with VM Recovery Services policy. For the different problem of a new web app includes sample credentials in app settings and public build logs, 'Use supported App Service backup/restore capabilities rather than VM disk backup' misses the mechanism that application configuration must keep credentials out of public deployment artifacts. Choosing 'Use supported App Service backup/restore capabilities rather than VM disk backup' would address that other need, whereas 'Remove leaked values and use secure App Service settings, secret references and managed identity' is intended to solve the stated condition.

Question 315

An App Service resource shows Provisioned, but its default hostname returns HTTP 500. What must be tested?

  1. Check application runtime logs, health endpoint and hostname behavior
  2. Remove leaked values and use secure App Service settings, secret references and managed identity
  3. Configure the supported CNAME mapping and required ownership verification
  4. Select a supported runtime stack and operating system matching the deployed package

Explanation

Correct Answer

A:

'Check application runtime logs, health endpoint and hostname behavior' fits the case in which an App Service resource shows Provisioned, but its default hostname returns HTTP 500 because ARM provisioning success is not proof that application code starts correctly. By contrast, 'Remove leaked values and use secure App Service settings, secret references and managed identity' addresses a different condition: application configuration must keep credentials out of public deployment artifacts; it would not establish the outcome needed for this particular Azure resource. For 'Check application runtime logs, health endpoint and hostname behavior', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

B:

'Remove leaked values and use secure App Service settings, secret references and managed identity' solves another task because application configuration must keep credentials out of public deployment artifacts. For the situation where an App Service resource shows Provisioned, but its default hostname returns HTTP 500, this distractor misses the requirement that ARM provisioning success is not proof that application code starts correctly. Unlike 'Remove leaked values and use secure App Service settings, secret references and managed identity', 'Check application runtime logs, health endpoint and hostname behavior' directly targets that requirement; its success must be confirmed at the authorized resource scope.

C:

When a company maps `portal.example.test` to an App Service default hostname, the action 'Configure the supported CNAME mapping and required ownership verification' can be relevant: CNAME commonly maps a subdomain to the app hostname; apex domains have different constraints. For the different problem of an App Service resource shows Provisioned, but its default hostname returns HTTP 500, 'Configure the supported CNAME mapping and required ownership verification' misses the mechanism that ARM provisioning success is not proof that application code starts correctly. Choosing 'Configure the supported CNAME mapping and required ownership verification' would address that other need, whereas 'Check application runtime logs, health endpoint and hostname behavior' is intended to solve the stated condition.

D:

'Select a supported runtime stack and operating system matching the deployed package' applies to a different feature boundary because a correctly uploaded artifact can still fail startup on an incompatible hosting environment. In the stated scenario where an App Service resource shows Provisioned, but its default hostname returns HTTP 500, 'Select a supported runtime stack and operating system matching the deployed package' does not satisfy the mechanism that ARM provisioning success is not proof that application code starts correctly. The necessary action is 'Check application runtime logs, health endpoint and hostname behavior', which should be checked against this Azure resource's actual permissions and state.

Question 316

A site uses a custom domain and requires a valid certificate for visitors. What should be installed?

  1. Verify required DNS ownership TXT/CNAME records and successful domain verification
  2. Renew and validate the certificate binding ahead of expiry
  3. Bind a supported TLS certificate to the custom hostname in App Service
  4. Correct the DNS verification record and retry domain validation
  5. Use supported App Service backup/restore capabilities rather than VM disk backup

Explanation

Correct Answer

C:

'Bind a supported TLS certificate to the custom hostname in App Service' fits the case in which a site uses a custom domain and requires a valid certificate for visitors because a valid certificate must match the requested domain and be associated with the app binding. By contrast, 'Verify required DNS ownership TXT/CNAME records and successful domain verification' addresses a different condition: domain proof and DNS routing must align; a copied hostname alone is not adequate authorization; it would not establish the outcome needed for this particular Azure resource. For 'Bind a supported TLS certificate to the custom hostname in App Service', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'Verify required DNS ownership TXT/CNAME records and successful domain verification' solves another task because domain proof and DNS routing must align; a copied hostname alone is not adequate authorization. For the situation where a site uses a custom domain and requires a valid certificate for visitors, this distractor misses the requirement that a valid certificate must match the requested domain and be associated with the app binding. Unlike 'Verify required DNS ownership TXT/CNAME records and successful domain verification', 'Bind a supported TLS certificate to the custom hostname in App Service' directly targets that requirement; its success must be confirmed at the authorized resource scope.

B:

When a production website certificate expires next month, the action 'Renew and validate the certificate binding ahead of expiry' can be relevant: certificate rotation is independent of an application runtime upgrade; test real HTTPS access. For the different problem of a site uses a custom domain and requires a valid certificate for visitors, 'Renew and validate the certificate binding ahead of expiry' misses the mechanism that a valid certificate must match the requested domain and be associated with the app binding. Choosing 'Renew and validate the certificate binding ahead of expiry' would address that other need, whereas 'Bind a supported TLS certificate to the custom hostname in App Service' is intended to solve the stated condition.

D:

The nearby action 'Correct the DNS verification record and retry domain validation' is associated with this separate need: a custom hostname refuses to bind because App Service cannot verify ownership. That is because changing TLS cipher settings cannot repair missing DNS proof of control. Here a site uses a custom domain and requires a valid certificate for visitors, so 'Correct the DNS verification record and retry domain validation' misses the fact that a valid certificate must match the requested domain and be associated with the app binding. 'Bind a supported TLS certificate to the custom hostname in App Service' is the more defensible action; confirm its behavior in the target service before calling the task complete.

E:

'Use supported App Service backup/restore capabilities rather than VM disk backup' solves another task because App Service does not give the tenant an ordinary VM disk to protect with VM Recovery Services policy. For the situation where a site uses a custom domain and requires a valid certificate for visitors, this distractor misses the requirement that a valid certificate must match the requested domain and be associated with the app binding. Unlike 'Use supported App Service backup/restore capabilities rather than VM disk backup', 'Bind a supported TLS certificate to the custom hostname in App Service' directly targets that requirement; its success must be confirmed at the authorized resource scope.

Question 317

Users reach the right site name but receive a certificate hostname mismatch. What should be verified?

  1. Correct the DNS verification record and retry domain validation
  2. Check the custom hostname binding and TLS certificate subject/SAN coverage
  3. Renew and validate the certificate binding ahead of expiry
  4. Verify required DNS ownership TXT/CNAME records and successful domain verification

Explanation

Correct Answer

B:

'Check the custom hostname binding and TLS certificate subject/SAN coverage' fits the case in which users reach the right site name but receive a certificate hostname mismatch because correct DNS routing alone does not establish a certificate valid for that requested name. By contrast, 'Correct the DNS verification record and retry domain validation' addresses a different condition: changing TLS cipher settings cannot repair missing DNS proof of control; it would not establish the outcome needed for this particular Azure resource. For 'Check the custom hostname binding and TLS certificate subject/SAN coverage', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

When a custom hostname refuses to bind because App Service cannot verify ownership, the action 'Correct the DNS verification record and retry domain validation' can be relevant: changing TLS cipher settings cannot repair missing DNS proof of control. For the different problem of users reach the right site name but receive a certificate hostname mismatch, 'Correct the DNS verification record and retry domain validation' misses the mechanism that correct DNS routing alone does not establish a certificate valid for that requested name. Choosing 'Correct the DNS verification record and retry domain validation' would address that other need, whereas 'Check the custom hostname binding and TLS certificate subject/SAN coverage' is intended to solve the stated condition.

C:

The nearby action 'Renew and validate the certificate binding ahead of expiry' is associated with this separate need: a production website certificate expires next month. That is because certificate rotation is independent of an application runtime upgrade; test real HTTPS access. Here users reach the right site name but receive a certificate hostname mismatch, so 'Renew and validate the certificate binding ahead of expiry' misses the fact that correct DNS routing alone does not establish a certificate valid for that requested name. 'Check the custom hostname binding and TLS certificate subject/SAN coverage' is the more defensible action; confirm its behavior in the target service before calling the task complete.

D:

'Verify required DNS ownership TXT/CNAME records and successful domain verification' solves another task because domain proof and DNS routing must align; a copied hostname alone is not adequate authorization. For the situation where users reach the right site name but receive a certificate hostname mismatch, this distractor misses the requirement that correct DNS routing alone does not establish a certificate valid for that requested name. Unlike 'Verify required DNS ownership TXT/CNAME records and successful domain verification', 'Check the custom hostname binding and TLS certificate subject/SAN coverage' directly targets that requirement; its success must be confirmed at the authorized resource scope.

Question 318

A production website certificate expires next month. What maintenance avoids a renewal outage?

  1. Check the custom hostname binding and TLS certificate subject/SAN coverage
  2. Rebind the same expiring TLS certificate to the existing App Service hostname without renewing or replacing its certificate validity
  3. Renew and validate the certificate binding ahead of expiry
  4. Check application runtime logs, health endpoint and hostname behavior

Explanation

Correct Answer

C:

'Renew and validate the certificate binding ahead of expiry' fits the case in which a production website certificate expires next month because certificate rotation is independent of an application runtime upgrade; test real HTTPS access. By contrast, 'Check the custom hostname binding and TLS certificate subject/SAN coverage' addresses a different condition: correct DNS routing alone does not establish a certificate valid for that requested name; it would not establish the outcome needed for this particular Azure resource. For 'Renew and validate the certificate binding ahead of expiry', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'Check the custom hostname binding and TLS certificate subject/SAN coverage' applies to a different feature boundary because correct DNS routing alone does not establish a certificate valid for that requested name. In the stated scenario where a production website certificate expires next month, 'Check the custom hostname binding and TLS certificate subject/SAN coverage' does not satisfy the mechanism that certificate rotation is independent of an application runtime upgrade; test real HTTPS access. The necessary action is 'Renew and validate the certificate binding ahead of expiry', which should be checked against this Azure resource's actual permissions and state.

B:

A TLS binding associates a certificate with the custom hostname, but rebinding the same certificate cannot extend its validity period. The deployment would still present a certificate that expires next month, leaving the site's renewal outage risk unchanged. Maintenance should obtain a renewed or replacement supported certificate covering the hostname, install and bind the new certificate, and validate actual HTTPS traffic before the old credential expires. A successful portal binding operation alone is not evidence that the newly served certificate has a later expiration date.

D:

When an App Service resource shows Provisioned, but its default hostname returns HTTP 500, the action 'Check application runtime logs, health endpoint and hostname behavior' can be relevant: ARM provisioning success is not proof that application code starts correctly. For the different problem of a production website certificate expires next month, 'Check application runtime logs, health endpoint and hostname behavior' misses the mechanism that certificate rotation is independent of an application runtime upgrade; test real HTTPS access. Choosing 'Check application runtime logs, health endpoint and hostname behavior' would address that other need, whereas 'Renew and validate the certificate binding ahead of expiry' is intended to solve the stated condition.

Question 319

An Azure App Service custom subdomain has already passed domain-ownership verification. A user now needs portal.example.test to route to the app default hostname, but authoritative public DNS has no CNAME for that subdomain. Which DNS mapping should the administrator add?

  1. Configure App Service access restrictions for the permitted client ranges
  2. Use a compatible operating-system and regional App Service plan
  3. Check application runtime logs, health endpoint and hostname behavior
  4. Create the supported CNAME from portal.example.test to the App Service default hostname, retaining the already verified ownership record
  5. Correct the DNS verification record and retry domain validation

Explanation

Correct Answer

D:

A custom App Service subdomain generally uses a CNAME record that directs the requested name to the app's default Azure hostname. The question states that domain ownership verification has already succeeded, so the missing element is not a new verification token or TLS certificate; it is the actual DNS mapping. Publish the correct authoritative CNAME for portal.example.test, preserve any required ownership TXT record, allow DNS propagation and confirm successful resolution before testing the hostname binding and HTTPS configuration. Verification proves ownership but cannot route visitors unless the hostname's DNS address path exists.

Incorrect Answers

A:

The nearby action 'Configure App Service access restrictions for the permitted client ranges' is associated with this separate need: only three partner office IPs should reach a public App Service endpoint. That is because DNS mapping and certificates do not independently filter the client origins allowed to access the app. Here a company maps `portal.example.test` to an App Service default hostname, so 'Configure App Service access restrictions for the permitted client ranges' misses the fact that CNAME commonly maps a subdomain to the app hostname; apex domains have different constraints. 'Create the supported CNAME from portal.example.test to the App Service default hostname, retaining the already verified ownership record' is the more defensible action; confirm its behavior in the target service before calling the task complete.

B:

'Use a compatible operating-system and regional App Service plan' solves another task because apps on a plan must satisfy the plan's platform and region constraints. For the situation where a company maps `portal.example.test` to an App Service default hostname, this distractor misses the requirement that CNAME commonly maps a subdomain to the app hostname; apex domains have different constraints. Unlike 'Use a compatible operating-system and regional App Service plan', 'Create the supported CNAME from portal.example.test to the App Service default hostname, retaining the already verified ownership record' directly targets that requirement; its success must be confirmed at the authorized resource scope.

C:

When an App Service resource shows Provisioned, but its default hostname returns HTTP 500, the action 'Check application runtime logs, health endpoint and hostname behavior' can be relevant: ARM provisioning success is not proof that application code starts correctly. For the different problem of a company maps `portal.example.test` to an App Service default hostname, 'Check application runtime logs, health endpoint and hostname behavior' misses the mechanism that CNAME commonly maps a subdomain to the app hostname; apex domains have different constraints. Choosing 'Check application runtime logs, health endpoint and hostname behavior' would address that other need, whereas 'Create the supported CNAME from portal.example.test to the App Service default hostname, retaining the already verified ownership record' is intended to solve the stated condition.

E:

Correcting a DNS ownership-verification record can solve an App Service domain validation failure, but this case explicitly says ownership verification already passed. The reported defect is the absence of the subdomain's routing CNAME. Altering the existing valid asuid verification token will not create the required alias record and can even break a future ownership check. Configure the CNAME target to the application's default hostname, verify that clients resolve it and then test the custom-hostname binding.

Question 320

Before adding a new custom hostname to Azure App Service, the administrator must prove ownership of the domain. The DNS records have not yet been verified and no invalid record has been identified. Which check establishes the required ownership proof?

  1. Assume a TLS certificate for a similarly named hostname proves DNS ownership without checking the required verification records.
  2. Check only whether the running application returns HTTP 200 at its default azurewebsites.net host.
  3. Bind an arbitrary TLS certificate before performing any required hostname ownership checks.
  4. Verify the appropriate DNS ownership TXT/CNAME records and successful App Service domain verification.

Explanation

Correct Answer

D:

Azure App Service validates a custom domain through supported DNS mapping and ownership verification. The administrator must inspect the applicable A or CNAME mapping, and where required the `asuid` TXT verification record provided by App Service, then confirm the expected values have propagated through authoritative public DNS. This is distinct from simply having a valid certificate or a running app on the default azurewebsites.net hostname. The scenario does not establish a record error to repair blindly, so verify the exact domain and Azure-provided token, correct mismatches if observed, and complete the hostname binding only after successful ownership validation.

Incorrect Answers

A:

Possessing a certificate with a related name is not a substitute for the supported App Service custom-domain ownership-validation process. A certificate may be valid for an unrelated hostname or obtained independently of the exact DNS records Azure requests. The scenario says the records have not yet been verified, so skip-assumption would leave domain control unproved. Check the specific host mapping and ownership verification ID or appropriate DNS record as required for this domain type before completing the App Service binding.

B:

A healthy application at its platform-provided hostname demonstrates runtime reachability, not control over a separate external DNS name. An unrelated tenant could have a working app while lacking ownership of the custom hostname it is attempting to bind. The administrator must inspect authoritative public DNS and the appropriate verification record, wait for propagation if necessary, and confirm App Service accepts the custom domain. A default hostname HTTP 200 response does not establish the requested domain's identity.

C:

A certificate binding protects TLS for a hostname after that hostname is properly configured, but installing an arbitrary certificate cannot bypass Azure's supported domain verification. The problem is not a missing HTTPS listener or expiring certificate; it is the outstanding requirement to prove control of the proposed custom hostname. Determine the correct DNS record type and validation token for the apex or subdomain and confirm Azure recognizes it before performing security-sensitive hostname and certificate binding work.


Microsoft Azure Administrator (AZ-104) Practice Tests

Purchase Individually

AZ-104 Premium File

Premium File
AZ-104 Premium File
606 Q&A
$76.99$69.99

AZ-104 Training Video Course

Training Course
AZ-104 Training Video Course
132 Lectures
$27.49$24.99

AZ-104 Study Guide

Study Guide
AZ-104 Study Guide
458 PDF Pages
$27.49$24.99

Site Search:

 

VISA, MasterCard, AmericanExpress, UnionPay

SPECIAL OFFER: GET 10% OFF

ExamCollection Premium

ExamCollection Premium Files

Pass your Exam with ExamCollection's PREMIUM files!

  • ExamCollection Certified Safe Files
  • Guaranteed to have ACTUAL Exam Questions
  • Up-to-Date Exam Study Material - Verified by Experts
  • Instant Downloads
Enter Your Email Address to Receive Your 10% Off Discount Code
A Confirmation Link will be sent to this email address to verify your login
We value your privacy. We will not rent or sell your email address

SPECIAL OFFER: GET 10% OFF

Use Discount Code:

MIN10OFF

A confirmation link was sent to your e-mail.
Please check your mailbox for a message from support@examcollection.com and follow the directions.

Next

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your e-mail address below to get started with our interactive software demo of your free trial.

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.