Exam-Answer

Home / Microsoft / AZ-300 / Question 86

Prev Question
Next Question

Question 86

You recently created a Web App for Containers instance named prodWeb that uses a Docker image. The name of the resource group is Production.

You need to change the instance to use the new image company1/testapp.

Which command should you use?

Answers


Advertisement

Explanation

You should use the following command:

az webapp config container set -n prodWeb -g Production -c company1/testapp

This command changes the image for an existing container.

You should not use the following command:

az webapp deployment container config -n prodWeb -g Production c company1/testapp

This command enables continuous deployment for a container instance.

You should not use the following command:

az webapp create -n prodWeb -g Production -c company1/testapp

This command creates a new container instance.

You should not use the following command:

az webapp deployment source config -n prodWeb -g Production c company1/testapp

This command configures a GIT deployment.

References

Comments

Load more
Prev Question
Next Question