Microsoft AZ-104 Practice Test 19
Question 180
A VM recently moved to a different ASG but traffic still follows old expected permissions. What should be inspected?
- Restrict the destination to the intended NIC, IP or application security group.
- Confirm the VM NIC's ASG membership and the NSG rules referencing that group.
- Check storage firewall network rules to permit the service-endpoint-enabled subnet.
- ASG membership is a NIC configuration, not automatic matching from resource tags.
Explanation
Correct Answer
B:ASG filtering depends on NIC membership and matching rule definitions. A VM resource tag alone does not assign it to an ASG.
Incorrect Answers
A:Subnet-level Any destination can affect multiple servers. Matching the intended destination prevents overly broad access. This matters here because a VM recently moved to a different ASG but traffic still follows old expected permissions.
C:Enabling a service endpoint alone does not authorize a subnet in every storage account. The service firewall must allow it. This matters here because a VM recently moved to a different ASG but traffic still follows old expected permissions.
D:Azure resource tags and application security group membership are separate constructs. Tags cannot substitute for joining an ASG.
Question 181
An Azure-hosted app needs private DNS names resolvable only inside linked VNets. Which DNS service should be configured?
- Use application-aware health checks rather than relying only on open TCP ports.
- Create an Azure Private DNS zone and link the required virtual networks.
- Publish the internal-only application record in a public DNS zone and rely on its name being obscure.
- Set the VNet DNS server list to authorized reachable custom DNS resolver IP addresses.
Explanation
Correct Answer
B:Private DNS provides internal record resolution for associated VNets. Publishing the names in a public zone could expose internal topology.
Incorrect Answers
A:A TCP probe confirms a listener exists, not that the application is functioning correctly. HTTP health can signal failures beyond port acceptance.
C:A public DNS A record is resolvable by external clients and does not deliver private VNet-scoped resolution. Configure an Azure Private DNS zone with the necessary VNet links and private records.
D:Azure VNets can use custom DNS servers for name resolution. The resolver must be reachable and able to resolve required Azure zones.
Question 182
A linked private zone resolves in VNet A but not VNet B. What should be inspected?
- Configure an internal Azure Load Balancer with a private frontend IP.
- Add another public DNS A record for VNet B instead of verifying the private-zone link and private resolver path.
- Check the Private DNS zone's VNet links and resolver forwarding for VNet B.
- Set the VNet DNS server list to authorized reachable custom DNS resolver IP addresses.
Explanation
Correct Answer
C:Private DNS resolution follows VNet links and supported forwarding paths. VNet peering alone does not automatically create a zone link.
Incorrect Answers
A:Internal load balancers use private VNet address exposure for backend distribution rather than a public Internet endpoint.
B:Resolution differences between VNets normally call for examining Private DNS virtual-network links and DNS forwarding settings. Public records do not repair missing private-zone visibility.
D:Azure VNets can use custom DNS servers for name resolution. The resolver must be reachable and able to resolve required Azure zones. This matters here because a linked private zone resolves in VNet A but not VNet B.
Question 183
A public website should resolve app.example.com to a stable public IPv4 address hosted on Azure. Which DNS record applies?
- Use an outbound rule or NAT Gateway according to the desired Azure outbound connectivity design.
- Create an Azure DNS public zone and delegate the domain's NS records to its name servers.
- Map the subdomain using a supported CNAME and complete App Service hostname verification.
- Create an A record in an authoritative public Azure DNS zone for the IPv4 address.
Explanation
Correct Answer
D:A records map hostnames to IPv4 addresses. CNAME maps to another hostname rather than directly to an address.
Incorrect Answers
A:Outbound SNAT is distinct from inbound load balancing. Supported outbound mechanisms and their precedence must be planned.
B:Public Azure DNS zones provide authoritative records; registrar delegation makes Internet resolvers query those servers.
C:A CNAME can target the app's azurewebsites.net hostname, while App Service requires an explicit custom-hostname binding.
Question 184
An Azure VM queries a configured custom DNS server for an internal application hostname. The authoritative private record has changed, and normal client caches have expired, but the custom server still returns the older private IP. What should be investigated next?
- Restart or renew the VM DHCP/network configuration to pick up the updated DNS server list.
- Create an Azure Private DNS zone and link the required virtual networks.
- Change the public Azure DNS A record even though the client resolves this internal hostname through its custom private DNS server.
- Check the custom DNS server’s authoritative zone or conditional forwarder and refresh its stale source data.
Explanation
Correct Answer
D:With the client TTL already expired, repeated resolution from the custom DNS server returning the old private address points to stale server-side zone or forwarding data. Inspect the custom resolver’s upstream source, zone records and forwarder before changing unrelated Azure public DNS.
Incorrect Answers
A:Guest network leases can retain prior DNS server information. Updating VNet settings may not immediately update every running guest.
B:Private DNS provides internal record resolution for associated VNets. Publishing the names in a public zone could expose internal topology. This matters here because an Azure VM queries a configured custom DNS server for an internal application hostname. The authoritative private….
C:The VM is querying its configured private resolver, not the public Azure DNS zone for this internal hostname. An unrelated public-zone edit would not refresh that custom DNS source.
Question 185
An Azure-hosted website uses a vendor hostname instead of a fixed IP and needs an alias. Which DNS record can point to the other hostname?
- Create a CNAME record for the subdomain pointing to the vendor's supported target hostname.
- Map the subdomain using a supported CNAME and complete App Service hostname verification.
- Choose an unused private address inside the associated subnet for the frontend.
- Publish a fixed public IPv4 A record even though the service contract provides only a managed hostname alias.
Explanation
Correct Answer
A:CNAME aliases one DNS name to another, letting the target's addresses change without rewriting the original alias.
Incorrect Answers
B:A CNAME can target the app's azurewebsites.net hostname, while App Service requires an explicit custom-hostname binding. This matters here because an Azure-hosted website uses a vendor hostname instead of a fixed IP and needs an alias. Which DNS record can point….
C:Private IP addresses cannot be simultaneously assigned to conflicting Azure resources in the same subnet. The frontend must be unique.
D:An A record is an address mapping; a service that changes its IP behind a stable vendor hostname normally calls for a CNAME at a supported alias name, subject to provider mapping requirements.
Question 186
A VM intermittently spikes CPU and an operator needs a quick five-minute trend without deploying a custom logging agent. Which telemetry fits?
- Configure a log-based scheduled query alert on a workspace table that has no VM CPU records and use it instead of checking platform CPU metrics.
- View the VM's platform CPU percentage metric in Azure Monitor Metrics.
- Create an empty Azure Monitor workbook without adding the virtual machine CPU metric to any chart.
- Enable Activity Log export and assume control-plane events will provide the five-minute guest CPU time series.
Explanation
Correct Answer
B:Azure Monitor platform metrics provide numeric time-series signals for supported resources, including VM CPU percentage.
Incorrect Answers
A:A scheduled log query cannot plot the requested platform CPU trend unless that signal is ingested. The VM CPU Percentage platform metric is already available through Azure Monitor Metrics without a custom agent.
C:Workbooks are presentation surfaces that need an explicit data source. Without binding the CPU Percentage metric or a populated log query, the workbook will not display the five-minute CPU trend.
D:Activity Log records subscription/resource operations rather than normal CPU utilization samples. Read the VM's Azure Monitor platform CPU metric over the relevant five-minute interval.
Question 187
CPU average looks normal but brief spikes cause service delays. Which graph change could expose them?
- Investigate client-side or network transit components beyond the storage service's processing time.
- Install Azure Monitor Agent and use a data collection rule targeting the required logs.
- Create an Azure Monitor workbook with relevant metric or log visualizations.
- Change the Azure Monitor metric aggregation or time granularity to examine maximum values.
Explanation
Correct Answer
D:An average can hide short peaks. Maximum aggregation at a suitable interval helps reveal spikes that affect user latency.
Incorrect Answers
A:End-to-end latency includes the broader request path, while server latency measures service-side processing. Their difference may indicate network or client effects.
B:Azure Monitor Agent collects configured guest telemetry through data collection rules into supported destinations.
C:Workbooks combine Azure Monitor data into reusable interactive views. They do not by themselves apply resource configuration changes.
Question 188
A security team needs guest OS process logs from Linux VMs stored in a central analytics workspace. What collection mechanism is appropriate?
- Enable only Azure platform CPU metrics and assume Linux guest process logs are automatically shipped to Log Analytics.
- Install Azure Monitor Agent and use a data collection rule targeting the required logs.
- Select an App Service HTTP server error metric or suitable application log-based alert.
- Enable VM insights with appropriate Azure Monitor Agent and collection settings.
Explanation
Correct Answer
B:Azure Monitor Agent collects configured guest telemetry through data collection rules into supported destinations. This matters here because a security team needs guest OS process logs from Linux VMs stored in a central analytics workspace. What collection….
Incorrect Answers
A:Host metrics do not supply every guest syslog or process event. Configure the Azure Monitor Agent and a supported DCR targeting the desired guest log sources and workspace.
C:App Service exposes service-specific request signals. A VM CPU threshold alone cannot detect all web response failures.
D:VM insights provides curated performance and dependency monitoring where supported. Data collection and permissions must be configured.
Question 189
A VM has Azure Monitor Agent installed but syslog events never appear in Log Analytics. What should be checked?
- Reinstall the Azure Monitor Agent repeatedly while keeping the VM outside the Syslog DCR association.
- Inspect the workspace tables and active data collection rules before rewriting the KQL logic.
- Correlate regional Azure Service Health notices with VM Resource Health.
- Verify the data collection rule association, syslog facility/severity filters and workspace destination.
Explanation
Correct Answer
D:Agent installation alone does not specify every log source or destination. DCR rules determine collected data.
Incorrect Answers
A:Agent presence alone does not define which Syslog facilities or severities are collected. Verify the rule association, source selectors and Log Analytics destination.
B:Queries can return only collected records. An empty table may be a collection problem rather than a KQL syntax failure.
C:CPU metrics cannot establish whether an underlying Azure service incident occurred. Platform health sources provide contextual evidence.
Question 190
An administrator wants to record who started, stopped or resized a VM through Azure Resource Manager yesterday. Which log is appropriate?
- Configure supported virtual network flow logs or NSG flow logs under current regional support.
- Create an Azure Monitor scheduled query alert rule against the KQL result.
- Open subscription Cost Management budgets and treat a monthly spending alert as the audit trail of VM start and stop actions.
- Inspect Azure Activity Log for management-plane VM operations.
Explanation
Correct Answer
D:Activity Log records Azure control-plane events and caller information. It differs from detailed process logs inside the guest OS.
Incorrect Answers
A:Flow logging records network connection metadata for analysis and troubleshooting. It is not a full packet payload capture.
B:Log search alerts evaluate returned query data on configured schedules. Metric alerts target numeric metric signals.
C:Budgets track money rather than identifying which principal called a VM management operation. The Azure Activity Log records relevant resource control-plane events and actors.