100% Latest & Updated Microsoft AZ-104 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 700
A VM in one Azure VNet hosts both a web proxy and an internal telemetry collector on the same network interface IP configuration. Existing NSG rules identify web front ends through AsgWeb and collectors through AsgTelemetry. The operator wants both rule sets to target this one NIC without duplicating static IP rules. Which ASG membership pattern is supported?
- A NIC IP configuration can belong to only one ASG; split both services into separate public IP addresses.
- Associate the same NIC IP configuration with both AsgWeb and AsgTelemetry, respecting ASG and VNet constraints.
- Place AsgWeb and AsgTelemetry in different VNets; that grants both roles to a single NIC by VNet peering.
- Apply ASG membership directly to the VM resource group rather than to a NIC IP configuration.
Explanation
Correct Answer
B:Azure allows a network interface IP configuration to be a member of more than one Application Security Group, within service limits. Adding this NIC to both groups permits the separate existing NSG rules to match the two logical application roles without requiring per-VM IP address maintenance.
Incorrect Answers
A:Azure ASG membership is not limited to a single group per network interface. Splitting the workload into public IP addresses would also introduce unnecessary exposure and not solve role-based NSG selection appropriately.
C:ASG member NICs must satisfy same-VNet membership constraints; placing the two groups in different VNets is not how a single interface gains multiple application roles. VNet peering also does not change its actual network membership.
D:ASG membership belongs to network-interface IP configurations, not to a resource group abstraction. A resource group can hold many unrelated resources and is not a selector for traffic at a specific NIC IP.
Question 701
Two security groups are desired: one for SQL NICs and one for web NICs, both in the same VNet. A teammate attempts to add an Azure Storage account resource directly as an ASG member. What limitation is relevant?
- Create an NSG rule for the application tier and assume it migrates all Azure services into the ASG
- Place supported VM NIC IP configurations into ASGs; do not add the Storage account object itself
- Create an NSG rule using the Storage service tag and assume the referenced PaaS account becomes a member of the SQL ASG
- Attach the Storage account's private endpoint DNS zone to the ASG to create membership
Explanation
Correct Answer
B:Application Security Groups use network-interface IP configuration membership. A platform Storage account is not a member NIC, so it cannot be represented by adding its resource ID directly.
Incorrect Answers
A:An NSG references ASGs but does not convert unrelated PaaS resources into ASG members. The required membership remains unsupported.
C:The Storage service tag matches published service address prefixes in a supported network security rule. It does not register a Storage account as a NIC IP configuration in an application security group. Service tags can aid separate traffic rules, but ASG membership remains limited to eligible network interfaces.
D:Private DNS zone links configure name resolution, not ASG member IP configurations. The account still is not an eligible ASG member object.
Question 702
An Azure administrator attempts to write one NSG source selector containing both an application security group for its web-tier NICs and an explicit external partner IP prefix. Azure rejects the proposed combined selector. The traffic policy must continue supporting both sources. Which rule design is valid?
- Rename the ASG to match the partner's public CIDR so Azure combines them automatically
- Assign the public partner address to an Azure VM NIC so that the ASG can represent it
- Set the NSG protocol to Any so an ASG and an IP prefix can be used as one source set
- Create separate supported NSG rules for the ASG source and the explicit partner IP prefix
Explanation
Correct Answer
D:Microsoft's NSG guidance states that ASG references cannot be mixed with ordinary IP address ranges for the same source or destination within one rule. Use separate rules that preserve the intended protocol and port constraints while representing web-tier NIC membership and external partner prefixes correctly.
Incorrect Answers
A:An ASG's name is merely a label for eligible Azure NIC IP configurations; it isn't parsed as an IP prefix or joined with a partner network. Renaming the group cannot make an unsupported mixed source selector valid or preserve the desired two different traffic sources.
B:An external partner's IP range is not membership of a locally managed Azure NIC. Falsely assigning or imitating that address on an Azure VM would create address conflicts and incorrect source trust rather than defining the external partner's reachability.
C:Protocol selection controls matching TCP, UDP or other IP protocols and does not relax the source-selector limitations. A broader protocol value would potentially permit more traffic and still wouldn't make a mixed ASG/IP-prefix source valid in the same rule.
Question 703
A design has a web server with separate frontend and management NIC IP configurations. The security team wants only the frontend configuration to participate in application-tier NSG rules. Which membership granularity supports this?
- Place both NICs into the ASG automatically by tagging the VM as frontend
- Associate both frontend and management NIC IP configurations with the ASG, relying on NSG port rules to remove management from its membership
- Associate the subnet with the ASG rather than assigning just the frontend NIC IP configuration
- Associate the frontend NIC IP configuration with the application security group, not the management configuration
Explanation
Correct Answer
D:ASGs select participating IP configurations. Associating only the frontend connection gives a narrower policy target than assuming every interface attached to a VM belongs to the same application tier.
Incorrect Answers
A:VM tags are not equivalent to ASG IP configuration membership. They do not automatically attach every NIC or provide the requested interface-specific choice.
B:An IP configuration added to an ASG remains an ASG member, regardless of the port selected by an NSG rule. Only the frontend IP configuration should join the application ASG.
C:Application security group membership is bound to NIC IP configurations; an ASG is not selected by a whole subnet association. The targeted frontend NIC IP configuration must be added explicitly.
Question 704
A shared Azure VNet contains 12 application security groups for independent analytics worker roles. An administrator wants one inbound NSG rule whose source selector lists all 12 ASGs and whose destination/port are otherwise identical. The rule cannot be created as specified. What supported change keeps the role-based restriction?
- Replace the 12 ASGs with a single Internet service tag to bypass source-group cardinality limits.
- Assign the NSG directly to all 12 ASG resource objects; ASGs are attachment points for an NSG.
- Split the source ASG selectors across at least two NSG rules, with no more than 10 ASGs in a rule source or destination list.
- Set the rule priority to zero; special priorities remove all group-list size restrictions.
Explanation
Correct Answer
C:Microsoft documents a limit of up to 10 ASGs in a rule’s source or destination. Split the 12 logical groups across separate equivalent rules with appropriate unique priorities and the same destination/protocol/port conditions. This preserves role membership and avoids widening the approved source scope.
Incorrect Answers
A:Internet represents a broad IP address range and would no longer restrict access to the 12 intended application roles. Replacing role-specific ASGs with that tag changes the security meaning and may permit unauthorized sources.
B:NSGs attach to subnets or NICs, while ASGs are traffic selectors referenced by NSG rules. An ASG is not an NSG attachment target, so trying to bind the NSG to the group resources misunderstands their roles.
D:Custom NSG priorities range from 100 to 4096; zero is invalid. Priorities influence ordering and do not override the platform’s maximum number of ASG references in one rule.
Question 705
Security has removed public IP addresses from administrative VMs. Operators still need browser-based RDP or SSH access to the private VM addresses through an Azure-managed entry point, without publishing RDP/SSH ports to the internet. What service should be deployed?
- Azure Bastion
- An Azure public load balancer with port 3389 open
- Open inbound SSH and RDP through a just-in-time NSG rule on each VM public IP
- Use a public Load Balancer inbound NAT rule to expose each VM management port
Explanation
Correct Answer
A:Azure Bastion provides managed RDP/SSH connectivity to private Azure VMs through supported clients and the Azure platform. VM public IP addresses and public inbound management-port exposure are unnecessary.
Incorrect Answers
B:A public load balancer with an open management port would expose the administrative service externally, which is the risk the security team wants to eliminate.
C:Time-limited NSG rules can reduce exposure, but this path still depends on VM public addresses, which the policy deliberately removed.
D:Inbound NAT can route administrative connections but would expose a public management endpoint. Bastion preserves private VM management access without that exposure.
Question 706
An organization uses Azure Bastion Developer for browser-based SSH to a lab VM in the same virtual network. A production VM is moved to a different, directly peered VNet. The VM has no public IP and routing/guest SSH permissions are correct, but Bastion Developer cannot connect across the peering. Which Bastion change addresses this capability limit without assigning a public IP to the VM?
- Keep the Developer SKU and add an NSG allow from Internet sources to the private VM
- Deploy or upgrade to an eligible dedicated Azure Bastion Basic-or-higher SKU with a properly sized AzureBastionSubnet
- Create a public Azure DNS record naming the private VM and keep the Developer deployment unchanged
- Grant Storage Blob Data Reader to the operator to enable Bastion to cross the peering
Explanation
Correct Answer
B:Microsoft documents that Azure Bastion Developer lacks VNet peering connectivity, while dedicated Basic, Standard and Premium support it. Moving to a supported dedicated deployment in the Bastion VNet, with its required AzureBastionSubnet, lets the service reach a VM in a peered VNet if the network and target host allow SSH.
Incorrect Answers
A:The Developer SKU itself does not support reaching VMs through VNet peering, so loosening an NSG cannot add that missing Bastion capability. Opening Internet access to a private administration port also violates the stated private-only VM policy. The remedy is a supported dedicated Bastion tier, not an exposure workaround.
C:Publishing a public name for an RFC1918 private address neither makes that address routable from a user’s browser nor changes Azure Bastion Developer SKU feature limitations. DNS names can help identify services, but they do not supply missing Bastion peering support or a secure management transport.
D:Storage Blob Data Reader grants blob-object read permissions and is unrelated to Azure Bastion network peering. The operator might need relevant VM access permissions, but a storage data role does not upgrade the Bastion feature tier or establish the supported peered-VNet SSH connection.
Question 707
An administrator deploys an Azure Bastion Standard host in a VNet. A /26 subnet named JumpHosts already contains two jump VMs, and the deployment wizard does not accept it as the Bastion placement subnet. Assume address capacity is sufficient. Which subnet requirement must the design satisfy?
- Rename the JumpHosts subnet to AzureBastionSubnet while keeping its existing jump VMs inside it
- Use the existing GatewaySubnet, because Bastion and VPN gateways must share the reserved gateway subnet name
- Create a dedicated subnet named AzureBastionSubnet in the Bastion VNet and keep workload resources out of that subnet
- Keep JumpHosts as the placement subnet and enable a Microsoft.Network/bastionHosts subnet delegation instead of creating the reserved Bastion subnet
Explanation
Correct Answer
C:Azure Bastion Standard requires a dedicated subnet with the exact name AzureBastionSubnet in the same VNet as the Bastion host; ordinary VMs cannot remain in that reserved subnet. The scenario already assumes sufficient /26 capacity, so the decisive requirement here is the named, exclusive placement rather than selecting a larger prefix. Bastion Developer has a different deployment model, excluded by Standard.
Incorrect Answers
A:For Standard Bastion, the required AzureBastionSubnet is reserved for Bastion deployment and cannot continue to host ordinary workload VMs. Renaming or otherwise relabeling the occupied JumpHosts subnet would not supply a dedicated empty subnet. The reserved name is only one requirement; the subnet must also be exclusively usable by the Bastion service.
B:GatewaySubnet is reserved for virtual network gateways such as VPN gateways, not for Azure Bastion Standard. Sharing the gateway subnet would mix incompatible managed networking resources and would not meet the AzureBastionSubnet identity requirement. The administrator needs a separate dedicated Bastion subnet in the intended VNet.
D:Standard Bastion does not deploy by delegating an arbitrary existing workload subnet to Microsoft.Network/bastionHosts. The service expects the specially named dedicated AzureBastionSubnet rather than an ordinary subnet selected through a generic subnet delegation. Retaining workload VMs in JumpHosts would continue to violate its placement requirement.
Question 708
A VM has no public IP and is accessed through Azure Bastion. The Bastion browser session opens, but connecting to the VM times out. The VM subnet NSG denies RDP from the Bastion subnet. What must be corrected without giving the VM a public IP?
- Add a TCP 3389 inbound NSG rule from all Internet addresses instead of AzureBastionSubnet
- Allow only inbound TCP 443 from the user browser to the VM subnet
- Permit the required management port from AzureBastionSubnet to the VM private address according to the Bastion network rules
- Allow the Bastion service subnet only on inbound TCP 443 to the VM
Explanation
Correct Answer
C:Azure Bastion connects to VM private IP addresses over RDP or SSH; the relevant NSG rules must permit that traffic from its dedicated subnet while keeping direct public access closed.
Incorrect Answers
A:Overly broad source ranges violate the stated private-access design and needlessly enlarge the allowed origin set. The necessary path is from Bastion to the private NIC.
B:Bastion uses its HTTPS frontend for the browser, but the VM connection itself still needs RDP/SSH from the Bastion subnet. Allowing port 443 to the guest does not solve the reported drop.
D:Port 443 reaches the Bastion gateway externally; a Windows VM RDP session ordinarily uses port 3389 from Bastion to the VM. The allowed port would still mismatch the guest connection.
Question 709
An operations team can access Azure VMs through Bastion in the portal, but needs approved native client RDP sessions for a debugging tool. Their current Bastion SKU lacks that feature. Which design factor should be evaluated?
- Use a Bastion SKU supporting native client connectivity and its documented access prerequisites
- Expose TCP 3389 publicly on every VM and bypass Bastion permanently
- Keep a Basic Bastion deployment but add inbound TCP 3389 on AzureBastionSubnet, assuming the firewall rule enables native-client support.
- Keep the Developer Bastion SKU and change only the VM DNS name, assuming this activates native-client connections.
Explanation
Correct Answer
A:Bastion capabilities vary by SKU. Native client workflows are not identical to a browser session and require supported SKU, authentication, and connectivity settings.
Incorrect Answers
B:That removes the private-management boundary and creates unnecessary Internet exposure rather than enabling the requested Bastion capability.
C:Opening an NSG port cannot enable a feature absent from the Bastion Basic SKU. Native client support requires Standard or Premium and the correct Bastion feature settings and permissions; do not substitute VM public RDP exposure.
D:Bastion Developer lacks the dedicated native-client feature available in Standard and Premium. Changing DNS naming does not upgrade the service capabilities or supply the configuration needed for native RDP/SSH use.
Question 710
A regulated operations team connects to private VMs through Azure Bastion Standard using the Azure portal. The team must retain graphical recordings of future portal RDP and SSH sessions for investigation, rather than only connection metadata. Which Bastion configuration change provides this capability?
- Enable Azure Virtual Network flow logs and treat transport-level connection records as full graphical recordings of Bastion administrator sessions
- Configure an Azure Monitor diagnostic setting on the Standard bastion and assume it automatically records all screen contents
- Upgrade Azure Bastion to Premium and enable Session Recording with an appropriate storage container and its access configuration
- Enable native-client mode on the existing Standard bastion and assume session recording is available for those native sessions
Explanation
Correct Answer
C:Microsoft documents graphical session recording as a Bastion Premium-only capability. Enabling that feature on the Premium host and configuring compatible blob storage retains supported portal-based graphical sessions for later playback. Review managed-identity or SAS access, recording container requirements, and monitoring because the evidence is more sensitive than ordinary session metadata.
Incorrect Answers
A:Virtual Network flow logs can capture packet-flow metadata such as IPs, ports and direction, but not screen frames or interactive RDP/SSH session content. For portal graphical recordings, Azure Bastion Premium Session Recording must be enabled with the appropriate recording destination. New NSG flow logs also cannot be created after June 2025.
B:Azure Monitor diagnostics may collect resource logs and operational events, but they do not turn the Standard Bastion tier into graphical session recording. A log of connection attempts is not a screen recording of a completed session. This feature has a specific Bastion SKU and storage configuration requirement.
D:Native-client connectivity is available at Standard or higher, but Bastion session recording is not supported for native-client sessions. Enabling the native feature does not add the Premium-only recording capability and would not capture the requested portal-session visual evidence for compliance.
Microsoft Azure Administrator (AZ-104) Practice Tests