AZ-104: Microsoft Azure Administrator

48%

Question 91

You have an Azure subscription that contains an Azure file share.
You have an on-premises server named Server1 that runs Windows Server 2016.
You plan to set up Azure File Sync between Server1 and the Azure file share.

You need to prepare the subscription for the planned Azure File Sync.
Which two actions should you perform in the Azure subscription?




1. Create a Storage Sync Service.
2. Create a sync group.

3. Install Azure File Sync agent on the server with the full data set.
4. Register that server and create a server endpoint on the share.

Reference:
https://docs.microsoft.com/en-us/azure/storage/file-sync/file-sync-deployment-guide?tabs=azure-portal%2Cproactive-portal

Question 92

You have an Azure subscription that contains the storage accounts shown in the following exhibit.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.




Box 1: contoso104 only
Premium file shares are hosted in a special purpose storage account kind, called a FileStorage account.

Box 2: contoso101 or contos103 only
Object storage data tiering between hot, cool, and archive is supported in Blob Storage and General Purpose v2 (GPv2) accounts. General Purpose v1 (GPv1) accounts don't support tiering.
The archive tier supports only LRS, GRS, and RA-GRS.


Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-account-overview
https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-create-premium-fileshare?tabs=azure-portal
https://docs.microsoft.com/en-us/azure/storage/blobs/storage-blob-storage-tiers

Question 93

You have an Azure subscription named Subscription1.
In Subscription1, you create an Azure file share named share1.
You create a shared access signature (SAS) named SAS1 as shown in the following exhibit:


To answer, select the appropriate options in the answer area.




Box 1: will have no access
The IP 193.77.134.1 does not have access on the SAS, because it is not matching the SAS requirements. IP is out of range.

Box 2: will have no access
The SAS token is not supported in mounting Azure File share currently, it just supports the Azure storage account key.
Since it is using "net use" where it uses SMB, the SMB (Server Message Broker) protocol does not support SAS. it still asks for username/password. Accordingly, it will give error wrong username/pass and will not provide access.

Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-dotnet-shared-access-signature-part-1
https://docs.microsoft.com/en-us/azure/vs-azure-tools-storage-manage-with-storage-explorer?tabs=windows
https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows
https://docs.microsoft.com/en-us/answers/questions/40741/sas-key-for-unc-path.html

Question 94

You have a general-purpose v1 Azure Storage account named storage1 that uses locally-redundant storage (LRS).
You need to ensure that the data in the storage account is protected if a zone fails. The solution must minimize costs and administrative effort.

What should you do first?
Create a new storage account.
Configure object replication rules.
Upgrade the account to general-purpose v2.
Modify the Replication setting of storage1.




Answer is Upgrade the account to general-purpose v2.

v1 supports GRS/RA-GRS but question was about least cost. Least cost is ZRS which is only supported for v2 and premium file/block storage.

Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-redundancy#supported-storage-account-types

Question 95

You have an Azure subscription that contains the storage accounts shown in the following table.

You plan to manage the data stored in the accounts by using lifecycle management rules.

To which storage accounts can you apply lifecycle management rules?
storage1 only
storage1 and storage2 only
storage3 and storage4 only
storage1, storage2, and storage3 only
storage1, storage2, storage3, and storage4




Answer is storage1, storage2, and storage3 only

The lifecycle management feature is available in all Azure regions for general purpose v2 (GPv2) accounts, blob storage accounts, premium block blobs storage accounts, and Azure Data Lake Storage Gen2 accounts

Question 96

You have an Azure virtual machine named VM1 that runs Windows Server 2019. The VM was deployed using default drive settings.
You sign in to VM1 as a user named User1 and perform the following actions:
- Create files on drive C.
- Create files on drive D.
- Modify the screen saver timeout.
- Change the desktop background.

You plan to redeploy VM1.
Which changes will be lost after you redeploy VM1?
the modified screen saver timeout
the new desktop background
the new files on drive D
the new files on drive C




Answer is the new files on drive D

For Windows Server, the temporary disk is mounted as “D:”.
For Linux based VM’s the temporary disk is mounted as “/dev/sdb1”.

Reference:
https://www.cloudelicious.net/azure-vms-and-their-temporary-storage

Question 97

You have an Azure subscription.
You have an on-premises virtual machine named VM1. The settings for VM1 are shown in the exhibit.


You need to ensure that you can use the disks attached to VM1 as a template for Azure virtual machines.

What should you modify on VM1?
the memory
the network adapters
the hard drive
the processor
Integration Services




Answer is the hard drive

The Virtual hard disk is VHDx, it should be formated to VHD before migration from on-premises to Azure. Azure supports only generation 1 VMs that are in the VHD file format and have a fixed sized disk. The maximum size allowed for the VHD is 1,023 GB. You can convert a generation 1 VM from the VHDX file system to VHD and from a dynamically expanding disk to fixed-sized.

Reference:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/prepare-for-upload-vhd-image

Question 98

You have an Azure subscription named Subscription1.
You have 5 TB of data that you need to transfer to Subscription1.
You plan to use an Azure Import/Export job.

What can you use as the destination of the imported data?
Azure File Storage
an Azure Cosmos DB database
Azure Data Factory
Azure SQL Database




Answer is Azure File Storage

Azure Import/Export service is used to securely import large amounts of data to Azure Blob storage and Azure Files by shipping disk drives to an Azure datacenter. This service can also be used to transfer data from Azure Blob storage to disk drives and ship to your on-premises sites. Data from one or more disk drives can be imported either to Azure Blob storage or Azure Files.

Reference:
https://learn.microsoft.com/en-us/azure/import-export/storage-import-export-service

Question 99

You have an Azure subscription.
You have 100 Azure virtual machines.
You need to quickly identify underutilized virtual machines that can have their service tier changed to a less expensive offering.

Which blade should you use?
Monitor
Advisor
Metrics
Customer insights




Answer is Advisor

The Advisor dashboard displays personalized recommendations for all your subscriptions. You can apply filters to display recommendations for specific subscriptions and resource types. The recommendations are divided into five categories:

Reliability (formerly called High Availability): To ensure and improve the continuity of your business-critical applications. For more information, see Advisor Reliability recommendations.

Security: To detect threats and vulnerabilities that might lead to security breaches. For more information, see Advisor Security recommendations.

Performance: To improve the speed of your applications. For more information, see Advisor Performance recommendations.

Cost: To optimize and reduce your overall Azure spending. For more information, see Advisor Cost recommendations.

Operational Excellence: To help you achieve process and workflow efficiency, resource manageability and deployment best practices. . For more information, see Advisor Operational Excellence recommendations.

Reference:
https://docs.microsoft.com/en-us/azure/advisor/advisor-cost-recommendations

Question 100

You have an Azure Active Directory (Azure AD) tenant.
You need to create a conditional access policy that requires all users to use multi-factor authentication when they access the Azure portal.

Which three settings should you configure?




- Users & Groups: Where you have to choose all users.
- Cloud apps: to specify the Azure portal
- Grant: to grant the MFA.

Those are the minimum requirements to create MFA policy. No conditions are required in the question.

Reference:
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/concept-conditional-access-policies
https://docs.microsoft.com/en-us/azure/active-directory/conditional-access/app-based-mfa

< Previous PageNext Page >

Quick access to all questions in this exam