Question 122 — Domain 1-Describe cloud concepts | AZ-900 Practice Exam |170 Questions
Your organization prefers to manage cloud resources through code instead of a web interface. Which manageability option would best meet this requirement? (Select 2 answers)
Each correct answer presents a complete solution.
PowerShell
APIs
Web portal
Command-line interface
Correct answers
PowerShell
Command-line interface
Explanations
Correct:
Command-line interface
A command-line interface allows you to script and automate the management of cloud resources without relying on a graphical user interface.
PowerShell
PowerShell provides a powerful scripting environment for managing cloud resources programmatically, enabling repeatable and automated deployment processes.
Wrong:
Web portal
A web portal offers a graphical interface for resource management, which does not meet the requirement of managing resources through code.
APIs
Although APIs are also a programmatic option, the question specifically highlights the need for tools like a command-line interface or PowerShell scripts. The provided answer focuses on these two options for code-based resource management.