nerdexam
Microsoft

AZ-104 · Question #261

Hotspot Question You plan to deploy an Azure container instance by using the following Azure Resource Manager template. Use the drop-down menus to select the answer choice that completes each…

The correct answer is Internet users can connect to the container from any device. = Yes; If Internet Information Services (IIS) in the container fail, the container will restart automatically. = Yes. The template assigns a public IP address (ipAddress type: 'Public') with a DNS name label, allowing internet users to connect to the container from any device on port 80. The restartPolicy is set to 'OnFailure', which means Azure Container Instances will automatically restart…

Submitted by tom_us· Mar 4, 2026Deploy and manage Azure compute resources - specifically deploying containerized workloads using Azure Container Instances and understanding ARM template properties for networking and availability configuration (AZ-104 / AZ-900 Compute Domain)

Question

Hotspot Question You plan to deploy an Azure container instance by using the following Azure Resource Manager template. Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the template. Answer:

Exhibits

AZ-104 question #261 exhibit 1
AZ-104 question #261 exhibit 2

Answer Area

  • Internet users can connect to the container from any device.Yes
  • If Internet Information Services (IIS) in the container fail, the container will restart automatically.Yes

Explanation

The template assigns a public IP address (ipAddress type: 'Public') with a DNS name label, allowing internet users to connect to the container from any device on port 80. The restartPolicy is set to 'OnFailure', which means Azure Container Instances will automatically restart the container if the IIS process fails or the container exits with an error, satisfying the automatic restart requirement for IIS failures.

Topics

#Azure Container Instances#ARM Templates#Container Networking#Restart Policies

Community Discussion

No community discussion yet for this question.

Full AZ-104 Practice