Practice Questions Flashcards
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