AZ-204 Quiz

← Back to Topics

Containers (1 / 61):

You have deployed a container using the following YAML configuration:

apiVersion: 2018-10-01
location: eastus
name: securetest
properties:
  containers:
    - name: mycontainer
    properties:
      image: mcr.microsoft.com/azuredocs/hello-world
      ports:
      - port: 80
      resources:
        requests:
          cpu: 1.0
          memoryInGB: 1.5
  osType: ¯\_(ツ)_/¯
  restartPolicy: Always
tags: null
type: Microsoft.ContainerInstance/containerGroups


What should you use for osType?

Exam revision: April 11, 2025