Question 330 A legacy VM uses an unmanaged disk design that limits some management features. What modernization direction is appropriate? Migrate to supported Azure managed disks with a validated plan Store the OS in a public DNS record Use an Entra security group as the VHD Treat local temporary storage as permanent Explanation Correct Answer A:Managed disks simplify lifecycle and enable modern platform capabilities. Incorrect Answers B:DNS is not a disk platform. C:Groups cannot store VM images. D:Ephemeral disks are unsuitable for durable state.
Question 331 A Bicep module output must supply a subnet resource ID to another deployment module. What should the first module expose? A static DNS TXT record called subnetId The administrator's directory object ID Only a screenshot of the deployed subnet A typed output containing the deployed subnet's resource ID Explanation Correct Answer D:Module outputs connect dependent resources without duplicating ID construction. Incorrect Answers A:DNS does not provide the ARM dependency reference. B:A user identity is not the subnet resource ID. C:An image is not a machine-readable ARM dependency.
Question 332 A department's resources all require a cost-center tag. What Azure mechanism identifies missing tags consistently? Azure Policy assigned to the relevant scope Use management-group RBAC assignments to grant tag editors Use Cost Management budgets without checking resource metadata Write a tag naming convention in a wiki without policy assignment Explanation Correct Answer A:Policy can audit or enforce required tagging rules. Incorrect Answers B:RBAC controls who can edit tags; it does not audit every resource for missing cost-center metadata. C:Budgets monitor spending thresholds rather than evaluate required resource tags. D:Documentation alone cannot consistently detect resources that lack the required tag.
Question 333 An application needs shared administrative responsibility over a fleet of 30 VMs. Which construct can apply common extensions and instances? A storage container named VMs VM Scale Sets for homogeneous managed VM fleets An Entra Microsoft 365 group alone One individual VM size change Explanation Correct Answer B:A scale set centralizes instance configuration and lifecycle for similar VMs. Incorrect Answers A:Container naming does not coordinate compute instances. C:Groups cannot define VM instance replicas. D:Resizing one VM does not manage the fleet.
Question 334 Cost reporting must distinguish development from production across resource groups. Which convention is most useful? An enforced Environment tag with consistent values Assigning all resources random names Using one shared public IP for all projects Storing cost center in a personal email draft Explanation Correct Answer A:A standard tag enables filtering of resource inventories and costs. Incorrect Answers B:Random names defeat structured reporting. C:Network addressing is not a cost classification convention. D:An email is not a resource metadata source.
Question 335 A subnet has default Azure-provided name resolution but a VM must query on-premises internal zones. What should be configured? An NSG allow for only port 3389 A VM scale set minimum count Custom DNS servers or an appropriate hybrid DNS resolver design Blob lifecycle delete rule Explanation Correct Answer C:Custom resolver paths are needed for names outside default Azure resolution. Incorrect Answers A:RDP cannot supply DNS answers. B:Compute scale does not forward DNS queries. D:Storage lifecycle cannot resolve private domains.
Question 336 A private endpoint has an IP address in a subnet, but VMs still reach the public service endpoint. What should be diagnosed? Only the VM's OS disk type Only resource lock settings Private DNS name resolution for the service's private-link hostname Only the storage account's blob versioning Explanation Correct Answer C:DNS must resolve the service to the private endpoint for intended traffic. Incorrect Answers A:Disk type does not affect private link DNS mapping. B:Locks do not select endpoint resolution. D:Versioning cannot redirect connections.
Question 337 A Site Recovery replication policy is healthy, but the team has never tested application startup in the secondary region. What is missing? Only verify an Azure Policy tag Only review blob version count A test failover with application validation and controlled cleanup Delete the production VMs as a first test Explanation Correct Answer C:Test failover verifies the recovery plan without declaring a real disaster. Incorrect Answers A:Tag compliance does not prove DR operations. B:Blob history does not verify VM app startup. D:Destructive testing needlessly threatens availability.
Question 338 Two templates both manage one shared NSG, and successive deployments overwrite each other's rule changes. What design concern is shown? Run both deployments in complete mode so each removes resources absent from its template Conflicting ownership of the same ARM resource and properties Change only the deployment names while both templates still define the NSG rules Add dependsOn between unrelated resources without consolidating NSG definitions Explanation Correct Answer B:A single authoritative desired state reduces deployment drift and collisions. Incorrect Answers A:Complete mode increases conflicting ownership risks and can remove shared resources unintentionally. C:Unique deployment names do not resolve two sources of desired state for the same NSG. D:Dependency ordering cannot prevent later deployments from overwriting conflicting shared-property values.
Question 339 A project grants temporary B2B access to a finance application. Which TWO steps best ensure the supplier's access is limited and auditable? Enable anonymous public access to the application Assign only the finance application's required group membership Invite a named guest identity using the partner's verified sign-in address Grant Owner over the subscription to every guest Share a tenant Global Administrator account Explanation Correct Answers B:Narrow app group scope avoids tenant-wide access. C:Individual guest identities preserve attribution. Incorrect Answers A:Public access bypasses guest identity enforcement. D:Subscription Owner greatly exceeds app access. E:Shared global privilege eliminates least privilege.
Question 340 A storage account should accept traffic only from one permitted VNet subnet. Which security feature is relevant? An Azure RBAC Reader assignment alone A blob lifecycle deletion rule Storage firewall virtual network rules with the required network path A resource group tag Explanation Correct Answer C:Network rules constrain supported storage endpoints to approved network sources. Incorrect Answers A:Reader governs principal authorization, not source network eligibility. B:Lifecycle policies do not restrict incoming network connections. D:Tags are not network access controls.