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.


To ensure NGINX is available on all virtual machines after deployment, what should you use?

  1. Azure Active Directory Application Proxy

  2. Azure Application Insights

  3. Azure Custom Script Extension

  4. New-AzConfigurationAssignment cmdlet

The correct answer is: Azure Custom Script Extension

Using the Azure Custom Script Extension is the appropriate choice for ensuring that NGINX is available on all virtual machines after deployment. This extension allows you to execute scripts on your Azure virtual machines, making it an effective tool for automating the installation and configuration of software, such as NGINX. When deploying applications, particularly web servers like NGINX, it may be necessary to perform initial setup tasks such as installing packages, configuring settings, or starting services. The Custom Script Extension allows you to specify a script that contains all the required steps to set up NGINX, and it ensures that this script runs automatically once the virtual machine is deployed. This means that every time a virtual machine is created, NGINX can be installed and configured without requiring manual intervention. Other options such as Azure Active Directory Application Proxy and Azure Application Insights serve different purposes. The Application Proxy is primarily used for providing secure remote access to on-premises applications, while Application Insights focuses on monitoring the performance and usage of applications. The New-AzConfigurationAssignment cmdlet is typically used for managing configuration settings in Azure resources, but it does not specifically address the deployment and installation of software like NGINX on virtual machines. In summary, the Azure Custom Script Extension is specifically