Black Friday week: every question bank $9 instead of $15. Ends Monday, Nov 30.
AZ-104 · Microsoft · Deploy and manage Azure compute resources · Bank updated 2026-11-26
Microsoft Azure Administrator AZ-104 practice questions: Deploy and manage Azure compute resources
5 free questions from 40 on this area · answer and explanation for each · no sign-up
These 5 questions come from the Deploy and manage Azure compute resources section of ExamDeck's Microsoft Azure Administrator AZ-104 bank: 40 of its 156 original questions are on this area, which carries 23% of the real exam. Each is open without sign-up, with the correct answer, the reasoning for every option and its source. In all, 35 Microsoft Azure Administrator AZ-104 questions are open on the practice pages; a free account adds 6 more in study mode.
Questions on this page last changed 26 Nov 2026. Exam facts checked 26 Nov 2026.
Free: 6 questions in study mode, no card. All 40 Deploy and manage Azure compute resources questions and the full AZ-104 bank: $9 (regularly $15) one-time.
How this bank fits the current exam. This bank has single-choice questions only, written from Microsoft's public documentation repositories on GitHub, published under CC BY 4.0: the Azure, Azure compute, Azure Monitor and Microsoft Entra documentation, plus the text units of Microsoft Learn training modules (never their knowledge checks or assessments). Every explanation names the document its answer comes from. The study guide only sets the scope. It is spread close to the exam: of its 156 questions, 32 cover identities and governance, 29 storage, 40 compute, 30 virtual networking and 25 monitoring and backup. Azure Container Registry questions rest on the training modules only, because its documentation sits in a private repository. The bank has no questions from Microsoft's official Practice Assessment and no lab tasks: it cannot replace practising in a real Azure subscription.
The exam format →
Source: Microsoft AZ-104 study guide
1/5 · Deploy and manage Azure compute resources
App1 has a private endpoint, and its public access is also enabled. You added a deny rule for Subnet2 to the access restrictions of the main site, but virtual machines in Subnet2 still reach App1 through the private endpoint. You must block that path for Subnet2. What should you configure?
A. an access restriction rule that denies Subnet2 at a higher priority
B. a network security group rule that denies the traffic from Subnet2
C. a service endpoint access restriction rule that denies Subnet2
D. app access set to Disabled for the default endpoint of App1
Answer: B. App Service first checks whether a request comes from a private endpoint or through the default endpoint. The app access setting and the access restriction rules are evaluated only for the default endpoint path. A request through a private endpoint reaches the site without those restrictions, and the control for that path is a network security group.
- A. Changing the priority does not help. Traffic that arrives through a private endpoint goes to the site without access restriction rules being evaluated.
- B. Filtering for private endpoint traffic is done with network security groups, not with the access restrictions of the app.
- C. These rules are still access restrictions on the default endpoint, and they are not supported on apps that have a private endpoint configured.
- D. App access controls only the default (public) endpoint. Disabling it does not filter requests that arrive through the private endpoint.
Source: Microsoft Azure documentation (retrieved 26 November 2026), Azure App Service access restrictions - How it works · appservice / Azure App Service access restrictions - How it works / filtering of private endpoint traffic
2/5 · Deploy and manage Azure compute resources · hard
You restore an automatic backup of App1 to a new app and choose to restore the app configuration as well. Which item will the restore leave for you to set up on the new app?
A. the health check configuration
B. the custom domain assignments
C. the native logging configuration
D. the Application Insights settings
Answer: B. Restoring configuration from an automatic backup brings back only part of the app setup. Native log settings, Application Insights configuration and health check are restored. Custom domains are not, and neither are items such as TLS/SSL, authentication, managed identities, scale out settings and network features, so plan to configure those again.
- A. Health check is one of the configuration items that is restored when you choose to restore the app configuration.
- B. Custom domains are not part of the restored configuration, so they have to be added to the new app separately.
- C. Native log settings, including the storage account and container settings, are restored with the app configuration.
- D. The Application Insights configuration is restored when app configuration restore is selected.
Source: Microsoft Azure documentation (retrieved 26 November 2026), Back up and restore your app in Azure App Service - What's included in an automatic backup? · appservice / Back up and restore your app in Azure App Service - What's included in an automatic backup? / configuration items that are not restored
3/5 · Deploy and manage Azure compute resources
A team wants to run a Windows web application container and a Windows log collector container in Azure Container Instances. How should the containers be deployed?
A. as two container groups that each hold one of the containers
B. as one container group defined in a YAML file that lists both containers
C. as one container group defined by a Resource Manager template
D. as two container groups that exchange the log data over localhost
Answer: A. Multi-container groups in Azure Container Instances are currently limited to Linux containers. Windows deployments are limited to one container instance per group, so the web application and the log collector go into separate groups, whichever deployment format is used.
- A. For Windows, Container Instances deploys only a single container instance per group, so each container needs its own group.
- B. YAML is a valid way to deploy multi-container groups, but those groups currently support only Linux containers.
- C. The template format does not lift the operating system restriction on multi-container groups.
- D. Reaching each other through localhost works between containers inside one group, not across two separate groups.
Source: Microsoft Azure documentation (retrieved 26 November 2026), Container groups in Azure Container Instances - What is a container group? · containers / Container groups in Azure Container Instances - What is a container group / multi-container support by operating system
4/5 · Deploy and manage Azure compute resources
Before redeploying an unchanged ARM template, you run the what-if operation. One property is set by an expression that uses the reference function, and what-if reports that the property will change. No one has edited the resource since the last deployment. What is the most likely explanation?
A. the expression produces a new value for the property on each run
B. what-if compares the current value with the unresolved expression
C. what-if treats the redeployment of a resource as a modification
D. incremental mode resets the property to its default value on redeploy
Answer: B. The what-if operation cannot resolve the reference function. It compares the existing property value with the unresolved template expression, which cannot match, so it reports a change. During the actual deployment the property changes only when the resolved value differs from the current one.
- A. The reported change does not show that the value differs each time. The property changes only if the expression resolves to a different value.
- B. What-if cannot resolve the reference function, so the current value never matches the expression text and a change is reported.
- C. Redeployment alone is not counted as modification. What-if has a NoChange type for resources redeployed with the same properties.
- D. Reset to default concerns properties left out of the template. This property is specified through an expression.
Source: Microsoft Azure documentation (retrieved 26 November 2026), ARM template deployment what-if operation - See results · templates / ARM template deployment what-if operation - See results / reference function in what-if output
5/5 · Deploy and manage Azure compute resources · hard
You resize a running VM, and the resize operation fails. A colleague opens the VM in the Azure portal, sees the requested size listed, and concludes that the VM now uses it. What is the actual situation?
A. it runs on the requested size with some of its resources not yet assigned
B. it is deallocated and stays that way until someone starts it on the new size
C. it runs on the previous size, and a portal refresh will show that size again
D. it runs on the previous size, and the portal keeps showing the model's value
Answer: D. When a resize fails, the VM model still displays the requested size, but the VM keeps running on its previous size until the new size is allocated successfully. The portal and GET operations reflect the latest applied configuration, so the displayed value is not proof of the running size.
- A. A failed resize does not partly apply the new size. The VM continues on the size it had before.
- B. After a failed resize the VM continues to run on its earlier size rather than waiting in a deallocated state for the new one.
- C. The running size is right, but refreshing does not help: the portal shows the latest configuration that was applied to the VM model.
- D. The VM model holds the requested size while the VM stays on the old one until an allocation of the new size succeeds.
Source: Microsoft Azure documentation (retrieved 26 November 2026), Change the size of a virtual machine · Deploy and manage Azure compute resources / Change the size of a virtual machine / state after a failed resize
Other AZ-104 areas
The same kind of free sample for every other section of the AZ-104 bank:
Practise AZ-104 with instant feedback
6 free questions in study mode · no card · full AZ-104 bank with area filters and the error log: $9 (regularly $15) one-time · no dumps, no ads.
Start AZ-104 free →
ExamDeck is an independent study tool, not affiliated with, endorsed by, or sponsored by Microsoft. AZ-104 and related marks are trademarks of their respective owners, used for identification only. Exam facts checked against official Microsoft materials (as of November 2026); always confirm current details with the vendor before booking.