AZ-104 PRACTICE QUESTIONS &
VERIFIED ANSWERS RATED 100%
CORRECT LATEST VERSION
Another Administrator is managing Azure locally using PowerShell. They have launched
PowerShell as an Administrator. Which of the following commands should be executed first?
A. Connect-AzAccount
B. Get-AzResourceGroup
C. Get-AzSubscription - correct answer ✔✔A
How would you search for commands that deal with files?
A. Call Get-Command -Verb File*
B. Call Get-Command -Noun File
C. Call Get-Command -Noun File* - correct answer ✔✔C
Your company is building a video-editing application that will offer online storage for user-
generated video content. The videos will be stored in Azure Blobs. An Azure storage account will
contain the blobs. It's unlikely the storage account would ever need to be removed and
recreated. Which tool is likely to offer the quickest and easiest way to create the storage
account?
A. Azure portal
B. Azure CLI
C. Azure PowerShell - correct answer ✔✔A
The Azure CLI can be installed on which of the following?
A. Linux
,B. Windows
C. Both Linux and Windows - correct answer ✔✔C
What's a correct way to locate a command in PowerShell?
A. Call Get-Command 'name of command'
B. Call Find 'name of command'
C. Call Locate 'name of command' - correct answer ✔✔A
A new project has several resources that need to be administered together. Which of the
following strategies would provide a good solution?
A. Azure templates
B. Azure resource groups
C. Azure subscriptions - correct answer ✔✔B
Which of the following situations would be a good example of when to use a resource lock?
A. An ExpressRoute circuit with connectivity back to the on-premises network.
B. A non-production virtual machine used to test occasional application builds.
C. A storage account used to temporarily store images processed in a development
environment. - correct answer ✔✔A
Which of the following is true about resource groups?
A. Resources can be in only one resource group.
B. Role-based access control can't be applied to a resource group
C. Resource groups can be nested. - correct answer ✔✔A
What is an Azure Resource Manager template?
A. A series of Azure CLI commands to deploy infrastructure to Azure.
,B. A JavaScript Object Notation (JSON) file that defines the infrastructure and configuration for
the deployment.
C. A script used by the Azure Resource Manager to manage the Azure storage account. - correct
answer ✔✔B
Which of the following parameters is an element in the template schema?
A. Includes
B. Scripts
C. Outputs - correct answer ✔✔C
What happens if the same template is run a second time?
A. Azure Resource Manager will deploy new resources as copies of the previously deployed
resources.
B. Azure Resource Manager won't make any changes to the deployed resources.
C. Azure Resource Manager will delete the previously deployed resources and redeploy them. -
correct answer ✔✔B
True or false: The Azure portal, the Azure CLI, and Azure PowerShell offer significantly different
services, so it is unlikely that all three will support the operation you need. - correct answer
✔✔F
Suppose you are building a video-editing application that will offer online storage for user-
generated video content. You will store the videos in Azure Blobs, so you need to create an
Azure storage account to contain the blobs. Once the storage account is in place, it is unlikely
you would remove and recreate it because this would delete all the user videos. Which tool is
likely to offer the quickest and easiest way to create the storage account?
A. Azure portal
B. Azure CLI
C. Azure PowerShell - correct answer ✔✔A
, What needs to be installed on your machine to let you execute Azure PowerShell cmdlets
locally?
A. The Azure cloud shell
B. The base PowerShell product and the Az module
C. The Azure CLI and Azure PowerShell - correct answer ✔✔B
What do you need to install on your machine to let you execute Azure CLI commands locally?
A. The Azure Cloud Shell
B. The Azure CLI and Azure PowerShell
C. Only the Azure CLI - correct answer ✔✔C
True or false: The Azure CLI can be installed on Linux, macOS, and Windows, and the CLI
commands you use are the same in all platforms. - correct answer ✔✔T
Which parameter value can you add to most CLI commands to get concise, formatted output?
A. list
B. table
C. group - correct answer ✔✔B
What is an Azure Resource Manager template?
A. A series of Azure CLI commands to deploy infrastructure to Azure.
B. A JavaScript Object Notation (JSON) file that defines the infrastructure and configuration for
your deployment.
C. A script held in Azure Resource Manager to manage your Azure storage account. - correct
answer ✔✔B
VERIFIED ANSWERS RATED 100%
CORRECT LATEST VERSION
Another Administrator is managing Azure locally using PowerShell. They have launched
PowerShell as an Administrator. Which of the following commands should be executed first?
A. Connect-AzAccount
B. Get-AzResourceGroup
C. Get-AzSubscription - correct answer ✔✔A
How would you search for commands that deal with files?
A. Call Get-Command -Verb File*
B. Call Get-Command -Noun File
C. Call Get-Command -Noun File* - correct answer ✔✔C
Your company is building a video-editing application that will offer online storage for user-
generated video content. The videos will be stored in Azure Blobs. An Azure storage account will
contain the blobs. It's unlikely the storage account would ever need to be removed and
recreated. Which tool is likely to offer the quickest and easiest way to create the storage
account?
A. Azure portal
B. Azure CLI
C. Azure PowerShell - correct answer ✔✔A
The Azure CLI can be installed on which of the following?
A. Linux
,B. Windows
C. Both Linux and Windows - correct answer ✔✔C
What's a correct way to locate a command in PowerShell?
A. Call Get-Command 'name of command'
B. Call Find 'name of command'
C. Call Locate 'name of command' - correct answer ✔✔A
A new project has several resources that need to be administered together. Which of the
following strategies would provide a good solution?
A. Azure templates
B. Azure resource groups
C. Azure subscriptions - correct answer ✔✔B
Which of the following situations would be a good example of when to use a resource lock?
A. An ExpressRoute circuit with connectivity back to the on-premises network.
B. A non-production virtual machine used to test occasional application builds.
C. A storage account used to temporarily store images processed in a development
environment. - correct answer ✔✔A
Which of the following is true about resource groups?
A. Resources can be in only one resource group.
B. Role-based access control can't be applied to a resource group
C. Resource groups can be nested. - correct answer ✔✔A
What is an Azure Resource Manager template?
A. A series of Azure CLI commands to deploy infrastructure to Azure.
,B. A JavaScript Object Notation (JSON) file that defines the infrastructure and configuration for
the deployment.
C. A script used by the Azure Resource Manager to manage the Azure storage account. - correct
answer ✔✔B
Which of the following parameters is an element in the template schema?
A. Includes
B. Scripts
C. Outputs - correct answer ✔✔C
What happens if the same template is run a second time?
A. Azure Resource Manager will deploy new resources as copies of the previously deployed
resources.
B. Azure Resource Manager won't make any changes to the deployed resources.
C. Azure Resource Manager will delete the previously deployed resources and redeploy them. -
correct answer ✔✔B
True or false: The Azure portal, the Azure CLI, and Azure PowerShell offer significantly different
services, so it is unlikely that all three will support the operation you need. - correct answer
✔✔F
Suppose you are building a video-editing application that will offer online storage for user-
generated video content. You will store the videos in Azure Blobs, so you need to create an
Azure storage account to contain the blobs. Once the storage account is in place, it is unlikely
you would remove and recreate it because this would delete all the user videos. Which tool is
likely to offer the quickest and easiest way to create the storage account?
A. Azure portal
B. Azure CLI
C. Azure PowerShell - correct answer ✔✔A
, What needs to be installed on your machine to let you execute Azure PowerShell cmdlets
locally?
A. The Azure cloud shell
B. The base PowerShell product and the Az module
C. The Azure CLI and Azure PowerShell - correct answer ✔✔B
What do you need to install on your machine to let you execute Azure CLI commands locally?
A. The Azure Cloud Shell
B. The Azure CLI and Azure PowerShell
C. Only the Azure CLI - correct answer ✔✔C
True or false: The Azure CLI can be installed on Linux, macOS, and Windows, and the CLI
commands you use are the same in all platforms. - correct answer ✔✔T
Which parameter value can you add to most CLI commands to get concise, formatted output?
A. list
B. table
C. group - correct answer ✔✔B
What is an Azure Resource Manager template?
A. A series of Azure CLI commands to deploy infrastructure to Azure.
B. A JavaScript Object Notation (JSON) file that defines the infrastructure and configuration for
your deployment.
C. A script held in Azure Resource Manager to manage your Azure storage account. - correct
answer ✔✔B