Exam Information
Free practice questions with explanations
Microsoft AZ-104 Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 13
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Deploy and manage Azure compute resources
A company runs a line-of-business application on virtual machines in the East US region. The security team requires that temp disks, OS disks, and data disks are encrypted with customer-managed keys, and that encryption also covers data on the VM host so that unencrypted data never exists on the host. The application team wants the change applied to existing VMs with minimal downtime and without redeploying the workloads. Which action should the administrator take?
Correct Answer: DExplanationEncryption at host encrypts temp disks, OS and data disk caches, and data flowing between compute and storage, and it can be enabled on existing VMs by deallocating them and turning on the setting, so a restart cycle is the only disruption. Azure Disk Encryption encrypts within the guest OS and does not cover the host-side temp disk and cache path the security team specified. A new scale set would require redeploying the workload, violating the constraint. Storage service encryption protects data at rest in the storage account but not the host-side temp disk or cache, so it misses the stated requirement.
-
2 Question 2 Single choice Implement and manage storage
A financial services firm stores audit exports in a Blob Storage container. Regulations require that deleted blobs can be recovered for 30 days, and that any accidental overwrite of a blob keeps its previous contents available. Costs must stay low, and the team does not want to manually copy files on a schedule. Which configuration meets these requirements most cost-effectively?
Correct Answer: CExplanationBlob versioning automatically preserves prior versions when a blob is overwritten, and container soft delete with a 30-day retention recovers deleted containers and their blobs, covering both requirements without scheduled jobs. Daily snapshots need a manual or scripted schedule and cost more to store per retained copy, conflicting with the cost goal. Point-in-time restore applies only to block blobs in specific containers under its own prerequisites and does not address overwrite history in the way the firm requires. Object replication duplicates data to another account at added cost and does not provide the overwrite history on its own.
-
3 Question 3 Single choice Implement and manage virtual networking
A healthcare company hosts an internal web application on a virtual machine in a subnet of a virtual network. The subnet has a network security group, and the VM has no public IP address. Administrators must connect to the VM over RDP from the Azure portal without exposing port 3389 to the internet and without deploying VPN infrastructure. The subnet name is app-subnet, and the team wants to keep the existing NSG rules unchanged except for what is necessary. Which approach should the administrator take?
Correct Answer: AExplanationAzure Bastion requires its own dedicated subnet named AzureBastionSubnet, and once deployed it provides RDP and SSH through the portal over TLS without exposing 3389 publicly or assigning VM public IPs. Opening 3389 to the Internet violates the explicit exposure constraint. Service endpoints extend subnet identity to Azure PaaS services and do not provide an RDP path into a VM. Private endpoints apply to supported PaaS resources, not to virtual machines, so that option does not provide the access path described.
-
4 Question 4 Single choice Manage Azure identities and governance
A global retailer uses a management group hierarchy with the subscription Sales-Prod under a group named Commerce. A contractor from a partner organisation needs to view resources in one resource group inside Sales-Prod for a six-month project. The security team requires that the contractor cannot make changes and that the access is reviewed regularly by the business owner. The contractor must not be given a directory role that grants access to unrelated subscriptions. Which configuration best meets these requirements?
Correct Answer: AExplanationAssigning the Reader role at resource group scope confines access to the single resource group the project needs, and an access review lets the business owner recertify that assignment on a schedule. Assigning Reader at the management group grants visibility across all subscriptions beneath it, breaking the scope constraint. Contributor allows changes, violating the read-only requirement. A resource lock prevents deletion or modification but does not grant or restrict read access, and assigning Reader at subscription scope is again broader than needed.
-
5 Question 5 Single choice Monitor and maintain Azure resources
An operations team receives frequent alerts that a production virtual machine's CPU is high, but the alert fires only when the average exceeds 90 percent for five minutes, and the team has missed a sustained spike that lasted about 3 minutes. The team wants to be notified about any spike above 85 percent within a 1-minute evaluation window, route the alerts to an on-call group, and suppress notifications during a nightly maintenance window from 01:00 to 03:00 UTC without changing the alert rule itself. Which combination should the administrator configure?
Correct Answer: AExplanationA metric alert rule's evaluation frequency and window define how quickly spikes are caught, and an alert processing rule can suppress notifications for a scheduled time window without editing the rule, which matches the requirement to keep the rule unchanged. Deleting and recreating the rule discards its history and is not needed for suppression. A log search alert over the Perf table is a different alert type and a maintenance configuration controls platform updates, not alert notifications. Disabling the action group would be a manual change to the rule's routing and would need to be reversed each night rather than being scheduled.
-
6 Question 6 Single choice Deploy and manage Azure compute resources
A team maintains an Azure Bicep file that deploys a storage account and a virtual network. They now need the same deployment extended to include a Recovery Services vault in the same resource group, and they want the template to output the vault's resource ID for use by a later pipeline step. The deployment must remain idempotent when run repeatedly. Which change should the administrator make to the Bicep file?
Correct Answer: AExplanationDeclaring the vault as a resource in the Bicep file makes it part of the declared state, so repeated deployments remain idempotent, and an output exposes its resource ID for downstream steps. A parameter for the vault ID would require the resource to already exist and does not create it. Exporting a template produces ARM JSON that is not the declared Bicep resource and does not address the output requirement cleanly. A nested deployment is valid but adds unnecessary indirection, and Bicep outputs are not supplied through variables in that way.
-
7 Question 7 Single choice Implement and manage storage
A media company allows partner applications to upload files to a container named ingest. Each partner should be able to write blobs for only two hours, and must not be able to read or delete existing blobs. The company wants to revoke upload access immediately if a partner's key is suspected to be compromised, without rotating the storage account keys that other internal services depend on. Which approach meets these requirements?
Correct Answer: AExplanationA service SAS tied to a stored access policy lets the company set the expiry and permissions on the policy and revoke access immediately by deleting or changing the policy, without touching the account keys. An account SAS with delete permission grants more than the partners need and cannot be revoked individually. A user delegation SAS cannot be revoked by policy and rotating the account key would break internal services, which the constraint forbids. Regenerating the secondary key does nothing to a SAS signed with the primary key until that key is regenerated, and it also disrupts services that rely on it.
-
8 Question 8 Multiple choice Implement and manage virtual networking
A company has a virtual network with a subnet named web-subnet that hosts two VMs behind an internal load balancer. Users report that traffic from web-subnet to an Azure SQL database accessed via its public endpoint is blocked, although traffic to other internal subnets works. The network team must allow outbound access to the SQL database only through the Azure backbone, keep the database's public endpoint in place, and restrict traffic to the Azure SQL region. Which two actions should the administrator take? (Choose two.)
Correct Answer: B, EExplanationEnabling the Microsoft.Sql service endpoint routes traffic from the subnet to Azure SQL over the Azure backbone while keeping the public endpoint, and an outbound NSG rule scoped to the Sql service tag in the target region enforces the regional restriction. A private endpoint would replace public access with a private IP, which the company did not want. A user-defined route to a virtual appliance adds an unneeded hop and does not address backbone routing. Public IP on an internal load balancer is unrelated to outbound SQL access.
-
9 Question 9 Multiple choice Manage Azure identities and governance
A company manages several subscriptions under a management group named Corp. The finance team wants to be alerted when monthly spending on the Corp group reaches 80 percent of a budget, and the platform team wants to ensure that no resource in production subscriptions can be deleted accidentally, without blocking administrators from modifying resources. Which two actions meet these requirements? (Choose two.)
Correct Answer: B, CExplanationA budget scoped to a management group can monitor aggregate cost across its subscriptions and trigger an alert at an actual-cost threshold of 80 percent. A CanNotDelete lock on the resource groups prevents accidental deletion while still allowing modification, which matches the platform team's requirement. A ReadOnly lock would block modification too, and it is applied to the subscription rather than the resource groups. Azure Policy cannot deny a delete operation directly in that manner, and Advisor recommendations do not generate spend threshold alerts.
-
10 Question 10 Single choice Deploy and manage Azure compute resources
A company needs to move an existing virtual machine named app-vm1 from a resource group in the North Europe region to a resource group in the West Europe region. The VM uses a managed OS disk and a single NIC in a virtual network that exists only in North Europe. The business requires the VM to keep its IP settings and disks and to be in the new region. Which approach is correct?
Correct Answer: AExplanationAzure Resource Mover is the supported way to move resources across regions, and it handles dependencies such as the NIC and virtual network after they are prepared in the target region. The portal Move option changes resource group or subscription within the same region and cannot change a VM's region. Copying a snapshot creates a new VM and loses the original identity and IP configuration the business wants to keep. Moving a resource group to another subscription does not change region.
-
11 Question 11 Single choice Monitor and maintain Azure resources
A company protects a set of virtual machines with Azure Backup, using a Recovery Services vault in the primary region. A recent outage prompted a requirement that backups remain recoverable even if the primary region becomes unavailable, while keeping the vault configuration unchanged for the existing backup items. The team also needs a cost-effective way to meet a 24-hour recovery point objective for disaster scenarios. Which configuration should the administrator apply?
Correct Answer: CExplanationGeo-redundant storage replicates backup data to a paired region, and cross-region restore lets the company restore to the secondary region if the primary is unavailable, both achieved by modifying the existing vault. Cross-region restore alone without geo-redundant storage does not fully satisfy the requirement, since the data would not be replicated. Creating a new vault changes the configuration of existing items, and hourly backups increase cost beyond what the 24-hour objective needs. Site Recovery is a replication service for workloads, not a backup recoverability solution, and it adds unnecessary cost here.
-
12 Question 12 Single choice Implement and manage virtual networking
A company runs an internal application behind a public Standard Load Balancer. Health probes are configured as HTTP on port 8080 with a path of /health. The application team reports that the backend pool shows some instances as unhealthy, even though the instances respond with HTTP 200 on port 8080 when tested from within the virtual network. Network security groups on the backend subnet allow inbound traffic from the Internet and VirtualNetwork service tags on port 8080. Which action should the administrator take first to resolve the unhealthy status?
Correct Answer: AExplanationStandard Load Balancer health probes originate from the AzureLoadBalancer service tag, so an NSG on the backend subnet must explicitly allow that tag on the probe port; the existing rules only cover Internet and VirtualNetwork, which do not match probe sources. Changing to a TCP probe would still need the same NSG allowance and would weaken the health check. Idle timeout governs connection lifetime, not probe reachability. An outbound rule does not affect inbound probe traffic from the platform.
-
13 Question 13 Single choice Manage Azure identities and governance
A company uses Microsoft Entra ID with a group named Helpdesk-Ops that should be able to reset passwords for standard users. The company has enabled self-service password reset for the Helpdesk-Ops group and requires that administrators receive notifications when a reset occurs. A new requirement states that the helpdesk must not be able to reset passwords for users holding the Global Administrator role. Which configuration meets these requirements?
Correct Answer: DExplanationThe Helpdesk Administrator role can reset passwords for non-administrator users but cannot reset passwords for users holding admin roles such as Global Administrator, matching the constraint. The Password Administrator role can reset passwords for non-admins, but granting it with directory-wide scope and the notification setting does not address the admin-role restriction in the same way. The User Administrator role can reset passwords for certain users including some admins in certain cases, which breaks the Global Administrator exclusion. Conditional access does not manage password reset permissions.
These are 13 of the 479 questions in the full AZ-104 pack.
Get All 479 QuestionsGet all 479 questions & answers
Full access options for Microsoft AZ-104
Self-study
PDF Version
- 479 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 479 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 479 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the AZ-104 Exam (Microsoft Azure Administrator Exam) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.