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 33

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.

Question 321

An existing paid-tier Azure App Service web app must answer at the public root hostname example.test, not only www.example.test. The required asuid TXT ownership verification already succeeds. Public DNS can edit the apex A record but correctly rejects a CNAME at the zone apex. The www subdomain already maps separately to the app default hostname. Which DNS change correctly maps the bare root hostname to this app?

  1. Set the root/apex A record to the App Service app's current inbound IP, retain the ownership TXT proof, and validate the root hostname binding
  2. Renew the site's TLS certificate without modifying the root/apex DNS routing record
  3. Create a CNAME at the zone apex targeting the app default hostname, even though apex CNAME is disallowed and rejected by this DNS provider
  4. Change only the existing www subdomain CNAME, assuming it automatically routes the separate bare apex hostname as well
  5. Add only an extra domain ownership TXT record and assume it is a routing record that resolves the root hostname to the web app

Explanation

Correct Answer

A:

Azure App Service recommends an A record for mapping a root or apex custom hostname, unlike a subdomain that normally uses a CNAME to the app's default hostname. In this case the required ownership TXT proof is already correct, while the apex has no suitable routing address and cannot carry a regular CNAME. Point the apex A record at the App Service inbound IP shown for the app, retain the asuid verification token, and validate the root hostname binding after DNS propagation. The separate www mapping must not be mistaken for apex routing.

Incorrect Answers

B:

A renewed certificate may be necessary to provide trusted HTTPS after the hostname is mapped, but it does not provide public DNS resolution for the root host. The scenario states that the ownership verification TXT record is present and the missing step is a supported mapping record at the bare apex. App Service documents an A record pointing to the app's inbound IP for root domains. Verify that record and custom hostname binding before separately validating TLS, rather than attempting to solve DNS routing by certificate maintenance alone.

C:

A CNAME is appropriate for an ordinary subdomain such as www.example.test, but the apex of a public DNS zone must retain required SOA and NS records and a conventional CNAME is not permitted there. The case also says this provider rejects apex CNAME records. Repeating that unsupported operation cannot create the required App Service mapping. Use the app's published inbound IPv4 address in an apex A record, retain the existing asuid TXT ownership record, and verify resolution after the change; keep www's existing CNAME separate.

D:

The apex example.test and the www.example.test subdomain are distinct DNS record owners. Updating the CNAME that already maps www to the App Service default hostname does not necessarily add or correct an A record for the root name. The scenario asks specifically for the bare root, which has already passed ownership verification but lacks a valid routing record. Configure the root A record using the current App Service inbound IP, then validate the root hostname binding and public DNS results independently of the working www subdomain.

E:

An asuid TXT record is proof of control over a custom hostname for App Service validation; it does not resolve that hostname to an application IP address. The question explicitly states that the required TXT proof is already valid. Adding more TXT text without a routing A record would leave clients unable to find the bare root web endpoint. The supported solution is an apex A record using the App Service inbound IP together with the existing verification record. DNS propagation and the App Service hostname binding should then be checked before treating traffic as ready.

Question 322

A web app needs scheduled backups and is deployed in a plan that may not support this feature. What should be checked?

  1. Use a compatible operating-system and regional App Service plan
  2. Use an eligible App Service backup-capable tier and configure destination/policy
  3. Create a supported backup or tested deployment rollback and verify a restore path
  4. Check plan-tier instance limits and move to a supported tier if justified

Explanation

Correct Answer

B:

Azure App Service supports configured custom backups on eligible plans, including Basic, Standard, Premium and Isolated tiers; the Basic tier has production-slot limitations. A scheduled custom backup needs explicit configuration of its storage destination and policy, and its data-size and retention limits differ from automatic backups. First confirm the app's current plan is eligible, choose an appropriate storage account destination, set the schedule, and run a test backup and recovery. This is not the same operation as protecting a full Azure VM using a Recovery Services vault; also confirm whether linked databases or private networking need separate supported arrangements.

Incorrect Answers

A:

App Service plans must have compatible operating-system and regional settings for their hosted apps, but a compatible compute plan is not necessarily eligible for the requested scheduled custom backup feature. The question's uncertainty is about backup capability at the present pricing tier. Microsoft documents automatic and custom backups for Basic, Standard, Premium and Isolated, with custom scheduled backups requiring a configured destination storage account and schedule. Check that the selected tier supports the intended backup feature, and then test backup and restore on the appropriate production slot or supported deployment slot rather than changing OS for no reason.

C:

A tested application recovery or rollback strategy is valuable, but it cannot substitute for confirming that the site's pricing tier and backup destination support the requested scheduled App Service custom backups. Deployment rollback restores code or configuration through a release process and is not automatically a backup of application files or linked data. In this question, verify an eligible App Service plan and configure the actual backup schedule and destination first; then perform a test restore as acceptance evidence. Do not call a successful release rollback proof that a durable scheduled backup policy exists.

D:

Increasing an App Service plan tier to support more instances is useful if autoscale hits a plan limit, but the stated requirement is scheduled application backups, not additional compute capacity. The existing plan might already support that feature, so scaling up without checking backup eligibility would incur cost without resolving missing backup configuration. Inspect the plan tier against Microsoft Backup and Restore support, select an appropriate custom backup storage destination and schedule, and verify restore. If a tier change really is required, choose the least disruptive eligible tier rather than assuming maximum compute solves data protection.

Question 323

A developer proposes Azure VM backup for a PaaS Web App that runs on App Service. What is the category mismatch?

  1. Restore a VM operating-system disk snapshot as if the App Service worker were a customer-managed Azure VM
  2. Configure App Service access restrictions for the permitted client ranges
  3. Use a compatible operating-system and regional App Service plan
  4. Use supported App Service backup/restore capabilities rather than VM disk backup

Explanation

Correct Answer

D:

Azure App Service is a managed platform service; an application does not own the underlying web worker VM's OS disk as a separately protectable Azure virtual machine. Therefore ordinary Azure VM backup is not the correct product category for protecting the Web App's application content, configuration and data dependencies. Assess supported App Service backup and restore capabilities, deployment rollback artifacts and database-specific protection according to the actual service tier and workload needs. Test restoring the site and its settings. Attaching a Recovery Services vault policy to an imagined VM disk would not give the app a documented, recoverable App Service backup.

Incorrect Answers

A:

Azure App Service is a managed PaaS platform; customers do not administer its underlying worker OS disks as ordinary Azure VM resources. A VM disk snapshot or VM-level restore process is therefore not the right backup contract for an App Service web app. Select supported App Service backup/restore or application-level deployment rollback paths and test recoverability in the relevant plan and environment.

B:

'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 developer proposes Azure VM backup for a PaaS Web App that runs on App Service, this distractor misses the requirement that App Service does not give the tenant an ordinary VM disk to protect with VM Recovery Services policy. Unlike 'Configure App Service access restrictions for the permitted client ranges', 'Use supported App Service backup/restore capabilities rather than VM disk backup' directly targets that requirement; its success must be confirmed at the authorized resource scope.

C:

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 proposes Azure VM backup for a PaaS Web App that runs on App Service, 'Use a compatible operating-system and regional App Service plan' misses the mechanism that App Service does not give the tenant an ordinary VM disk to protect with VM Recovery Services policy. Choosing 'Use a compatible operating-system and regional App Service plan' would address that other need, whereas 'Use supported App Service backup/restore capabilities rather than VM disk backup' is intended to solve the stated condition.

Question 324

A web app is about to receive a risky config update. What makes the rollback plan credible?

  1. Use an eligible App Service backup-capable tier and configure destination/policy
  2. Use supported App Service backup/restore capabilities rather than VM disk backup
  3. Assume any reverse slot swap will restore the previous known-good code without verifying the slot still contains it or checking slot-specific settings
  4. Create a supported backup or tested deployment rollback and verify a restore path

Explanation

Correct Answer

D:

'Create a supported backup or tested deployment rollback and verify a restore path' fits the case in which a web app is about to receive a risky config update because a backup job receipt alone does not establish that application files and settings can be recovered. By contrast, 'Use an eligible App Service backup-capable tier and configure destination/policy' addresses a different condition: backup support is tier- and configuration-dependent; do not confuse it with Azure VM backup; it would not establish the outcome needed for this particular Azure resource. For 'Create a supported backup or tested deployment rollback and verify a restore path', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'Use an eligible App Service backup-capable tier and configure destination/policy' solves another task because backup support is tier- and configuration-dependent; do not confuse it with Azure VM backup. For the situation where a web app is about to receive a risky config update, this distractor misses the requirement that a backup job receipt alone does not establish that application files and settings can be recovered. Unlike 'Use an eligible App Service backup-capable tier and configure destination/policy', 'Create a supported backup or tested deployment rollback and verify a restore path' directly targets that requirement; its success must be confirmed at the authorized resource scope.

B:

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 web app is about to receive a risky config update, 'Use supported App Service backup/restore capabilities rather than VM disk backup' misses the mechanism that a backup job receipt alone does not establish that application files and settings can be recovered. Choosing 'Use supported App Service backup/restore capabilities rather than VM disk backup' would address that other need, whereas 'Create a supported backup or tested deployment rollback and verify a restore path' is intended to solve the stated condition.

C:

Reversing a deployment-slot swap is supported when the correct prior build and configuration remain available, but an unverified assumption is not a credible recovery plan for a risky change. Slot-specific settings, secrets, and database compatibility can determine whether the returned build actually works, and a prior slot might already have been redeployed. Before changing production, retain a known-good source, test reversal or backup/restore in the supported App Service tier, and verify critical dependencies. This alternative omits that evidence and may roll back to the wrong state.

Question 325

A Web App needs private outbound connection to a database and separate private inbound access from clients. Which two capabilities differ (Select TWO distinct actions.)

  1. Configure App Service VNet integration for the app's private outbound route
  2. Create only a custom domain CNAME and assume private network paths exist
  3. Configure a suitable inbound Private Endpoint for private client access
  4. Use only deployment slots to isolate traffic at the network boundary
  5. Assign a public IP to every downstream database server
  6. Use only inbound App Service access restrictions to reach the private database

Explanation

Correct Answers

A:

App Service regional VNet integration provides a supported outbound route from an App Service worker into a VNet, including private database endpoints reachable through that VNet or its supported connected networks. The integration subnet must meet the platform's regional and delegation requirements, and effective DNS and routing must resolve the database's private hostname and allow the connection. This capability does not expose a private inbound address for visitors to the web app. It solves the application's database egress requirement; inbound client access needs a separate private endpoint design, appropriate DNS, and an authorized client network path.

C:

A Private Endpoint for App Service provides an inbound private IP-based path that authorized clients can use from their connected VNet or network. Clients must resolve the site's hostname to the private endpoint address using the appropriate private DNS configuration, and the app's public access posture should match the intended restriction. This is the inbound half of the question. It does not give the web app an outbound route to a private database; that requires VNet integration or another supported outbound network arrangement. Distinguishing these traffic directions prevents a common design where clients can reach the app privately but the app still cannot reach its backend.

Incorrect Answers

B:

A custom-domain CNAME can map a friendly hostname to an application endpoint, but it does not create an outbound VNet route from the web app to its database or a private inbound interface for users. A DNS record by itself cannot change network isolation or make a public endpoint private. In this scenario, App Service VNet integration handles the outbound private database connection, and an inbound Private Endpoint handles private client connectivity. Both paths also need functioning name resolution, authorization, and network policy; simply renaming the public application hostname leaves the required private paths absent.

D:

Deployment slots help stage, validate and swap different versions or configurations of an App Service application. They do not establish the private network interface through which end users reach the production site or the egress path from the worker to its database. A slot swap could change active code without curing a failed private database connection. The requested design needs outbound VNet integration and a suitable inbound Private Endpoint, with DNS and routing tested separately. Slot management may be useful later for rollout safety, but it is not the network control under examination.

E:

Giving each downstream database server a public IP exposes a new internet-facing surface and is unnecessary for an app that expressly requires private outbound connectivity. Even if a firewall allows only selected clients, that choice does not provide private endpoint-style access through the VNet. App Service can send traffic into a correctly configured integrated VNet and reach private database addresses there. That preserves the separation between the web app's egress route and visitors' private ingress via a different App Service Private Endpoint. Public database IPs also contradict the stated private-network intent.

F:

App Service inbound access restrictions filter who may call the app's public-facing endpoint based on configured rules. They do not create an outbound tunnel from the app worker into the database's private subnet. Restricting visitors therefore cannot repair a backend database connection that lacks VNet integration or an appropriate network route. The question has two independent traffic directions: use VNet integration for app-to-database egress, and a Private Endpoint for authorized inbound web-app clients. Network restrictions may supplement the ingress policy, but they are not substitutes for either required private connectivity mechanism.

Question 326

Only three partner office IPs should reach a public App Service endpoint. What control is targeted?

  1. Use supported App Service backup/restore capabilities rather than VM disk backup
  2. Inspect integration subnet, effective routes, DNS and downstream security controls
  3. Use a compatible operating-system and regional App Service plan
  4. Configure App Service access restrictions for the permitted client ranges

Explanation

Correct Answer

D:

'Configure App Service access restrictions for the permitted client ranges' fits the case in which only three partner office IPs should reach a public App Service endpoint because DNS mapping and certificates do not independently filter the client origins allowed to access the app. By contrast, 'Use supported App Service backup/restore capabilities rather than VM disk backup' addresses a different condition: App Service does not give the tenant an ordinary VM disk to protect with VM Recovery Services policy; it would not establish the outcome needed for this particular Azure resource. For 'Configure App Service access restrictions for the permitted client ranges', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'Use supported App Service backup/restore capabilities rather than VM disk backup' applies to a different feature boundary because App Service does not give the tenant an ordinary VM disk to protect with VM Recovery Services policy. In the stated scenario where only three partner office IPs should reach a public App Service endpoint, 'Use supported App Service backup/restore capabilities rather than VM disk backup' does not satisfy the mechanism that DNS mapping and certificates do not independently filter the client origins allowed to access the app. The necessary action is 'Configure App Service access restrictions for the permitted client ranges', which should be checked against this Azure resource's actual permissions and state.

B:

The nearby action 'Inspect integration subnet, effective routes, DNS and downstream security controls' is associated with this separate need: an App Service app with VNet integration cannot reach a private downstream service after route changes. That is because outbound integration depends on an actual permitted path; public inbound app availability does not prove it. Here only three partner office IPs should reach a public App Service endpoint, so 'Inspect integration subnet, effective routes, DNS and downstream security controls' misses the fact that DNS mapping and certificates do not independently filter the client origins allowed to access the app. 'Configure App Service access restrictions for the permitted client ranges' is the more defensible action; confirm its behavior in the target service before calling the task complete.

C:

'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 only three partner office IPs should reach a public App Service endpoint, this distractor misses the requirement that DNS mapping and certificates do not independently filter the client origins allowed to access the app. Unlike 'Use a compatible operating-system and regional App Service plan', 'Configure App Service access restrictions for the permitted client ranges' directly targets that requirement; its success must be confirmed at the authorized resource scope.

Question 327

An App Service app with VNet integration cannot reach a private downstream service after route changes. What should be checked?

  1. Use App Service VNet integration for outbound and Private Endpoint for private inbound
  2. Inspect integration subnet, effective routes, DNS and downstream security controls
  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:

'Inspect integration subnet, effective routes, DNS and downstream security controls' fits the case in which an App Service app with VNet integration cannot reach a private downstream service after route changes because outbound integration depends on an actual permitted path; public inbound app availability does not prove it. By contrast, 'Use App Service VNet integration for outbound and Private Endpoint for private inbound' addresses a different condition: VNet integration affects outbound routing; private endpoint provides an inbound private address where supported; it would not establish the outcome needed for this particular Azure resource. For 'Inspect integration subnet, effective routes, DNS and downstream security controls', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

The nearby action 'Use App Service VNet integration for outbound and Private Endpoint for private inbound' is associated with this separate need: a Web App needs private outbound connection to a database and separate private inbound access from clients. That is because VNet integration affects outbound routing; private endpoint provides an inbound private address where supported. Here an App Service app with VNet integration cannot reach a private downstream service after route changes, so 'Use App Service VNet integration for outbound and Private Endpoint for private inbound' misses the fact that outbound integration depends on an actual permitted path; public inbound app availability does not prove it. 'Inspect integration subnet, effective routes, DNS and downstream security controls' is the more defensible action; confirm its behavior in the target service before calling the task complete.

C:

When only three partner office IPs should reach a public App Service endpoint, the action 'Configure App Service access restrictions for the permitted client ranges' can be relevant: DNS mapping and certificates do not independently filter the client origins allowed to access the app. For the different problem of an App Service app with VNet integration cannot reach a private downstream service after route changes, 'Configure App Service access restrictions for the permitted client ranges' misses the mechanism that outbound integration depends on an actual permitted path; public inbound app availability does not prove it. Choosing 'Configure App Service access restrictions for the permitted client ranges' would address that other need, whereas 'Inspect integration subnet, effective routes, DNS and downstream security controls' is intended to solve the stated condition.

D:

'Use supported App Service backup/restore capabilities rather than VM disk backup' applies to a different feature boundary because App Service does not give the tenant an ordinary VM disk to protect with VM Recovery Services policy. In the stated scenario where an App Service app with VNet integration cannot reach a private downstream service after route changes, 'Use supported App Service backup/restore capabilities rather than VM disk backup' does not satisfy the mechanism that outbound integration depends on an actual permitted path; public inbound app availability does not prove it. The necessary action is 'Inspect integration subnet, effective routes, DNS and downstream security controls', which should be checked against this Azure resource's actual permissions and state.

Question 328

A developer has deployed a candidate app to staging and passed smoke tests. How should it become production with minimal interruption?

  1. Remove leaked values and use secure App Service settings, secret references and managed identity
  2. Use a compatible operating-system and regional App Service plan
  3. Perform a controlled App Service deployment slot swap after checking slot settings
  4. Use supported App Service backup/restore capabilities rather than VM disk backup
  5. Mark every staging application setting as slot-specific without checking whether production should receive the new values

Explanation

Correct Answer

C:

'Perform a controlled App Service deployment slot swap after checking slot settings' fits the case in which a developer has deployed a candidate app to staging and passed smoke tests because a swap exchanges appropriate content/configuration while certain settings remain slot-specific. 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 'Perform a controlled App Service deployment slot swap after checking slot settings', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

'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 a developer has deployed a candidate app to staging and passed smoke tests, this distractor misses the requirement that a swap exchanges appropriate content/configuration while certain settings remain slot-specific. Unlike 'Remove leaked values and use secure App Service settings, secret references and managed identity', 'Perform a controlled App Service deployment slot swap after checking slot settings' directly targets that requirement; its success must be confirmed at the authorized resource scope.

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 a developer has deployed a candidate app to staging and passed smoke tests, 'Use a compatible operating-system and regional App Service plan' misses the mechanism that a swap exchanges appropriate content/configuration while certain settings remain slot-specific. Choosing 'Use a compatible operating-system and regional App Service plan' would address that other need, whereas 'Perform a controlled App Service deployment slot swap after checking slot settings' is intended to solve the stated condition.

D:

The nearby action 'Use supported App Service backup/restore capabilities rather than VM disk backup' is associated with this separate need: a developer proposes Azure VM backup for a PaaS Web App that runs on App Service. That is because App Service does not give the tenant an ordinary VM disk to protect with VM Recovery Services policy. Here a developer has deployed a candidate app to staging and passed smoke tests, so 'Use supported App Service backup/restore capabilities rather than VM disk backup' misses the fact that a swap exchanges appropriate content/configuration while certain settings remain slot-specific. 'Perform a controlled App Service deployment slot swap after checking slot settings' is the more defensible action; confirm its behavior in the target service before calling the task complete.

E:

Deployment-slot settings determine which values remain attached to the named slot during a swap. Marking every setting sticky without understanding production dependencies may prevent intended configuration changes from reaching production or leave inappropriate staging values active. The scenario asks how to promote an already tested application build with minimal interruption; use a controlled slot swap after validating which settings should move and which must remain scoped.

Question 329

A staging slot uses a different database credential that must remain with staging after a swap. What must be set?

  1. Identify the actual prior slot revision and perform a controlled reverse swap or deployment rollback
  2. Remove leaked values and use secure App Service settings, secret references and managed identity
  3. Mark the sensitive application setting as deployment-slot-specific (sticky)
  4. Swap staging and production before marking the distinct staging database credential as a slot setting

Explanation

Correct Answer

C:

'Mark the sensitive application setting as deployment-slot-specific (sticky)' fits the case in which a staging slot uses a different database credential that must remain with staging after a swap because some App Service settings are swappable, while explicitly sticky values remain bound to their slot. By contrast, 'Identify the actual prior slot revision and perform a controlled reverse swap or deployment rollback' addresses a different condition: rollback must restore working code and appropriate settings, not merely rename the slot; it would not establish the outcome needed for this particular Azure resource. For 'Mark the sensitive application setting as deployment-slot-specific (sticky)', confirm the supported prerequisites and authorized scope, then verify the observed service behavior before describing the change as complete.

Incorrect Answers

A:

When a slot swap causes production errors and operations need to return to the prior build, the action 'Identify the actual prior slot revision and perform a controlled reverse swap or deployment rollback' can be relevant: rollback must restore working code and appropriate settings, not merely rename the slot. For the different problem of a staging slot uses a different database credential that must remain with staging after a swap, 'Identify the actual prior slot revision and perform a controlled reverse swap or deployment rollback' misses the mechanism that some App Service settings are swappable, while explicitly sticky values remain bound to their slot. Choosing 'Identify the actual prior slot revision and perform a controlled reverse swap or deployment rollback' would address that other need, whereas 'Mark the sensitive application setting as deployment-slot-specific (sticky)' is intended to solve the stated condition.

B:

'Remove leaked values and use secure App Service settings, secret references and managed identity' applies to a different feature boundary because application configuration must keep credentials out of public deployment artifacts. In the stated scenario where a staging slot uses a different database credential that must remain with staging after a swap, 'Remove leaked values and use secure App Service settings, secret references and managed identity' does not satisfy the mechanism that some App Service settings are swappable, while explicitly sticky values remain bound to their slot. The necessary action is 'Mark the sensitive application setting as deployment-slot-specific (sticky)', which should be checked against this Azure resource's actual permissions and state.

D:

If the staging database credential must remain with its slot, it needs the documented slot-specific configuration before any swap. Performing the swap first risks bringing staging-only secrets or endpoints into the production application’s runtime configuration. The right action is to mark that setting as sticky, check both slots’ effective secrets and then carry out a controlled swap. Swap timing cannot substitute for the slot-setting boundary.

Question 330

A slot swap causes production errors and operations need to return to the prior build. What should govern rollback?

  1. Back up the currently broken production slot after the failure and assume that new backup contains the previous working release
  2. Remove leaked values and use secure App Service settings, secret references and managed identity
  3. Mark the sensitive application setting as deployment-slot-specific (sticky)
  4. Identify the actual prior slot revision and perform a controlled reverse swap or deployment rollback

Explanation

Correct Answer

D:

An App Service slot swap ordinarily places the former production code into the other slot, enabling a controlled reversal by swapping the same two slots again if that prior build remains intact. Because production became unhealthy, first identify the deployment IDs and verify the actual older code, sticky settings and dependent database compatibility rather than assuming a rollback source exists. Then perform and validate the reverse swap or deploy a separate known-good rollback artifact. Backing up the broken production slot only after the incident would not reconstruct the earlier working release.

Incorrect Answers

A:

A backup taken only after the failed swap preserves the currently broken production state; it does not automatically reconstruct the healthy build that ran before the swap. Azure App Service can roll back an ordinary swap by swapping the same two slots again when the previous version remains on staging. The operator should identify the actual prior build and review slot-specific settings before performing a controlled reverse swap or an already validated rollback. A newly captured image of failure is not equivalent to a known-good recovery point.

B:

The nearby action 'Remove leaked values and use secure App Service settings, secret references and managed identity' is associated with this separate need: a new web app includes sample credentials in app settings and public build logs. That is because application configuration must keep credentials out of public deployment artifacts. Here a slot swap causes production errors and operations need to return to the prior build, so 'Remove leaked values and use secure App Service settings, secret references and managed identity' misses the fact that rollback must restore working code and appropriate settings, not merely rename the slot. 'Identify the actual prior slot revision and perform a controlled reverse swap or deployment rollback' is the more defensible action; confirm its behavior in the target service before calling the task complete.

C:

'Mark the sensitive application setting as deployment-slot-specific (sticky)' solves another task because some App Service settings are swappable, while explicitly sticky values remain bound to their slot. For the situation where a slot swap causes production errors and operations need to return to the prior build, this distractor misses the requirement that rollback must restore working code and appropriate settings, not merely rename the slot. Unlike 'Mark the sensitive application setting as deployment-slot-specific (sticky)', 'Identify the actual prior slot revision and perform a controlled reverse swap or deployment rollback' directly targets that requirement; its success must be confirmed at the authorized resource scope.


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.