100% Latest & Updated Microsoft AZ-104 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 570
An Azure App Service website already has a working CNAME from shop.example.com to its azurewebsites.net hostname. The security team requires the app-specific DNS ownership-verification TXT proof before accepting this custom hostname, and the portal shows that the specified verification record is missing. Which DNS change satisfies that requirement without changing traffic routing?
- Publish the app-specific Domain Verification ID as the required TXT record at asuid.shop.example.com
- Recreate the existing shop.example.com CNAME with the same Azure hostname and omit the missing verification TXT record
- Publish an asuid.shop.example.com TXT record using the verification ID copied from an unrelated App Service app
- Publish the correct verification ID in a TXT record at shop.example.com rather than at the specified asuid.shop.example.com name
Explanation
Correct Answer
A:The App Service custom-domain workflow provides a Domain Verification ID and the exact TXT host name for ownership proof. The required asuid.shop.example.com record must contain the verification ID belonging to this app. A correctly configured TXT record verifies control of the hostname separately from the existing CNAME traffic mapping. This scenario explicitly requires the additional TXT verification; Microsoft recommends it to reduce subdomain-takeover risk even where some mappings can otherwise validate.
Incorrect Answers
B:A CNAME routes shop.example.com to the Azure app, and the scenario states it already resolves correctly. Recreating that same mapping does not publish the app-specific domain-verification token required by the security procedure. DNS resolution and evidence of ownership are distinct checks; leaving the asuid record absent preserves the reported validation gap.
C:The asuid TXT name is correct, but the value must match the Domain Verification ID shown for the App Service app being associated with this hostname. An ID taken from a different app does not prove authority to bind shop.example.com to this application, even if that other ID is otherwise valid. Use the current app’s token.
D:DNS TXT records are looked up by their complete owner name. A TXT record published at shop.example.com is not the same record as asuid.shop.example.com requested in this custom-domain validation flow. A correctly valued token at the wrong DNS owner name will not satisfy the stated missing-record check. Publish the token at the exact app-provided asuid location.
Question 571
An Azure App Service production site enforces TLS 1.2 for normal HTTPS visitors. A compliance scan discovers that its separate SCM/Kudu deployment endpoint still has a lower configured inbound TLS minimum. The team wants deployment traffic to require TLS 1.2 without changing the already compliant application endpoint setting. Which configuration must it change?
- Set SCM Minimum Inbound TLS Version (scmMinTlsVersion) to 1.2 for the App Service app
- Change only Minimum Inbound TLS Version (minTlsVersion) for the regular application endpoint a second time
- Enable HTTPS Only for the application and assume this synchronizes the SCM TLS protocol minimum
- Raise the TLS setting on an unrelated deployment slot and assume production SCM settings inherit it automatically
Explanation
Correct Answer
A:Azure App Service exposes two separate inbound TLS settings: minTlsVersion for the app site and scmMinTlsVersion for the SCM/Kudu deployment endpoint. Set the SCM minimum to TLS 1.2 or later for the affected app; a correct client-site minimum does not automatically establish the SCM minimum. Deployment slots have independent settings, so check any deployed slot endpoints separately.
Incorrect Answers
B:The ordinary app endpoint already has the required minimum TLS version. Reapplying minTlsVersion controls browsers and clients reaching the app hostname, not the independent SCM/Kudu deployment endpoint setting. The deployment endpoint can retain its own older configured minimum until scmMinTlsVersion is updated.
C:HTTPS Only redirects plain HTTP to HTTPS where applicable. It does not force the negotiated TLS protocol version to a specified minimum and cannot replace the independent SCM Minimum Inbound TLS Version setting. Enforcing modern encrypted protocols for the Kudu deployment site requires updating scmMinTlsVersion itself.
D:Each App Service deployment slot has its own minTlsVersion and scmMinTlsVersion settings. Raising a different slot’s SCM minimum does not automatically harden production SCM. Apply the setting to the exact production app or slot being audited, and verify deployment tooling can negotiate the required protocol.
Question 572
Two HTTPS web apps use custom hostnames on the same App Service shared frontend. They have valid certificates and do not need dedicated IPv4 addresses. Which TLS binding method should the administrator select for each hostname?
- Upload one certificate for the first hostname and assume it secures the second hostname automatically
- Set HTTPS Only but omit valid TLS bindings for both custom hostnames
- SNI SSL binding, matching each requested hostname to its certificate
- Use an IP-based TLS binding for both hostnames and allocate dedicated addresses
Explanation
Correct Answer
C:Server Name Indication lets the TLS handshake identify the requested hostname and corresponding certificate on shared frontends, avoiding a separate dedicated IP in this scenario.
Incorrect Answers
A:Certificate validation still requires SAN or wildcard coverage of the second name; hostname-based SNI does not waive certificate name matching.
B:HTTPS Only redirects HTTP traffic but does not automatically establish a valid certificate and binding for each custom hostname.
D:IP binding may be valid in other designs, but it adds dedicated-address requirements the scenario explicitly seeks to avoid.
Question 573
A company wants to map its root domain example.org, rather than a www subdomain, directly to an Azure App Service app. The registrar cannot create a CNAME at the zone apex. Which DNS plan is normally relevant?
- Use the documented apex A record target and domain-verification TXT record for the App Service
- Create only a CNAME at the apex and assume every DNS provider permits it
- Publish only the App Service asuid TXT verification record and assume that ownership verification also supplies the apex IP address used by public browsers
- Publish a CNAME for *.example.org only and assume the wildcard record also matches the bare example.org apex domain
Explanation
Correct Answer
A:Root-zone DNS often cannot use the CNAME shape available for a subdomain. App Service supports apex mapping with an A record and required verification, followed by an appropriate TLS binding.
Incorrect Answers
B:Apex CNAME use conflicts with common DNS zone requirements and may not be supported by the registrar. The stated limitation rules it out.
C:The TXT record confirms domain ownership for App Service, but it doesn't resolve the apex hostname to the app. The root domain still needs the documented public A record targeting the App Service IP address to direct browser traffic.
D:A wildcard CNAME covers eligible subdomains, not the zone apex itself. It cannot substitute for the apex A record and App Service TXT verification record that the scenario requires.
Question 574
A company uses free App Service-managed certificates for individually mapped HTTPS hostnames. It now needs ONE bindable certificate that can cover changing first-level subdomains such as a.example.com and future names under *.example.com. Which certificate deployment approach meets this requirement?
- Request one free App Service-managed certificate for the wildcard hostname *.example.com and rely on automatic renewal
- Import or upload a properly issued wildcard-capable private certificate and configure compatible custom-hostname TLS bindings
- Issue separate free managed certificates for two existing subdomains and assume those certificates automatically cover future unlisted names as a single wildcard
- Upload a wildcard-named public .cer certificate without its matching private key and use it as the App Service custom-domain TLS binding
Explanation
Correct Answer
B:App Service supports importing or uploading a trusted private certificate in an appropriate format, including a properly issued wildcard certificate. When its SAN wildcard covers the intended first-level subdomains, the team can bind it to compatible mapped custom hostnames. This addresses the need for one certificate across present and future names; the free managed certificate cannot issue the requested wildcard.
Incorrect Answers
A:The free App Service-managed certificate feature does not issue wildcard certificates. Its normal automatic management for supported individual custom domains does not expand to an arbitrary *.example.com wildcard. The requirement is one certificate for changing first-level hosts, so the team needs a wildcard-capable private-certificate option with the required custom-domain mappings and bindings.
C:Free managed certificates are issued and bound to supported specific custom hostnames. Two such certificates do not become a single reusable wildcard certificate and do not automatically cover a future third hostname. Issuing certificates for fixed names can work for those names individually, but it fails the stated one-certificate, arbitrary-subdomain requirement.
D:An App Service public .cer upload is not a TLS server certificate with an available private key for custom-domain binding. HTTPS hosting requires a private certificate and matching key, typically uploaded or imported as a supported PFX source. A certificate whose subject includes *.example.com but has no usable private key does not satisfy the binding requirement.
Question 575
A website is deployed to App Service with its default `azurewebsites.net` hostname. The owner wants `shop.example.com` to resolve to the app without using an apex/root-domain A record. Which DNS record type is typically appropriate for this subdomain mapping?
- Create an MX record pointing shop.example.com to the App Service hostname
- Publish only a TXT record for domain ownership verification, without adding a hostname mapping record
- Configure the custom-hostname TLS certificate binding but leave the subdomain without a DNS mapping
- Create a CNAME from the shop subdomain to the app's Azure-provided hostname and complete domain validation
Explanation
Correct Answer
D:A subdomain can alias an App Service hostname through CNAME. Ownership validation and HTTPS certificate coverage are separate requirements that must also be configured.
Incorrect Answers
A:MX records route email delivery rather than web HTTP requests. They will not provide the browser hostname mapping.
B:A TXT record may satisfy an App Service custom-domain ownership verification step, but it does not alias shop.example.com to the web app endpoint. The requested browser name still lacks the CNAME mapping needed for routing.
C:A TLS binding secures a hostname after it reaches the intended app; it does not make the hostname resolve to that app. Name resolution must be configured separately from the certificate for clients to reach the site.
Question 576
An App Service site has an imported, trusted wildcard TLS certificate with SAN *.example.com. It securely serves api.example.com. A new endpoint v2.api.example.com has the required DNS mapping and custom-hostname binding, but browsers report a certificate name mismatch. The certificate is not expired. Which hostname-coverage boundary explains this and provides a valid correction?
- A wildcard *.example.com matches one subdomain level only; use a certificate SAN that explicitly covers v2.api.example.com or a suitable *.api.example.com wildcard
- Change the App Service certificate binding from SNI SSL to IP-based SSL while keeping *.example.com, because IP-based binding expands the wildcard SAN to every DNS level
- Point the v2.api.example.com CNAME directly to the app azurewebsites.net host while retaining *.example.com, because a direct DNS alias overrides browser SAN matching
- Add only the example.com apex name to the certificate while leaving v2.api.example.com unlisted, because adding the apex extends the existing wildcard by another DNS label
Explanation
Correct Answer
A:The X.509 wildcard SAN *.example.com matches one DNS label, such as api.example.com, but not v2.api.example.com with two levels before example.com. The client compares the full requested hostname to certificate names independently of App Service routing. Obtain a trusted certificate containing the precise v2.api.example.com name or a properly issued *.api.example.com wildcard, then update the correct App Service TLS binding. An unrelated DNS or binding-mode change cannot alter the signed SAN coverage.
Incorrect Answers
B:SNI SSL and IP-based SSL change how the server selects or presents a certificate, not which hostnames the certificate cryptographically covers. A client connecting to v2.api.example.com still sees a wildcard for only *.example.com, which does not match that deeper host. The service needs a correctly named certificate rather than a different binding type.
C:A CNAME can direct v2.api.example.com traffic to the existing App Service application, but DNS resolution does not change the certificate SAN contents or browser hostname validation. The scenario explicitly says DNS mapping already works. Retaining the old one-level *.example.com wildcard leaves the deeper v2.api.example.com name unmatched and the TLS warning unresolved.
D:Including the bare example.com name in the SAN covers that apex only; it does not extend an existing *.example.com wildcard to deeper names. Wildcard label matching is not additive across the apex and a separate wildcard entry. v2.api.example.com must be named explicitly or matched by a wildcard scoped to *.api.example.com.
Question 577
An App Service application has a valid HTTPS certificate binding for its custom domain, but clients using HTTP still receive an unencrypted response because the site does not redirect them. Which app-level configuration should be enabled?
- Increase the application's minimum inbound TLS version to 1.2 while leaving HTTP requests accepted
- Enable HTTPS Only for the App Service app while maintaining a valid TLS certificate binding
- Remove the TLS binding and assume users will then be forced onto TLS
- Renew and rebind the custom-domain TLS certificate, assuming its presence automatically redirects HTTP traffic
Explanation
Correct Answer
B:The certificate allows encrypted requests, while HTTPS Only enforces redirecting or preventing plain HTTP access. Certificate presence alone does not require clients to choose HTTPS.
Incorrect Answers
A:Minimum inbound TLS version governs protocol negotiation for HTTPS connections; it does not stop a client from using cleartext HTTP when that endpoint remains enabled. HTTPS Only is the separate App Service configuration that redirects HTTP to HTTPS.
C:Removing the binding disables proper HTTPS for the custom name. It cannot make HTTP requests encrypted or enforce a secure redirect.
D:A valid certificate binding allows encrypted HTTPS handshakes but does not itself force requests arriving over plain HTTP to redirect. The stem already says the binding is valid; App Service HTTPS Only is the separate application setting that enforces HTTPS redirection.
Question 578
An App Service custom hostname uses a manually uploaded certificate (.pfx) purchased from an external certificate authority, not a free App Service managed certificate or a Key Vault-imported certificate. The team renews it with the CA, but browsers still see the previously uploaded certificate. What deployment-level step is necessary?
- Update the app custom-domain DNS CNAME to the same azurewebsites.net host and assume the renewed CA certificate will automatically replace the current TLS binding
- Renew the certificate at the external CA and wait for automatic App Service Managed Certificate renewal without uploading a new .pfx
- Import or update the renewed certificate in App Service and verify its hostname TLS binding
- Delete the existing TLS binding before uploading the renewed .pfx so the app is left temporarily without a certificate
Explanation
Correct Answer
C:Renewal at the CA does not necessarily replace a certificate already uploaded to an application. Clients see the certificate currently bound and served by the App Service endpoint.
Incorrect Answers
A:DNS hostname mapping sends clients to the app; it does not upload a renewed manually managed .pfx or change the certificate selected in the existing TLS binding.
B:Automatic renewal applies to the supported managed or imported certificate workflows, not an externally renewed manually uploaded private certificate. The updated certificate must be uploaded and its binding updated.
D:Deleting a binding before provisioning its replacement can cause HTTPS errors or an unwanted IP-based binding change. Upload the replacement first, update the custom-hostname binding, then retire the old certificate when safe.
Question 579
An App Service application must call a private IP address of a database deployed inside an Azure virtual network. The application does not need private inbound access from users. Which App Service networking feature enables its outbound connection to the VNet?
- Configure App Service virtual network integration
- Set up only an inbound private endpoint for the web application
- Configure inbound App Service access restrictions to allow the VNet database subnet
- Configure a public inbound IP-based access rule while keeping private backend routing disabled
Explanation
Correct Answer
A:VNet integration routes eligible outbound connections from App Service workers into a linked virtual network, enabling calls to reachable private addresses. It does not itself expose the app privately to inbound callers.
Incorrect Answers
B:A private endpoint for the web app is an inbound access solution. By itself it does not route application-originated requests toward a private backend database.
C:Inbound access restrictions control who calls the web app. They do not route calls originating from the app toward the database’s private address.
D:A public inbound rule changes access to the web frontend. The backend connection is outbound from App Service and still lacks a VNet route.
Question 580
An App Service application has private access to a VNet-connected dependency, but its platform-managed backup configuration has never been enabled. The operator wants scheduled backups of app content and configuration to a supported storage destination. What is the missing operation?
- Configure App Service backup scheduling with an appropriate storage account destination
- Enable only App Service regional VNet integration because that automatically backs up content
- Enable the App Service backup-over-VNet networking option but configure neither a backup schedule nor a storage destination
- Assign the app an Azure Policy audit-only initiative without any backup schedule
Explanation
Correct Answer
A:App Service backup configuration defines the backup destination, schedule, and relevant content. Network integration does not substitute for creating and retaining recovery artifacts.
Incorrect Answers
B:VNet integration enables outbound network access to resources on connected networks but does not independently create scheduled App Service backups.
C:A backup-over-VNet option affects transport for a configured backup workflow; it does not create periodic app-content recovery points. The operator still must configure supported scheduled backups and an authorized destination storage account.
D:Audit-only governance can report properties but does not produce App Service backup copies in the absence of the backup feature configuration.
Microsoft Azure Administrator (AZ-104) Practice Tests