Which PowerShell cmdlet should be run to create an Azure Compute Gallery for storing images and application packages?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Study for the Azure Virtual Desktop Exam AZ-140. Prepare with flashcards and multiple choice questions. Each question includes hints and explanations. Get ready for your exam!

The cmdlet used to create an Azure Compute Gallery is indeed the one identified in the response. This cmdlet allows users to provision a new Azure Compute Gallery, which serves as a centralized repository for managing images and application packages.

In the context of Azure, a Compute Gallery facilitates the sharing, versioning, and management of Virtual Machine images across multiple subscriptions and tenants. It is designed to help optimize storage, increase performance, and simplify deployment options for virtual machines. By using the New-AzGallery cmdlet, administrators can efficiently organize and manage these images as part of their deployment strategy.

The other options are related to different functionalities. For example, capacity reservations are specific to managing reserved compute resources rather than creating galleries. Gallery applications and VM gallery applications focus on publishing and managing applications within a gallery rather than creating the gallery itself. Thus, those cmdlets do not serve the purpose of establishing the Compute Gallery, which is critical for storing images and application packages in an organized manner.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy