Microsoft Azure Administrator (AZ104) Practice Exam

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

Study for the Microsoft Azure Administrator (AZ104) Exam. Prepare with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Practice this question and more.


Which component is crucial for ensuring NGINX is readily available after virtual machine deployment?

  1. Custom Script Extension

  2. Provisioning services

  3. Resource manager template

  4. Azure CLI scripting

The correct answer is: Custom Script Extension

The Custom Script Extension is essential for ensuring that NGINX is readily available after the deployment of a virtual machine. This component allows you to run scripts on your Azure virtual machines during or after their provisioning. By using the Custom Script Extension, an administrator can automate the installation and configuration of software like NGINX right when the VM is created or shortly thereafter. This ensures that the necessary services are up and running without requiring manual intervention. For example, during the virtual machine setup, you can execute a script that installs NGINX and configures it to start automatically when the VM boots. This approach not only saves time but also minimizes human error, leading to a more consistent and reliable deployment process. Other options, while useful in different contexts, do not serve the same purpose as the Custom Script Extension when it comes to ensuring that a service like NGINX is immediately available after VM deployment. Provisioning services pertain more to the overall setup and scaling of resources rather than specific application installation. Resource manager templates are related to the infrastructure setup, allowing for the definition of resource configurations, but they do not execute installations directly. Azure CLI scripting provides command-line capabilities to manage Azure resources but still requires integration with the deployment process to ensure software availability on a