Practice Questions Flashcards
(40 cards)
What two parameters are required for the SAS token?
- SignedResourceTypes (srt)
- SignedServices (ss)
You need to create an Azure Storage account that supports the Azure Data Lake Storage Gen2 capabilities.
Which two types of storage accounts can you use?
- premium block blobs
- standard general-purpose v2
To ensure the content in a container is not modified or deleted for 6 months, what should be configured?
Immutability policy
You need to create a lifecycle management rule to move blobs to Cool storage if the blobs have not been used for 30 days.
What should you do first?
Enable access tracking.
What is the cmdlet to upload an on-prem VHD to azure?
Add-AzVhd
What is the PowerShell cmdlet used to provision a VM in a resource group using a template?
New-AzResourceGroupDeployment
What is the PowerShell cmdlet to provision a new VM in a resource group without using a template?
New-AzVM
You need to move a VM to a different host to avoid a planned service interruption.
What should you do?
Redeploy the virtual machine.
Describe ‘Azure Spot Instances’
Provision virtual machines at a reduced cost, but they can be stopped by Azure when the capacity/price of the spot instance exceeds the maximum price that you have set.
Which two factors can cause an Azure Spot instance to be evicted?
- the Azure capacity needs
- the current price of the instance
When implementing an Azure container instance, what is the persistent storage solution that a container can use?
a file share
You need to configure diagnostic logging to store all warnings or higher.
Which types of diagnostic logging and severity should you enable?
Application Logging (Blob);
Warning
You have an Azure subscription that contains a container app named App1. App1 is configured to use cached data.
You plan to create a new container.
You need to ensure that the new container automatically refreshes the cache used by App1.
Which type of container should you configure?
Sidecar
You need to assign a Microsoft 365 E5 license to User1.
Which user attribute should be configured for User1 before you can assign the license?
Usage location
You need to identify which virtual machines are underutilized.
Which Azure Advisor settings should you use?
The Cost blade
To which three resource types can you apply delete locks?
- resource groups
- subscriptions
- virtual machines
You have an Azure subscription that contains 25 virtual machines.
You need to ensure that each virtual machine is associated to a specific department for reporting purposes.
What should you use?
tags
You need to ensure that the finance team can view costs and manage budgets for Azure services without the ability to modify resources.
Which role should you assign to the finance team at the subscription scope?
Cost Management Reader
You have a Log Analytics workspace that collects data from various data sources.
You create a new Azure Monitor log query.
You plan to view data pinned as a chart to a shared dashboard.
What is the maximum number of days for which data can be pinned as a chart on the dashboard?
14
You have an Azure virtual machine named Server1 that runs Windows Server.
You need to configure Azure Backup to back up files and folders.
What should you install on Server1?
the Microsoft Azure Recovery Services (MARS) agent
You plan to create an alert in Azure Monitor that will have an action group to send SMS messages.
What is the maximum rate at which messages will be sent?
one SMS message can be sent every five minutes.
You have two Azure subscriptions named Sub1 and Sub2.
Sub1 contains a virtual network named VNet1 and a VPN gateway. Sub2 contains a virtual network named VNet2.
You have an on-premises device named Device1 that runs Windows and has a Point-to-Site (P2S) VPN client installed.
You configure network peering between VNet1 and VNet2.
You need to ensure that Device1 can access VNet2 when a VPN connection is established.
What should you do?
Point-to-Site (P2S) VPN clients must be downloaded and reinstalled again after virtual network peering is successfully configured.
You have an Azure Resource Manager (ARM) template named deploy.json that is stored in an Azure Blob storage container.
You plan to deploy the template by running the New-AzDeployment cmdlet.
Which parameter should you use to reference the template?
-TemplateUri
You plan to deploy an Azure virtual machine based on a basic template stored in the Azure Resource Manager (ARM) library.
What can you configure during the deployment of the template?
the resource group