Administering Windows Server Hybrid Core Infrastructure (AZ-800) Practice

Question: 1 / 400

Which Azure CLI command should be used to start an image build using Azure Image Builder?

az resource create

az resource invoke-action

The appropriate command to start an image build using Azure Image Builder is accurately represented by the option involving invoking an action. In the context of Azure Image Builder, initiating an image build requires sending a command that invokes a specific action on the resource associated with the image.

The command involves directing Azure to perform an operation that triggers the image build process, which is a part of the broader Azure resource management framework. This approach allows for more complex operations beyond resource creation, focusing specifically on executing actions related to existing resources.

The other commands do not align with the function of starting an image build:

1. Creating a resource is not adequate for initiating an image build because the image build process relies on configurations and existing definitions rather than merely creating a new resource.

2. While "az vm create" is relevant for creating virtual machines, it is not applicable when it comes to building images, as that process is distinct from VM provisioning.

3. The other options more closely represent lower-level operations or actions that are not specifically designed for the task of starting an image build.

Utilizing the correct command for initiating an image build ensures that the Azure infrastructure responds appropriately, leveraging its capabilities effectively to manage image configurations in a streamlined manner.

Get further explanation with Examzify DeepDiveBeta

az vm create

az image build

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy