View Full Microsoft AZ-104 Exam Dumps and Practice Test Dumps.
Question 221
Which Azure service allows administrators to query information about resources across multiple subscriptions using Kusto Query Language?
- Azure Resource Graph
- Azure Advisor
- Azure Service Health
- Azure Bastion
Correct Answer: 1
Explanation
Azure Resource Graph allows administrators to explore and query Azure resources across subscriptions and management groups. It uses Kusto Query Language (KQL) to perform powerful resource queries. This makes it useful for inventory, governance, compliance, and resource discovery. Unlike Azure Monitor, which focuses on telemetry and logs, Resource Graph focuses on resource metadata and configuration information.
Question 222
Which Azure service provides a centralized platform for managing costs across Azure subscriptions?
- Azure Cost Management
- Azure Monitor
- Azure Policy
- Azure Advisor
Correct Answer: 1
Explanation
Microsoft Cost Management helps organizations analyze, monitor, and control their Azure spending. Administrators can review costs, create budgets, analyze spending trends, and identify areas of increased usage. Cost Management is especially useful when an organization has multiple subscriptions and needs better financial visibility. Azure Advisor can provide cost optimization recommendations, but Cost Management is specifically designed for managing and analyzing cloud costs.
Question 223
Which Azure feature can notify administrators when spending reaches a specified threshold?
- Cost Management Budget
- Resource Lock
- Availability Set
- Network Security Group
Correct Answer: 1
Explanation
Azure Cost Management budgets allow administrators to define spending thresholds and receive notifications when actual or forecasted costs reach configured limits. Budgets help organizations monitor spending and take corrective action before costs become excessive. A budget does not automatically stop resource usage when the threshold is reached. Resource locks protect resources, availability sets improve VM availability, and NSGs control network traffic.
Question 224
Which Azure command creates a new resource group using Azure CLI?
- az group create
- az vm start
- az resource delete
- az network create
Correct Answer: 1
Explanation
The az group create command is used with Azure CLI to create a new Azure resource group. A typical command includes the resource group’s name and Azure region, such as az group create –name MyResourceGroup –location eastus. Resource groups provide a logical container for related Azure resources. The other commands perform different resource-management operations and do not create resource groups.
Question 225
Which Azure PowerShell cmdlet creates a new resource group?
- New-AzVM
- New-AzResourceGroup
- Get-AzResourceGroup
- Remove-AzResourceGroup
Correct Answer: 2
Explanation
The New-AzResourceGroup cmdlet creates a new Azure resource group through Azure PowerShell. Administrators can specify the resource group name and location as parameters. Get-AzResourceGroup retrieves information about existing resource groups, while Remove-AzResourceGroup deletes one. New-AzVM is used to create a virtual machine. Azure PowerShell provides command-based administration for Azure resources.
Question 226
Which Azure CLI command displays all resource groups in the current subscription?
- az group list
- az group create
- az group delete
- az group show
Correct Answer: 1
Explanation
The az group list command displays resource groups available in the current Azure subscription. It is useful for administrators who need to review existing resource groups from the command line. az group show displays information about a specific resource group, while az group create creates a new one. az group delete removes a resource group and its resources.
Question 227
Which Azure PowerShell cmdlet retrieves information about an existing resource group?
- New-AzResourceGroup
- Get-AzResourceGroup
- Remove-AzResourceGroup
- Set-AzResourceGroup
Correct Answer: 2
Explanation
The Get-AzResourceGroup cmdlet retrieves information about Azure resource groups. Administrators can use it to view properties such as the resource group name, location, and tags. New-AzResourceGroup creates a resource group, while Remove-AzResourceGroup deletes one. Using PowerShell commands such as Get-AzResourceGroup is useful when administrators need to inspect resources and automate Azure management tasks.
Question 228
Which Azure service provides infrastructure-as-code capabilities using declarative templates?
- Azure Resource Manager templates
- Azure Bastion
- Azure Load Balancer
- Azure Advisor
Correct Answer: 1
Explanation
Azure Resource Manager templates provide a declarative approach to deploying Azure infrastructure. Administrators define the desired resources and configurations in a template, and Azure Resource Manager creates or updates those resources accordingly. Templates help maintain consistent deployments and support automation. They can also use parameters, variables, dependencies, and outputs to make deployments reusable across different environments.
Question 229
Which section of an ARM template is used to accept values provided during deployment?
- Variables
- Parameters
- Outputs
- Resources
Correct Answer: 2
Explanation
The parameters section of an ARM template defines values that can be supplied during deployment. Parameters allow the same template to be reused with different configurations, such as different locations, resource names, or SKU values. Variables are used for reusable expressions, resources define what should be deployed, and outputs return information after deployment. Parameters therefore provide flexibility during template deployment.
Question 230
Which section of an ARM template is used to return information after a deployment completes?
- Parameters
- Variables
- Outputs
- Resources
Correct Answer: 3
Explanation
The outputs section of an ARM template returns information after a deployment completes. For example, an output can return the fully qualified domain name of a deployed resource or the ID of a resource. Parameters provide input values, variables simplify expressions, and resources define the Azure resources that should be deployed. Outputs are especially useful when deployment results need to be consumed by another process.
Question 231
Which ARM template section is used to define reusable values within a template?
- Variables
- Outputs
- Parameters
- Locations
Correct Answer: 1
Explanation
The variables section of an ARM template defines reusable values or expressions that can simplify template development. Variables can help avoid repeating complex expressions throughout the template and can make deployment definitions easier to maintain. Parameters are values supplied during deployment, while outputs return information after deployment. The resources section defines the actual Azure resources that will be deployed.
Question 232
Which Azure CLI command is commonly used to deploy an ARM template at the resource group scope?
- az deployment group create
- az group create
- az deployment delete
- az template start
Correct Answer: 1
Explanation
The az deployment group create command is commonly used to deploy an ARM template to a specific resource group. The command can specify the resource group, template file, and parameter values. This allows administrators to automate infrastructure deployment through Azure CLI. az group create creates a resource group but does not deploy an ARM template by itself.
Question 233
Which Azure feature allows administrators to automatically shut down a development virtual machine at a scheduled time?
- VM Auto-shutdown
- Azure Bastion
- Azure Advisor
- Azure Policy
Correct Answer: 1
Explanation
VM Auto-shutdown allows administrators to configure a scheduled shutdown time for supported virtual machines. This feature is particularly useful for development and test environments where VMs do not need to run continuously. Automatically shutting down unused VMs can help reduce compute costs. Azure Policy can enforce organizational rules, but VM Auto-shutdown directly provides the scheduled shutdown capability.
Question 234
Which Azure service provides a globally distributed, multi-model database platform?
- Azure Cosmos DB
- Azure Files
- Azure Queue Storage
- Azure Table Storage
Correct Answer: 1
Explanation
Azure Cosmos DB is a globally distributed database service designed for applications requiring low-latency access and scalable performance. It supports multiple data models and provides capabilities for distributing data across Azure regions. Azure Files provides managed file shares, Queue Storage stores messages for asynchronous processing, and Table Storage provides a NoSQL key-value store. Cosmos DB is the appropriate choice for globally distributed database workloads.
Question 235
Which Azure Storage service provides managed SMB file shares that can be accessed by multiple machines?
- Azure Blob Storage
- Azure Files
- Azure Queue Storage
- Azure Table Storage
Correct Answer: 2
Explanation
Azure Files provides managed cloud file shares that can be accessed using protocols such as SMB. These shares can be mounted by supported Windows, Linux, and other systems. Azure Files is useful when applications require shared file storage without managing a traditional file server. Blob Storage is designed for object data, Queue Storage handles messages, and Table Storage provides NoSQL data storage.
Question 236
Which Azure Storage service is designed for storing messages between application components?
- Azure Queue Storage
- Azure Files
- Azure Blob Storage
- Azure Managed Disks
Correct Answer: 1
Explanation
Azure Queue Storage provides a messaging mechanism that allows application components to communicate asynchronously. Applications can place messages into a queue and another component can process them later. This helps separate application components and can improve scalability and reliability. Azure Files provides shared file storage, Blob Storage stores objects, and Managed Disks provide persistent disks for Azure virtual machines.
Question 237
Which Azure Storage service provides a NoSQL key-value store for structured data?
- Azure Table Storage
- Azure Files
- Azure Queue Storage
- Azure Disk Storage
Correct Answer: 1
Explanation
Azure Table Storage provides a NoSQL key-value storage solution for structured, non-relational data. It is suitable for applications that need scalable storage without the complexity of a traditional relational database. Data is organized using entities and properties. Azure Files is intended for file shares, Queue Storage handles messages, and Disk Storage provides persistent disks for virtual machines.
Question 238
Which Azure service provides a managed container registry for storing and managing container images?
- Azure Container Registry
- Azure Kubernetes Service
- Azure App Service
- Azure Functions
Correct Answer: 1
Explanation
Azure Container Registry, or ACR, is a managed private registry for storing and managing container images and related artifacts. It integrates with Azure services such as Azure Kubernetes Service and supports authentication and access control through Microsoft Entra ID. AKS runs containerized applications, while ACR stores the images that those applications can use. App Service and Functions provide application hosting capabilities.
Question 239
Which Azure service is designed to run containerized applications without requiring administrators to manage virtual machines or Kubernetes clusters?
- Azure Container Instances
- Azure Kubernetes Service
- Azure Virtual Machines
- Azure Availability Sets
Correct Answer: 1
Explanation
Azure Container Instances allows users to run containers directly in Azure without managing virtual machines or a Kubernetes cluster. It is useful for simple container workloads, short-lived tasks, and scenarios where rapid container deployment is required. Azure Kubernetes Service provides managed Kubernetes orchestration for more complex container environments. Virtual Machines require operating-system management, while availability sets are used for VM availability.
Question 240
Which Azure service provides managed Kubernetes cluster orchestration for containerized applications?
- Azure Container Instances
- Azure Kubernetes Service
- Azure Container Registry
- Azure Storage
Correct Answer: 2
Explanation
Azure Kubernetes Service, or AKS, provides managed Kubernetes capabilities for deploying, scaling, and managing containerized applications. It is designed for workloads that require Kubernetes orchestration, automated scaling, service discovery, and container management. Azure Container Registry stores container images, while Azure Container Instances runs individual container workloads without requiring Kubernetes. AKS is therefore the appropriate service for managed Kubernetes environments.