Exam-Answer

Download YouTube videos at cutyt.com. Free and Fast.

Home / Microsoft / AZ-303 / Question 94

Prev Question
Next Question

Question 94

You use the following Azure CLI command to create an Azure container instance:

az container create --resource-group testgroup --name testcontainer --image company1/c1app1

You need to be able to browse to the container's URL.

Which two parameters must you set?

Answers



A B C D E

Advertisement

Explanation

You should set the --dns-name-label parameter. This parameter is necessary so that Azure can resolve the DNS name to the IP address that hosts the container instance.

You should set the --ports parameter. This parameter is necessary so that you can have Azure open the appropriate TCP ports. If the default ports are used, it can be omitted.

You do not need to set the --environment-variables parameter. This parameter allows you to set environment variables for container instances, which is unnecessary in this scenario.

You do not need to set the --os-type parameter. This parameter specifies the operating system for the container instance. The type of operating system is irrelevant in this scenario.

You do not need to set the --protocol parameter. This parameter specifies either TCP or UDP. When browsing from a web browser, the protocol is automatically TCP.

References

Comments

Load more
Prev Question
Next Question


Download YouTube videos at cutyt.com. Free and Fast.