Developing Solutions for Microsoft Azure (AZ-204) Practice Exam

Disable ads (and more) with a membership for a one time $2.99 payment

Question: 1 / 135

What is the most recommended method for deploying a multi-container group that consists solely of containers?

Azure Resource Management template

YAML file

A YAML file is the most recommended method for deploying a multi-container group that consists solely of containers because it provides a clear, structured way to define the configuration of the containers, including their properties, behaviors, and inter-container relationships. YAML is particularly suited for use with Kubernetes and Azure Container Instances (ACI), enabling developers to describe their application deployment in a declarative manner. This format is not only human-readable but also supports complex configurations involving multiple containers, networking, storage, and other parameters. Using a YAML file allows for easier version control, easier modifications, and the seamless application of the configuration across different environments. Many container orchestration platforms, including Azure Kubernetes Service (AKS), utilize YAML for managing applications, making it a standard practice in the industry. The other options, while viable in deployment scenarios, do not offer the same level of convenience and clarity when it comes to managing multi-container deployments. An Azure Resource Management template and an ARM template service refer to Infrastructure as Code practices but are generally more complex and less intuitive for defining containerized applications. The az container create command is useful for deploying individual container instances but does not provide the same comprehensive functionality for managing multiple containers in a cohesive manner as a YAML file does.

az container creates command

ARM template service

Next

Report this question