Question 40 A registry contains several large unused image versions. The team needs lifecycle hygiene without deleting currently referenced images. What is appropriate? Inventory active image references before pruning unneeded artifacts Give the registry anonymous write access Change the subscription's display currency Delete every registry manifest indiscriminately Explanation Correct Answer A:Safe registry cleanup must preserve digests used by deployed revisions. Incorrect Answers B:Public writes worsen supply-chain risk. C:Billing currency does not identify orphaned images. D:Running or future deployments may need referenced images.
Question 41 A production blob store must survive the loss of one availability zone while staying in the same region. What is a suitable redundancy choice? A single unmanaged VM disk Zone-redundant storage (ZRS) in a supported region Standard archive tier Locally redundant storage alone Explanation Correct Answer B:ZRS synchronously spreads replicas across availability zones in one region. Incorrect Answers A:A VM disk is not an Azure Storage account redundancy selection. C:A data tier does not provide zone-level replication. D:LRS replicates within one datacenter or zone boundary rather than multiple availability zones.
Question 42 An ACR image pull fails because a firewall permits registry login endpoint but blocks required data endpoints. What is relevant? Only Azure DNS public zone SOA record Registry network dependencies and authorized data endpoint access Only Entra user phone numbers Only the VM's disk size Explanation Correct Answer B:ACR pulls can require access to image layer endpoints in addition to login. Incorrect Answers A:Zone authority is not enough to fix blocked image layer access. C:Phone fields are unrelated to image retrieval. D:Disk size does not explain blocked registry endpoints.
Question 43 A lifecycle policy is configured to delete blobs after 90 days, but it must not delete legally held files. What should be considered? Immutability/legal hold constraints can prevent eligible deletion despite lifecycle rules Resource group tags physically lock every blob Lifecycle deletion always overrides legal holds An NSG allow rule will retain blobs Explanation Correct Answer A:Preservation obligations can supersede automatic deletion eligibility. Incorrect Answers B:Azure tags do not implement blob immutability. C:Protected blobs should not be deleted merely due to age. D:Network allows do not govern legal retention.
Question 44 An administrator must delegate a browser client upload for just 20 minutes and prohibit deletes. What is most appropriate? Issue a SAS constrained to create/write operations, object scope and expiry Issue an account SAS with service-wide full permissions for a year Make the container public and writable Grant everyone subscription Owner Explanation Correct Answer A:Narrow permissions and duration minimize temporary upload rights. Incorrect Answers B:That delegates far more authority and duration. C:Public write access bypasses intended control. D:Owner is unrelated and overprivileged for temporary file upload.
Question 45 A team wants rules that match Azure Storage ranges without maintaining changing individual IP prefixes. Which NSG feature can help? A VM availability zone number A cost-center resource tag A supported service tag representing Azure Storage traffic A blob container's name Explanation Correct Answer C:Service tags abstract provider address groups in NSG rules. Incorrect Answers A:Zones do not identify IP prefix sets. B:ARM metadata tags are not NSG service tags. D:Container names cannot replace network address prefixes.
Question 46 A VM in a scale set fails an application health test, and the team wants recovery without manually rebuilding individual instances. Which capability is relevant? Blob lifecycle deletion Entra password writeback VM Scale Sets automatic instance repair with suitable health monitoring Azure Files share quota increase Explanation Correct Answer C:Automatic repairs can replace unhealthy scale-set instances where supported. Incorrect Answers A:Blob lifecycle does not repair VMSS compute. B:Password sync does not restart unhealthy instances. D:SMB capacity does not repair app health.
Question 47 A private DNS zone is created but VMs in another VNet cannot resolve its records. What should be configured? An App Service backup schedule Virtual network link for the additional VNet or an approved DNS forwarding design A VM disk snapshot A storage access key rotation Explanation Correct Answer B:Private DNS visibility depends on linked VNets or resolver forwarding. Incorrect Answers A:Backup cannot enable VNet DNS visibility. C:Snapshots do not forward DNS queries. D:Key changes do not link DNS zones.
Question 48 A deployment must reference a resource already created in another resource group without recreating it. How should Bicep model it? Use a user-assigned managed identity as a resource-group alias Duplicate the resource using the same name in the current group Declare the resource as existing at the correct scope and reference its properties Copy the resource's public IP as its resource ID Explanation Correct Answer C:Existing declarations address already deployed resources without new creates. Incorrect Answers A:An identity is not a replacement for an ARM scope. B:An incorrect resource scope can create or reference the wrong object. D:Network addresses are not ARM resource identities.
Question 49 An application uses DNS to resolve a new VM private address but still sees the old IP. What should be checked? Only Azure Backup retention Only storage account encryption status Only a subscription's spending alerts DNS record correctness, resolver path and cached TTLs Explanation Correct Answer D:Stale DNS caching can preserve old address answers after changes. Incorrect Answers A:Backups do not control DNS responses. B:Storage encryption does not refresh DNS caches. C:Budgeting cannot update resolver records.
Question 50 An engineer needs to start and stop VMs in one resource group but no access over network security groups. What is a better alternative to Contributor? Choose a relevant VM-focused built-in or custom role at that resource group Give network contributor to the entire VNet Assign the Global Administrator directory role Assign Owner at subscription scope Explanation Correct Answer A:Targeting VM operations avoids unrelated network management permissions. Incorrect Answers B:Network Contributor is not a VM lifecycle role. C:Directory administration is not required for VM operations. D:Owner grants extensive unrelated powers.