Question 1
Which statement about template parameter files is correct?
Correct answer
They supply per-environment values
Explanation
Parameter files separate values from the template; secrets can reference Key Vault.
microsoft AZ-104: Microsoft Azure Administrator · Practice questions
Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.
Sign up free for the full quizWhich statement about template parameter files is correct?
They supply per-environment values
Parameter files separate values from the template; secrets can reference Key Vault.
You deploy a VM with a Linux image and need to run a configuration script at first boot. What should you use?
cloud-init custom data
Custom data with cloud-init runs configuration at provisioning.
A Linux web app runs a custom container image from ACR. What must be configured for App Service to pull the image securely?
A managed identity with the AcrPull role on the registry
Managed identity with AcrPull avoids storing registry credentials.
A microservice must scale to zero when idle and scale based on HTTP traffic, without managing Kubernetes. What should you use?
Azure Container Apps
Container Apps supports scale rules including scale to zero.
A VM is unresponsive and you suspect a host problem. Which action moves it to a new host?
Redeploy the VM
Redeploy migrates the VM to a new node and restarts it.
You must deploy 20 identical VMs repeatedly in different environments with parameters for size and name. What should you use?
A Bicep file or ARM template with parameters
Templates enable repeatable deployments.
A Bicep deployment must create a resource only in production. Which feature supports this?
A condition with an if expression
Conditional deployment uses if expressions in Bicep.
Which deployment slot setting stays with the slot instead of moving during a swap?
A setting marked as deployment slot setting (sticky)
Sticky settings remain with the slot.
An App Service app must reach a database in a VNet. What should you configure?
VNet integration for the app
VNet integration enables outbound access to VNet resources; private endpoints are for inbound access.
Which DNS record type maps a custom domain such as www.contoso.com to an App Service default host name?
CNAME
CNAME maps a subdomain to another host name; TXT records verify ownership.
Create a free QuizAnalyst account to practice the complete question set and save your progress.
Sign up free for the full quiz