Practice Questions Flashcards

1
Q

What two parameters are required for the SAS token?

A
  1. SignedResourceTypes (srt)
  2. SignedServices (ss)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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?

A
  1. premium block blobs
  2. standard general-purpose v2
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

To ensure the content in a container is not modified or deleted for 6 months, what should be configured?

A

Immutability policy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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?

A

Enable access tracking.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the cmdlet to upload an on-prem VHD to azure?

A

Add-AzVhd

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the PowerShell cmdlet used to provision a VM in a resource group using a template?

A

New-AzResourceGroupDeployment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the PowerShell cmdlet to provision a new VM in a resource group without using a template?

A

New-AzVM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

You need to move a VM to a different host to avoid a planned service interruption.

What should you do?

A

Redeploy the virtual machine.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Describe ‘Azure Spot Instances’

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which two factors can cause an Azure Spot instance to be evicted?

A
  1. the Azure capacity needs
  2. the current price of the instance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When implementing an Azure container instance, what is the persistent storage solution that a container can use?

A

a file share

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

You need to configure diagnostic logging to store all warnings or higher.

Which types of diagnostic logging and severity should you enable?

A

Application Logging (Blob);
Warning

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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?

A

Sidecar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

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?

A

Usage location

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

You need to identify which virtual machines are underutilized.

Which Azure Advisor settings should you use?

A

The Cost blade

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

To which three resource types can you apply delete locks?

A
  1. resource groups
  2. subscriptions
  3. virtual machines
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

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?

A

tags

18
Q

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?

A

Cost Management Reader

19
Q

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?

A

14

20
Q

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?

A

the Microsoft Azure Recovery Services (MARS) agent

21
Q

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?

A

one SMS message can be sent every five minutes.

22
Q

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?

A

Point-to-Site (P2S) VPN clients must be downloaded and reinstalled again after virtual network peering is successfully configured.

23
Q

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?

A

-TemplateUri

24
Q

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?

A

the resource group

25
Q

You are an Azure Administrator for Best For You Organics Company. The company uses ARM templates for deploying resources.

You need to pass an array as an inline parameter during the deployment of a local template.

What should you do?

A

Provide the array values in the –parameters switch in the deployment command.

26
Q

You have two premium block blob Azure Storage accounts named storage1 and storage2.

You need to configure object replication from storage1 to storage2.

Which three features should be enabled before configuring object replication? Each correct answer presents part of the solution.

A
  1. blob versioning for storage1
  2. blob versioning for storage2
  3. change feed for storage1
27
Q

You plan to create a storage account named storage1.

You need to ensure that storage1 provides POSIX-compliant access control lists (ACLs).

Which option should you configure when creating storage1?

A

hierarchical namespace

28
Q

When planning to reduce the amount of storage used by a backup/recovery store, what should be done first?

A

Change the backup schedule frequency to Daily.

29
Q

What is the PowerShell cmdlet to deploy an Azure Resource Manager (ARM) template?

A

New-AzDeployment

30
Q

What must be configured in order to run a Docker container as an Azure web service?

A

Configure the publish option and select Docker container.

31
Q

What are the resource/compute limits of the standard app service plan?

A

Host unlimited web apps; Up to 50Gb of disk space; Up to 10 instances; $0.10/hour.

32
Q

What are the resource/compute limits of the free app service plan?

A

1 GB of disk size and 0 instances to host the app.

33
Q

What are the resource/compute limits of the premium app service plan?

A

250 GB of disk space and up to 30 instances and will cost approximately $0.20/hour.

34
Q

What are the resource/compute limits of the basic app service plan?

A

10 GB of disk space and up to three virtual machines.

35
Q

What is the command and switch to test if a server is listening on a port?

A

netstat -an

36
Q

What is the PowerShell command to perform a ping test?

A

Test-NetConnection

37
Q

What is the PowerShell command to get the virtual networks in a resource group?

A

Get-AzVirtualNetwork

38
Q

What Kusto query operator is used to group records from one or more columns of data?

A

“Summarize”

39
Q

You need to include remediation information to indicate when users use Microsoft Defender for Cloud Regulatory and Compliance.

To which definition section should you add remediation information for Policy1?

A

Use the RemediationDescription field in the metadata section from properties.

40
Q

What two commands can be used to migrate the contents of one storage repository to another?

A
  1. Azcopy copy
  2. Get-ChildItem -Path