Question 219 — Domain 2-Describe Azure architecture and services | AZ-900 Practice Exam | 399 Questions
A developer wants to configure an Azure VM to run Nginx using a script hosted on GitHub. Which Azure CLI options should they use to set the script URI and execute it on the VM? (Select two answers).
Each correct answer presents a complete solution.
--name
--settings
--protected-settings
--version
Correct answers
--settings
--protected-settings
Explanations
Correct:
--settings: Provides the location of the script URI.--protected-settings: Contains the command to execute the script on the VM.
Wrong:
--name: Specifies the extension name, not the script URI.--version: Specifies the version of the extension, not related to script execution.