100% Latest & Updated Microsoft AZ-104 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
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.
Question 711
An organization uses Azure Bastion Standard with native-client support to administer protected Linux VMs. Security policy permits Bastion-to-VM SSH on TCP 22 but prohibits Bastion-to-VM RDP on TCP 3389. The managed Bastion service must continue receiving its required control-plane and internal communication traffic. Which network-control change most directly enforces the protocol restriction?
- Deny inbound TCP 3389 from the public Internet to each Linux VM but leave Bastion-to-VM TCP 3389 permitted over its private path
- Grant Azure Reader rather than Contributor to Bastion users and rely on management-plane RBAC to filter out RDP packets
- Apply a blanket deny-all rule to AzureBastionSubnet for both ingress and egress, including required Bastion platform communication
- Apply targeted NSG rules on the VM/Bastion-to-VM path to allow required TCP 22 and block TCP 3389, while preserving Bastion's required infrastructure ports
Explanation
Correct Answer
D:Bastion connects privately to the target VM over its permitted management ports. An NSG on the protected VM NIC or subnet can allow SSH (TCP 22) from AzureBastionSubnet while denying RDP (TCP 3389); appropriately scoped Bastion-side egress restrictions may also be used. Keep Azure Bastion's mandatory management and internal traffic rules intact so secure SSH connections continue working.
Incorrect Answers
A:A public-Internet deny rule does not address the relevant private flow: Azure Bastion originates sessions from AzureBastionSubnet toward the protected VM. The policy must block the TCP 3389 path from Bastion itself, not only prevent direct Internet RDP. In many Bastion architectures the VM has no public IP in the first place.
B:Azure RBAC governs who can manage or initiate operations in Azure, but it is not itself a protocol-level packet filter that selectively closes TCP 3389 while permitting TCP 22. An engineer with authorized Bastion access could still reach an enabled RDP service if the network and guest permit it. Use targeted network/guest restrictions for the protocol requirement.
C:A blanket deny at AzureBastionSubnet blocks the required SSH path as well as Bastion management/data-plane ports such as 443, 8080 and 5701. It disrupts the managed host rather than enforcing SSH-only access to the protected workload. Preserve Microsoft's mandatory Bastion service rules and tailor only the relevant target-VM management traffic.
Question 712
A new Azure Bastion Standard host deployment fails validation even though the operator has created a correctly named dedicated AzureBastionSubnet. The subnet is /27 and contains no other resources. Which subnet capacity rule causes the failure?
- Resize or recreate the dedicated AzureBastionSubnet with at least a /26 prefix before redeploying Bastion
- Rename the existing /27 subnet to a shorter name while keeping the same address prefix
- Move the /27 subnet's route-table resource into a different resource group
- Assign the Bastion host a public IP that uses a larger CIDR prefix than the subnet
Explanation
Correct Answer
A:Current Azure Bastion deployment requirements specify a /26 or larger dedicated subnet for new deployments. A /27 may exist in legacy installations, but creating a new Standard Bastion host there fails the current minimum sizing requirement.
Incorrect Answers
B:The required subnet is already correctly named; the insufficient address capacity causes validation. A shorter label would also violate the reserved AzureBastionSubnet name.
C:Resource group placement of a route table does not increase available subnet IP addresses. The deployment still sees a subnet smaller than the required /26.
D:The public IP address is separate from the private subnet's allocated address range. Assigning a public endpoint cannot satisfy the private AzureBastionSubnet size prerequisite.
Question 713
An Azure Bastion session reaches a VM on TCP 3389, but an administrator wants to use Bastion as an arbitrary layer-seven HTTP reverse proxy for a public website. What capability boundary should be recognized?
- Generate an Azure Bastion shareable link to the VM and use it as the public website URL
- Use a supported web ingress service for HTTP publishing and reserve Bastion for administrative VM connections
- Configure an NSG rule allowing HTTP and Bastion automatically becomes an HTTP ingress gateway
- Use a Bastion native-client tunneling connection and assume that exposes a public HTTP reverse proxy for all website users
Explanation
Correct Answer
B:Bastion provides supported RDP/SSH-based management access to private VMs. It is not a general-purpose public HTTP reverse proxy or web application load-balancing service.
Incorrect Answers
A:A Bastion shareable link provides approved administrative connectivity rather than forwarding arbitrary public HTTP requests to a site. Publish websites through an HTTP-aware ingress service.
C:An NSG rule permits packets but does not add application proxy behavior to Bastion. The service is not a website HTTP frontend.
D:Bastion native-client tunneling is a supported administrative transport pattern, not a managed public web proxy for arbitrary Internet clients. Public application ingress must be configured separately.
Question 714
An Azure virtual-network subnet already uses a Microsoft.Storage service endpoint. The security team now wants outbound traffic over that service endpoint limited to exactly two approved Azure Storage accounts; an unrelated storage account might otherwise accept connections from the subnet. Private Link is not required. Which control should be associated with the subnet?
- A virtual network service endpoint policy listing only the approved storage account resource IDs
- An NSG allow rule for the entire Storage service tag, with no account restrictions
- An allow entry for the subnet only in the two approved storage account firewalls, leaving all other accounts reachable if they permit access
- A private DNS CNAME alias for one approved storage account without a service endpoint policy
Explanation
Correct Answer
A:A service endpoint policy filters traffic over the Storage service endpoint to permitted Azure Storage resources. Associating a policy listing the two accounts with the subnet implements the requested outbound allowlist.
Incorrect Answers
B:The Storage service tag represents broad Azure Storage address ranges; permitting it in an NSG does not select individual approved storage accounts.
C:Restricting inbound access to the two trusted accounts does not stop this subnet from reaching a third account whose firewall permits it. The requirement is an outbound restriction from the subnet.
D:DNS aliasing affects name resolution but does not enforce the destination-account restriction on service endpoint traffic. The subnet needs a service endpoint policy.
Question 715
A security engineer enables an Azure Storage service endpoint on a VM subnet and adds the subnet to the storage firewall. A colleague expects the storage hostname to resolve to a private IP because a service endpoint was enabled. Which distinction is correct?
- Service endpoints always create one private network interface in the consumer VNet
- Service endpoints grant everyone subscription Owner on the storage account
- A service endpoint turns off TLS for storage requests
- A service endpoint secures service access from the subnet but does not give the storage account a private endpoint IP
Explanation
Correct Answer
D:Service endpoints extend subnet identity to supported PaaS services while using service public endpoints. Private endpoints are the separate feature that supplies private IP addresses.
Incorrect Answers
A:That behavior describes private endpoints, not service endpoints. No storage private NIC is created merely by enabling a service endpoint.
B:Network source restrictions do not assign Azure RBAC permissions. Identity/data authorization remains separate.
C:Service endpoint routing is not a transport encryption bypass. HTTPS or secure-transfer policies still apply to storage clients.
Question 716
A team enabled the Microsoft.Storage service endpoint on an Azure subnet. Requests to a storage account configured for selected networks still receive network-denied errors. The account’s allowed virtual-network list does not include that subnet. What is missing?
- Add the VNet subnet to the storage account network rules as an approved source
- Give every VM Azure subscription Owner to bypass the storage firewall
- Delete the VNet subnet’s service endpoint to force trusted access
- Raise the storage-account redundancy from LRS to GRS
Explanation
Correct Answer
A:A service endpoint enables the subnet’s service route/identity, but the target storage firewall still must permit that subnet. Both parts are required.
Incorrect Answers
B:RBAC management rights do not bypass network firewall restrictions on data requests, and subscription Owner would grant excessive privileges.
C:Removing the endpoint would not add the subnet to the storage network allowlist. It could make the intended network path less secure.
D:Replication durability has no relationship to the account’s permitted subnet network rules.
Question 717
A VM subnet is explicitly permitted by a storage account firewall through a service endpoint, but a data download still returns authorization failed. The caller has no Blob data RBAC assignment or signed SAS. What security boundary is missing?
- Data-plane authorization such as an applicable Blob data role or properly scoped SAS
- Assign the Azure RBAC Reader role on the storage account to the caller because it provides Blob content read access
- Replace the existing working service endpoint with a private endpoint and assume that it grants Blob read permission
- Enable the storage firewall exception for trusted Microsoft services to authorize the same caller
Explanation
Correct Answer
A:The service endpoint and storage firewall rule allow network-originated access, but Azure Storage still authorizes the requested data operation separately. The caller has neither a Blob data role nor a signed SAS in this scenario. Grant a scoped Storage Blob Data Reader role to its actual identity or use a suitably constrained supported SAS; then the read can pass both network and data-plane checks.
Incorrect Answers
B:Azure Resource Manager Reader permits management-plane inspection of the storage account resource; it does not itself authorize reading its protected Blob contents. Portal navigation can need Reader as well as a Blob data role, which makes the distinction tempting. The missing authorization is specifically a Blob data-plane permission, not another management-plane read assignment.
C:A private endpoint is an alternative private network path but does not supply an identity or signed permission to read blob data. The current service endpoint already satisfies the stated firewall restriction, so changing how packets arrive cannot resolve an authorization failure. Data access must be granted through Blob authorization mechanisms.
D:The trusted-services exception is a storage firewall networking allowance for qualifying Azure services, not a blanket identity privilege for any caller on the permitted VM subnet. Even if a different network exception were applicable, each protected Blob request still requires a valid data-plane authorization; the question explicitly states that credential/permission is absent.
Question 718
An Azure VM subnet has a Microsoft.Storage service endpoint and is explicitly included in a storage account’s allowed virtual-network rules. Requests reach the Blob service but receive HTTP 403 with error code AuthorizationPermissionMismatch when the application tries to write a blob. The identity is authenticated. Which independent control should the engineer check?
- Delete and recreate the subnet service-endpoint rule because a valid VNet rule guarantees that Blob writes are authorized.
- Give the authenticated caller Azure Reader on the storage account instead of a Storage Blob Data write role.
- Verify the caller's storage data-plane authentication and required permissions in addition to the allowed subnet
- Assign Storage Blob Data Reader to the identity because service-endpoint traffic needs only read authorization to upload.
Explanation
Correct Answer
C:Service endpoints change how the Storage service recognizes network origin; they do not grant access to blobs or files. The caller still needs valid Azure RBAC/SAS/key-based authorization where permitted.
Incorrect Answers
A:A service endpoint and an account VNet rule determine whether the network origin may reach the storage endpoint. They do not grant the authenticated identity data-plane write privileges. The error explicitly identifies an authorization permission mismatch after the request reaches Blob; changing an already-valid subnet allow rule leaves that mismatch.
B:The ordinary Reader role enables ARM control-plane resource inspection but does not include the Blob data-plane write action. The caller can pass the subnet network boundary while lacking the necessary storage data-role or SAS operation permission. An appropriate data-plane grant is still needed at the correct resource scope.
D:Storage Blob Data Reader allows reading blob content, not creating or overwriting blobs. A VM connected through a permitted service endpoint still needs the specific storage data-plane permissions for the write. The endpoint and firewall do not upgrade a read-only identity to a writer.
Question 719
On-premises servers connected over a VPN must reach an Azure Storage account through its private address with public access disabled. A team proposes only a service endpoint on an Azure subnet. Why is this insufficient?
- Enable the service endpoint and assume any connected on-premises host inherits subnet identity
- Create a route table directing the public Storage service IP to the VPN gateway
- Add a public Azure DNS record with a private IPv4 value while leaving the service endpoint alone
- Use a Storage private endpoint with private name resolution and routable VPN connectivity
Explanation
Correct Answer
D:A private endpoint assigns a private IP to the service in a VNet and can be reached by appropriately routed on-premises clients. A service endpoint alone does not publish an equivalent private IP for those sources.
Incorrect Answers
A:Service endpoints apply to supported Azure subnet-originated flows. On-premises clients do not become members of that subnet merely because a VPN connects the networks.
B:A UDR cannot convert the public PaaS endpoint into a private address or change how Storage authorizes network origins. It is not equivalent to Private Link.
C:DNS data without a valid private endpoint and routing cannot establish private service connectivity. It may instead direct clients to an IP with no Storage listener.
Question 720
An Azure Storage account uses a default-deny public network firewall and allows only a specific application subnet. Azure Monitor (Microsoft.Insights) must write resource diagnostic logs to this storage account from its supported Microsoft-operated platform infrastructure, outside the application VNet. The storage account is not part of an enforced network security perimeter. Which network exception can enable this documented Azure Monitor path while maintaining the default-deny boundary?
- Add an IP allow rule covering every public Azure datacenter address, assuming Azure Monitor alone uses those addresses
- Assume that being hosted anywhere in Azure automatically bypasses Storage account network restrictions.
- Add a VNet rule for an unrelated private subnet and assume Azure Monitor platform infrastructure will originate from it
- Enable the trusted Microsoft Azure services network exception for Azure Monitor and retain its required authenticated storage authorization
Explanation
Correct Answer
D:Microsoft lists Azure Monitor (Microsoft.Insights) among trusted services able to write monitoring data to secured Storage accounts. In this scenario the default-deny account is not governed by an enforced network security perimeter; the documented exception permits that service path without admitting arbitrary Azure VMs. Authentication and required data access remain separate.
Incorrect Answers
A:Permitting broad Azure datacenter public IP space unnecessarily authorizes other network origins and does not narrowly express the documented trusted-service exception. Use the specific exception with strong service authorization.
B:Azure services are not automatically all treated as trusted by the Storage firewall. Azure-hosted application VMs and arbitrary third-party workloads may still need explicit IP/VNet rules or private endpoints. Treating every Azure origin as exempt would ignore the documented trusted-service list and weaken the intent of a default-deny design.
C:A storage VNet rule applies to traffic from the specified subnet. Azure Monitor diagnostic export runs from supported service infrastructure outside the VNet, so the unrelated subnet rule does not create the missing network exception.
Microsoft Azure Administrator (AZ-104) Practice Tests