ExamGecko
Home Home / Microsoft / AZ-104

Microsoft AZ-104 Practice Test - Questions Answers, Page 15

Question list
Search
Search

List of questions

Search

Related questions











Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have an Azure virtual machine named VM1 that runs Windows Server 2016.

You need to create an alert in Azure when more than two error events are logged to the System log on VM1 within an hour.

Solution: You create an Azure Log Analytics workspace and configure the data settings. You add an extension to VM1. You create an alert in Azure Monitor and specify the Log Analytics workspace as the source.

Does this meet the goal?

A.
Yes
A.
Yes
Answers
B.
No
B.
No
Answers
Suggested answer: B

Explanation:

Instead: You create an Azure Log Analytics workspace and configure the data settings. You install the Microsoft Monitoring Agent on VM1. You create an alert in Azure Monitor and specify the Log

Analytics workspace as the source.

Reference:

https://docs.microsoft.com/en-us/azure/azure-monitor/platform/agents-overview

HOTSPOT

You have an Azure virtual machine that runs Windows Server 2019 and has the following configurations:

Name: VM1

Location: West US

Connected to: VNET1

Private IP address: 10.1.0.4

Public IP address: 52.186.85.63

DNS suffix in Windows Server: Adatum.com

You create the Azure DNS zones shown in the following table.

You need to identify which DNS zones you can link to VNET1 and the DNS zones to which VM1 can automatically register.

Which zones should you identify? To answer, select the appropriate options in the answer area.


Question 142
Correct answer: Question 142

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/dns/private-dns-overview

HOTSPOT

You have Azure virtual machines that run Windows Server 2019 and are configured as shown in the following table.

You create a private Azure DNS zone named adatum.com. You configure the adatum.com zone to allow auto registration from VNET1.

Which A records will be added to the adatum.com zone for each virtual machine? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 143
Correct answer: Question 143

Explanation:

The virtual machines are registered (added) to the private zone as A records pointing to their private

IP addresses.

Reference:

https://docs.microsoft.com/en-us/azure/dns/private-dns-overview

https://docs.microsoft.com/en-us/azure/dns/private-dns-scenarios

Your network contains an on-premises Active Directory forest named contoso.com that contains two domains named contoso.com and east.contoso.com.

The forest contains the users shown in the following table.

You plan to sync east.contoso.com to an Azure Active Directory (Azure AD) tenant by using Azure AD

Connect.

You need to select an account for Azure AD Connect to use to connect to the forest.

Which account should you select?

A.
User1
A.
User1
Answers
B.
User2
B.
User2
Answers
C.
User3
C.
User3
Answers
D.
User4
D.
User4
Answers
Suggested answer: D

Explanation:

It is no longer supported to use an enterprise admin or a domain admin account as the AD DS

Connector account.

Reference:

https://docs.microsoft.com/en-us/azure/active-directory/hybrid/reference-connect-accountspermissions

HOTSPOT

You have an Azure subscription that contains the resources shown in the following table:

You assign a policy to RG6 as shown in the following table:

To RG6, you apply the tag: RGroup: RG6.

You deploy a virtual network named VNET2 to RG6.

Which tags apply to VNET1 and VNET2? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 145
Correct answer: Question 145

Explanation:

VNET1: Department: D1, and Label:Value1 only.

Tags applied to the resource group or subscription are not inherited by the resources.

Note: Azure Policy allows you to use either built-in or custom-defined policy definitions and assign them to either a specific resource group or across a whole Azure subscription.

VNET2: Label:Value1 only.

Incorrect Answers:

RGROUP: RG6

Tags applied to the resource group or subscription are not inherited by the resources.

Reference:

https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/tag-policies

You have an Azure subscription named AZPT1 that contains the resources shown in the following table:

You create a new Azure subscription named AZPT2.

You need to identify which resources can be moved to AZPT2.

Which resources should you identify?

A.
VM1, storage1, VNET1, and VM1Managed only
A.
VM1, storage1, VNET1, and VM1Managed only
Answers
B.
VM1 and VM1Managed only
B.
VM1 and VM1Managed only
Answers
C.
VM1, storage1, VNET1, VM1Managed, and RVAULT1
C.
VM1, storage1, VNET1, VM1Managed, and RVAULT1
Answers
D.
RVAULT1 only
D.
RVAULT1 only
Answers
Suggested answer: C

Explanation:

You can move a VM and its associated resources to a different subscription by using the Azure portal.

You can now move an Azure Recovery Service (ASR) Vault to either a new resource group within the current subscription or to a new subscription.

Reference:

https://docs.microsoft.com/en-us/azure/azure-resource-manager/management/move-resourcegroup-and-subscription

https://docs.microsoft.com/en-us/azure/key-vault/general/keyvault-move-subscription

You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com that contains 100 user accounts.

You purchase 10 Azure AD Premium P2 licenses for the tenant.

You need to ensure that 10 users can use all the Azure AD Premium features.

What should you do?

A.
From the Groups blade of each user, invite the users to a group.
A.
From the Groups blade of each user, invite the users to a group.
Answers
B.
From the Licenses blade of Azure AD, assign a license.
B.
From the Licenses blade of Azure AD, assign a license.
Answers
C.
From the Directory role blade of each user, modify the directory role.
C.
From the Directory role blade of each user, modify the directory role.
Answers
D.
From the Azure AD domain, add an enterprise application.
D.
From the Azure AD domain, add an enterprise application.
Answers
Suggested answer: B

Explanation:

Many Azure Active Directory (Azure AD) services require you to license each of your users or groups (and associated members) for that service. Only users with active licenses will be able to access and use the licensed Azure AD services for which that's true. Licenses are applied per tenant and do not transfer to other tenants.

Not all Microsoft services are available in all locations. Before a license can be assigned to a group, you must specify the Usage location for all members. You can set this value in the Azure Active

Directory > Users > Profile > Settings area in Azure AD. Any user whose usage location is not specified inherits the location of the Azure AD organization.

You can add the licensing rights to users or to an entire group. Check the reference link for the steps.

Reference: https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/license-usersgroups

You have an Azure subscription named Subscription1 and an on-premises deployment of Microsoft

System Center Service Manager Subscription1 contains a virtual machine named VM1.

You need to ensure that an alert is set in Service Manager when the amount of available memory on VM1 is below 10 percent. What should you do first?

A.
Create a notification.
A.
Create a notification.
Answers
B.
Create an automation runbook.
B.
Create an automation runbook.
Answers
C.
Deploy the IT Service Management Connector (ITSM).
C.
Deploy the IT Service Management Connector (ITSM).
Answers
D.
Deploy a function app.
D.
Deploy a function app.
Answers
Suggested answer: C

Explanation:

The IT Service Management Connector (ITSMC) allows you to connect Azure and a supported IT

Service Management (ITSM) product/service, such as the Microsoft System Center Service Manager.

With ITSMC, you can create work items in ITSM tool, based on your Azure alerts (metric alerts,

Activity Log alerts and Log Analytics alerts).

Reference:

https://docs.microsoft.com/en-us/azure/azure-monitor/platform/itsmc-overview

HOTSPOT

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.

NOTE: Each correct selection is worth one point.


Question 149
Correct answer: Question 149

Explanation:

Box 1: will have no access

The IP 193.77.134.1 does not have access on the SAS since this IP falls outside of the allowed IP address range for SAS. Hence "will have no access" is correct.

Box 2: will be prompted for credentials

The net use command is used to connect to file shares.To mount an Azure file share, you will need the primary (or secondary) storage key. SAS keys are not currently supported for mounting. Based on the provided SAS exhibit, IP address is an allowed IP and also on given date SAS is active, but account storage key is must to have to run the "net use" command , which is not provided in the question.

Hence "will be prompted for credentials" is correct option for this.

net use R: \rebelsa1.file.core.windows.net\rebelshare <storage key> /user:Azure\rebelsa1

Reference:

https://docs.microsoft.com/en-us/azure/vs-azure-tools-storage-manage-with-storageexplorer?tabs=windows

https://feedback.azure.com/forums/217298-storage/suggestions/14498352-allow-azure-filesshares-to-be-mounted-using-sas-s

https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview

https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-windows

http://www.rebeladmin.com/2018/03/step-step-guide-create-azure-file-share-map-windows-10/

You have an on-premises server that contains a folder named D:\Folder1.

You need to copy the contents of D:\Folder1 to the public container in an Azure Storage account named contoso data.

Which command should you run?

A.
https://contosodata.blob.core.windows.net/public
A.
https://contosodata.blob.core.windows.net/public
Answers
B.
azcopy sync D:\folder1 https://contosodata.blob.core.windows.net/public --snapshot
B.
azcopy sync D:\folder1 https://contosodata.blob.core.windows.net/public --snapshot
Answers
C.
azcopy copy D:\folder1 https://contosodata.blob.core.windows.net/public --recursive
C.
azcopy copy D:\folder1 https://contosodata.blob.core.windows.net/public --recursive
Answers
D.
az storage blob copy start-batch D:\Folder1 https:// contosodata.blob.core.windows.net/public
D.
az storage blob copy start-batch D:\Folder1 https:// contosodata.blob.core.windows.net/public
Answers
Suggested answer: C

Explanation:

The azcopy copy command copies a directory (and all of the files in that directory) to a blob container. The result is a directory in the container by the same name.

Incorrect Answers:

B: The azcopy sync command replicates the source location to the destination location. However, the file is skipped if the last modified time in the destination is more recent.

D: The az storage blob copy start-batch command copies multiple blobs to a blob container.

Reference:

https://docs.microsoft.com/en-us/azure/storage/common/storage-use-azcopy-blobs

https://docs.microsoft.com/en-us/azure/storage/common/storage-ref-azcopy-copy

Total 644 questions
Go to page: of 65