Microsoft AZ-104 Practice Test 9
Question 80
An administrator enables a service endpoint to Azure Storage on a particular subnet, then restricts the storage firewall to that subnet. What is the key property of this design?
- The storage service is assigned a new private endpoint IP automatically
- The service can identify and authorize traffic originating from the approved VNet subnet over the supported endpoint route
- All storage account keys are revoked automatically
- VNet peering becomes transitive
Explanation
Correct Answer
B:A service endpoint extends the subnet identity to supported Azure PaaS networking, allowing the storage account firewall to restrict access to that selected subnet. DNS and route behavior still differ from Private Link.
Incorrect Answers
A:Service endpoints do not by themselves create the private IP interface that a Private Link endpoint supplies. The storage service continues to be addressed using its service endpoint architecture.
C:Network configuration and account-key rotation are separate security controls. Enabling a service endpoint does not inherently revoke Shared Key credentials.
D:A service endpoint is unrelated to VNet peering transitivity. Connecting two VNets through a hub needs explicit routing design.
Question 81
A company hosts an internal application at api.corp.example and wants Azure VMs to resolve it using an Azure-managed zone accessible only from linked VNets. Which resource is appropriate?
- Azure Private DNS zone linked to the relevant virtual networks
- An Azure public IP with anonymous DNS registration
- A Recovery Services vault
- A VM encryption-at-host flag
Explanation
Correct Answer
A:Azure Private DNS zones provide private name resolution for linked VNets without exposing records to public DNS. Configure the correct VNet links and consider hybrid DNS forwarding if on-premises clients also need resolution.
Incorrect Answers
B:Public DNS records are visible outside the private network and do not by themselves establish VNet-only name resolution. A public IP is not required for a private service hostname.
C:Backup vaults store recovery configuration and data; they do not host authoritative DNS records for internal applications.
D:Encryption at host protects VM data paths, not DNS lookup behavior. It cannot resolve the private service name.
Question 82
A company-facing application needs a public DNS zone hosted in Azure so external resolvers can obtain its A and CNAME records. Which Azure service is appropriate?
- Azure DNS public zone with the correct delegated name servers
- An Azure Private DNS zone linked only to one VNet
- A VM managed disk snapshot
- An App Service backup only
Explanation
Correct Answer
A:Azure DNS hosts public authoritative DNS zones. Create the required records and configure domain delegation at the registrar or parent DNS system so external clients can resolve the names.
Incorrect Answers
B:Private DNS zone records are intended for linked private network resolution. They are not a replacement for public authoritative delegation to internet resolvers.
C:Disk snapshots capture compute storage state and cannot answer internet DNS queries for application hostnames.
D:App backups protect site content and configuration, not public DNS authoritative records or registrar name server delegation.
Question 83
A load balancer should distribute private TCP traffic across several VMs so only resources inside the virtual network can reach the frontend. Which load-balancer arrangement fits?
- Internal Azure Load Balancer with a private frontend IP
- Public load balancer with internet-facing frontend only
- A blob SAS for every server
- A DNS TXT record pointing to a firewall
Explanation
Correct Answer
A:An internal Load Balancer uses a private frontend IP in a virtual network to distribute supported layer-4 flows to backend pool instances. Configure health probes and inbound rules for the application port.
Incorrect Answers
B:A public frontend is internet routable and does not satisfy a private-only endpoint requirement. Additional network restrictions would be needed to constrain exposure.
C:Storage SAS tokens authorize data access and cannot distribute TCP connections across VM backends.
D:A DNS TXT record carries arbitrary text metadata and cannot act as a layer-4 load-balancing frontend or health probe.
Question 84
An Azure Load Balancer routes traffic to VMs, but a stopped VM is still receiving connections in an engineer's proposed static distribution design. What feature should determine backend health?
- Load Balancer health probes and correctly configured rules
- An Azure Files snapshot schedule
- A Microsoft Entra group license
- A Cost Management reservation recommendation
Explanation
Correct Answer
A:Azure Load Balancer uses configured health probes to decide which eligible backend instances should receive new flows. Confirm probe port, protocol, host behavior and NSG allowance when diagnosing a missing or unhealthy backend.
Incorrect Answers
B:Share snapshots protect file content and cannot indicate whether a VM application is listening on a TCP port.
C:Directory licensing affects users' product access rather than VM backend readiness. It cannot determine which backend should receive traffic.
D:Cost recommendations may inform purchases, but they do not perform runtime health checks for a load-balanced service.
Question 85
A DNS administrator changes an A record for a public application, yet some users still reach the old IP. Which DNS property best explains the delay?
- Caching by resolvers until the relevant record's TTL expires
- VM encryption at host preventing DNS refresh
- Azure RBAC Reader automatically fixing DNS caches
- Blob soft delete requiring a new version
Explanation
Correct Answer
A:DNS resolvers can cache answers according to their time-to-live and resolver behavior. Lowering TTL before a planned migration helps but does not retroactively flush caches that already stored the old value.
Incorrect Answers
B:Encryption at host protects VM data and has no mechanism for changing DNS cache duration. It cannot explain stale public name resolution.
C:Reader grants Azure resource inspection and does not invalidate client DNS caches across the internet. Authorization and caching are unrelated.
D:Blob soft delete recovers deleted objects and does not govern public DNS A-record caching or client address selection.
Question 86
A VM's CPU percentage rises abruptly, and an operator needs a numerical time-series view for the last hour. Which Azure Monitor data type is the direct fit?
- Platform metrics for the VM
- A storage account SAS token
- A policy initiative assignment
- The VM resource's tags only
Explanation
Correct Answer
A:Azure Monitor metrics provide numeric time-series observations, including supported VM platform performance counters. Chart CPU percentage over the relevant time window and correlate it with application diagnostics if needed.
Incorrect Answers
B:A SAS token delegates storage access and does not contain VM CPU measurements. It cannot create the requested monitoring graph.
C:Policy initiatives evaluate resource governance and compliance rather than recording CPU time series. They are not a substitute for operational telemetry.
D:Tags are static classification metadata. They cannot measure or graph changing CPU utilization across a period.
Question 87
A storage account's resource logs must be sent to a Log Analytics workspace for central investigation. What must be configured on the resource?
- An Azure Monitor diagnostic setting targeting the workspace
- A new virtual network peering connection
- A storage account delete lock only
- An Azure DNS TXT record
Explanation
Correct Answer
A:Diagnostic settings route supported platform logs and metrics from Azure resources to selected destinations, including Log Analytics. Choose the correct log categories and destination, then verify ingestion and permissions.
Incorrect Answers
B:Peering connects VNets but does not automatically forward platform diagnostic records into a monitoring workspace.
C:A delete lock can protect resource existence but neither collects nor routes the account's platform logs. It is a governance feature.
D:DNS TXT records publish text metadata for name-related purposes. They cannot stream Azure resource diagnostic events.
Question 88
An administrator needs to find failed operations in the last 24 hours from logs already ingested into a Log Analytics workspace. Which query approach is appropriate?
- Use Kusto Query Language (KQL) to filter the relevant log table by time and failure fields
- Query only a VM's public IP address
- Change every resource tag to Failed
- Generate a new account SAS
Explanation
Correct Answer
A:KQL queries the appropriate Log Analytics tables and can filter by timestamp, operation status and resource identifiers. Validate the workspace, table schema and ingestion delay before interpreting an empty result.
Incorrect Answers
B:A public IP identifies a network endpoint and is not itself a structured query over collected monitoring events. It cannot summarize failures by time.
C:Tags classify resources and changing them does not locate historical operation failures. Modifying tags would create unrelated management changes.
D:Generating a SAS delegates storage access rather than querying Azure Monitor logs. It adds credentials without addressing the investigation.
Question 89
A production VM must notify operations by both email and webhook when its CPU percentage crosses a defined threshold. Which TWO Azure Monitor configurations accomplish this? Choose TWO.
- Create a metric alert rule for the VM's CPU threshold
- An Azure resource-group ReadOnly lock
- An Azure Storage object replication policy
- An Entra group-based license
- Attach an action group configured with email and webhook actions
Explanation
Correct Answers
A:A metric alert evaluates the selected CPU signal against the configured threshold and frequency. It determines when an alert is raised but needs a response action to notify recipients.
E:An Azure Monitor action group defines how triggered alerts are delivered. Configure the target addresses/endpoints and test permissions, authentication and notifications to close the alert-response loop.
Incorrect Answers
B:ReadOnly locks restrict management actions but do not observe CPU thresholds or send notifications. A lock may even interfere with monitoring configuration changes.
C:Object replication copies blobs and is unrelated to compute metric thresholds or email notification.
D:Group licensing assigns user products rather than defining alert triggers or webhook destinations. It cannot implement VM CPU monitoring.
Question 90
A CPU-based alert is noisy because normal traffic varies by hour and day. A newly created VM has only one day of metrics. Which TWO considerations support an adaptive Azure Monitor threshold without expecting immediate alerts? Choose TWO.
- Configure a supported metric alert with dynamic thresholds so it can learn normal patterns
- Force a one-minute query-based log alert and assume it always supports dynamic thresholds
- Disable all action groups permanently instead of tuning the alert
- Use one unchanged static CPU percentage as the only possible adaptive behavior
- Allow the dynamic-threshold rule sufficient samples and history to establish its baseline
Explanation
Correct Answers
A:Dynamic threshold metric alerts learn historic patterns and establish adaptive boundaries for unusual behavior rather than relying solely on one manually chosen static value. This is appropriate for a metric with recurring predictable peaks.
E:Dynamic threshold learning requires sufficient observations; Microsoft documents a minimum of three days and 30 samples before alerts can fire. A one-day-old VM may not have enough history, so plan baseline collection first.
Incorrect Answers
B:A fixed one-minute log-query frequency is not a universal supported setting for dynamic thresholds; feature and frequency limits apply. It also would not address the lack of historical learning data.
C:Permanently disabling notifications prevents responders from learning about real anomalous conditions. The requirement is to reduce noisy detection while retaining actionable alerts, not to remove observability.
D:A static percentage can be useful for stable signals but will not automatically learn daily or weekly seasonality. The stated request specifically calls for adaptive behavior across recurring workload patterns.