Az-104 Test Questions - Exam Topics
You have an Azure Storage account named storage1 that uses Azure Blob storage and Azure File storage.You need to use AzCopy to copy data to the blob storage and file storage in storage1.Which authentication method should you use for each type of storage? To answer, select the appropriate options in the answer area.
Blob Storage: Azure AD and SAS only FIle Storage: SAS only
Can blobs be backed up to service vaults?
NO
SQLDB01 is backed up to RGV1.When the project is complete, you attempt to delete RG26 from the Azure portal. The deletion fails.You need to delete RG26.
Stop the backup of SQLDB01
You plan to export data by using Azure import/export job named Export1.You need to identify the data that can be exported by using Export1.Which data should you identify?
container1
You have an app named App1 that runs on two Azure virtual machines named VM1 and VM2.You plan to implement an Azure Availability Set for App1. The solution must ensure that App1 is available during planned maintenance of the hardware hostingVM1 and VM2.What should you include in the Availability Set?
two update domains
1) User1 can add device2 to group1 2) User2 can add device1 to group1 3) User2 can add device2 to group2
1) yes 2) no 3) Yes
You have an Azure subscription named Subscription1.You create an Azure Storage account named contosostorage, and then you create a file share named data.Which UNC path should you include in a script that references files from the data file share?
3 boxes: \\contosostorage. file.core.windows.net \ data
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?
Advisor
You have an Azure subscription named Subscription1 that contains a virtual network named VNet1. VNet1 is in a resource group named RG1.Subscription1 has a user named User1. User1 has the following roles:✑ Reader✑ Security AdminSecurity Reader -You need to ensure that User1 can assign the Reader role for VNet1 to other users.What should you do?
Assign User1 the Owner role for VNet1.
You have an Azure subscription that contains a user account named User1.You need to ensure that User1 can assign a policy to the tenant root management group.What should you do?
Assign the Owner role for the Azure subscription to User1, and then instruct User1 to configure access management for Azure resources.
Management groups, subscriptions, and virtual networks allow
Box 1: No -Virtual networks are not allowed at the root and is inherited. Deny overrides allowed.Box 2: Yes -Virtual Machines can be created on a Management Group provided the user has the required RBAC permissions.Box 3: Yes -Subscriptions can be moved between Management Groups provided the user has the required RBAC permissions.
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?
Deploy the IT Service Management Connector (ITSM)
You sign up for Azure Active Directory (Azure AD) Premium.You need to add a user named [email protected] as an administrator on all the computers that will be joined to the Azure AD domain.What should you configure in Azure AD?
Device settings from the Devices blade
You recently created a new Azure subscription that contains a user named Admin1.Admin1 attempts to deploy an Azure Marketplace resource by using an Azure Resource Manager template. Admin1 deploys the template by using AzurePowerShell and receives the following error message: "User failed validation to purchase resources. Error message: "Legal terms have not been accepted for this item on this subscription. To accept legal terms, please go to the Azure portal (http://go.microsoft.com/fwlink/?LinkId=534873) and configure programmatic deployment for the Marketplace item or create it there for the first time."You need to ensure that Admin1 can deploy the Marketplace resource successfully.What should you do?
From Azure PowerShell, run the Set-AzMarketplaceTerms cmdlet
You have an Azure Active Directory (Azure AD) tenant that contains 5,000 user accounts.You create a new user account named AdminUser1.You need to assign the User administrator administrative role to AdminUser1.What should you do from the user account properties?
From the Directory role blade, modify the directory role
You have an Azure subscription that contains a storage account named account1.You plan to upload the disk files of a virtual machine to account1 from your on-premises network. The on-premises network uses a public IP address space of131.107.1.0/24.You plan to use the disk files to provision an Azure virtual machine named VM1. VM1 will be attached to a virtual network named VNet1. VNet1 uses an IP address space of 192.168.0.0/24.You need to configure account1 to meet the following requirements:✑ Ensure that you can upload the disk files to account1.✑ Ensure that you can attach the disks to VM1.✑ Prevent all other access to account1.Which two actions should you perform?
From the Firewalls and virtual networks blade of account1, select Selected networks. From the Service endpoints blade of VNet1, add a service endpoint.
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?
From the Licenses blade of Azure AD, assign a license
You have a hybrid deployment of Azure Active Directory (Azure AD) that contains the users shown in the following table. You need to modify the JobTitle and UsageLocation attributes for the users.For which users can you modify the attributes from Azure AD? To answer, select the appropriate options in the answer area.
JobTitle: User1 and User3 only UsageLocation: User1, User2, and user3
You have an Azure Directory (Azure AD) tenant named Adatum and an Azure Subscription named Subscription1. Adatum contains a group named Developers.Subscription1 contains a resource group named Dev.You need to provide the Developers group with the ability to create Azure logic apps in the Dev resource group.Solution: On Subscription1, you assign the Logic App Operator role to the Developers group.Does this meet the goal?
No
You have an Azure subscription named Subscription1. Subscription1 contains a resource group named RG1. RG1 contains resources that were deployed by using templates.You need to view the date and time when the resources were created in RG1.Solution: From the RG1 blade, you click Automation script.Does this meet the goal?
No
You need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is assigned the required role to enable Traffic Analytics for an Azure subscription.Solution: You assign the Owner role at the subscription level to Admin1.Does this meet the goal?
No
You need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is assigned the required role to enable Traffic Analytics for an Azure subscription.Solution: You assign the Reader role at the subscription level to Admin1.Does this meet the goal?
No
You have an Azure Directory (Azure AD) tenant named Adatum and an Azure Subscription named Subscription1. Adatum contains a group named Developers.Subscription1 contains a resource group named Dev.You need to provide the Developers group with the ability to create Azure logic apps in the Dev resource group.Solution: On Subscription1, you assign the DevTest Labs User role to the Developers group.Does this meet the goal?
No DevTest Labs User role only lets you connect, start, restart, and shutdown virtual machines in your Azure DevTest Labs.
ou have an Azure subscription named Subscription1 that is used by several departments at your company. Subscription1 contains the resources in the following table: Another administrator deploys a virtual machine named VM1 and an Azure Storage account named storage2 by using a single Azure Resource Manager template.You need to view the template used for the deployment.From which blade can you view the template that was used for the deployment?
RG1
Store1 contains a file share named data. Data contains 5,000 files.You need to synchronize the files in the file share named data to an on-premises server named Server1.Which three actions should you perform? Each correct answer presents part of the solution.
Register Server1 Install the Azure File Sync agent on Server1 Create a sync group
You have an Azure subscription that contains a user named User1.You need to ensure that User1 can deploy virtual machines and manage virtual networks. The solution must use the principle of least privilege.Which role-based access control (RBAC) role should you assign to User1?
Virtual Machine Contributor Lets you manage virtual machines, but not access to them, and not the virtual network or storage account they're connected to.
You have an Azure Directory (Azure AD) tenant named Adatum and an Azure Subscription named Subscription1. Adatum contains a group named Developers.Subscription1 contains a resource group named Dev.You need to provide the Developers group with the ability to create Azure logic apps in the Dev resource group.Solution: On Dev, you assign the Contributor role to the Developers group.Does this meet the goal?
Yes
What does the scope subscription do?
You can create Azure SQL servers in contosoRG1 only
You have an Azure virtual machine named VM1 that runs Windows Server 2019.You save VM1 as a template named Template1 to the Azure Resource Manager library.You plan to deploy a virtual machine named VM2 from Template1.What can you configure during the deployment of VM2?
administrator username
You have an Azure subscription named Subscription1.You deploy a Linux virtual machine named VM1 to Subscription1.You need to monitor the metrics and the logs of VM1.What should you use?
the AzurePerformanceDiagnostics extension
You need to create an Azure Storage account that meets the following requirements:✑ Minimizes costs✑ Supports hot, cool, and archive blob tiers✑ Provides fault tolerance if a disaster affects the Azure region where the account residesHow should you complete the command? To answer, select the appropriate options in the answer area.
--kind StorageV2 --sku Standard_GRS
You have an Azure subscription named Subscription1 that has a subscription ID of c276fc76-9cd4-44c9-99a7-4fd71546436e.You need to create a custom RBAC role named CR1 that meets the following requirements:✑ Can be assigned only to the resource groups in Subscription1✑ Prevents the management of the access permissions for the resource groups✑ Allows the viewing, creating, modifying, and deleting of resources within the resource groupsWhat should you specify in the assignable scopes and the permission elements of the definition of CR1? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point. then theres 2 dropdowns in code
/subscriptions/*key*/resource groups microsoft.authorization
You have an Azure subscription that contains a virtual machine scale set. The scale set contains four instances that have the following configurations:✑ Operating system: Windows Server 2016✑ Size: Standard_D1_v2You run the get-azvmss cmdlet as 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.
0 and 4
You have an Azure subscription.You create the Azure Storage account 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. 1) The minimum number of copies of the storage account will be 2) To reduce the cost of infrequently accessed data in the storage account, you must modify the__ setting
1) 3 2) Access tier (default)
You have an Azure subscription that is used by four departments in your company. The subscription contains 10 resource groups. Each department uses resources in several resource groups.You need to send a report to the finance department. The report must detail the costs for each department.Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
1) Assign a tag to each resource 2) From the cost analysis blade, filter the view by tag 3) Download the usage report
1) User3 can perform an access review of user1 2) User3 can perform an access review of UserA 3) User3 can perform an access review of UserB
1) No 2) No 3) Yes Overall: User3 is a member and can only review guest accounts
You have a sync group named Sync1 that has a cloud endpoint. The cloud endpoint includes a file named File1.txt.Your on-premises network contains servers that run Windows Server 2016. The servers are configured as shown in the following table.You add Share1 as an endpoint for Sync1. One hour later, you add Share2 as an endpoint for Sync1. 1) on cloud endpoint, file1.txt is overrwitten by file1.txt from share1 2) on server1, file1.txt is overwritten by file1.txt from the cloud endpoint 3) File1.txt from share1 replicates to share2
1) Yes 2) No 3) yes
You have an Azure subscription that contains a virtual network named VNET1 in the East US 2 region.You have the following resources in an Azure Resource Manager template. Big ass code regarding 2 VMs. 1) VM1 and VM2 can connect to VNet1 2) IF an azure datacenter becomes unavailable, VM1 or VM2 will be available 3) If the East US 2 region becomes unavailable, VM1 or VM2 will be available
1) Yes 2) Yes 3) No
You have several Azure virtual machines on a virtual network named VNet1.You configure an Azure Storage account as shown in the following exhibit. Allows access from selected networks Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic. 1) the virtual machine on 10.2.9.2/24 will have network access 2) Azure backup will be able to back up the unmanaged hard disks
1) always 2) Never
You have an Azure subscription named Subscription1. Subscription1 contains a virtual machine named VM1.You install and configure a web server and a DNS server on VM1.VM1 has the effective network security rules shown in the following exhibit: Inbound and outbound rules with a Rule2 entry 1) internet users 2) if you delete the "rule2" entry internet users can
1) can connect to the web server only 2) can connect to web server and DNS server on VM1
You have Azure subscription that includes following Azure file shares: You have the following on-premises servers: You create a Storage Sync Service named Sync1 and an Azure File Sync group named Group1. Group1 uses share1 as a cloud endpoint. You register Server1 and Server2 in Sync1. You add D:\Folder1 on Server1 as a server endpoint of Group1.For each of the following statements, select Yes if the statement is true. Otherwise, select No. 1) share2 can be added as a cloud endpoint for group1 2) e:\folder2 on server1 can be added as a server endpoint for group1 3) D:\data on server2 can be added as a server endpoint for group1
1) no 2) yes 3) yes
The status of VM1 is Running.You assign an Azure policy as shown in the exhibit. (Click the Exhibit tab.) You assign the policy by using the following parameters:Microsoft.ClassicNetwork/virtualNetworksMicrosoft.Network/virtualNetworksMicrosoft.Compute/virtualMachines 1) An administrator can move VNET1 to RG2 2)the state of vm1 changed to deallocated 3) an administrator can modify the address space of vnet2
1)no 2)yes 3)no
You have an Azure subscription that contains an Azure Storage account.You plan to copy an on-premises virtual machine image to a container named vmimages.You need to create the container for the planned image.Which command should you run?
azcopy MAKE http.... BLOB.core
You have an Azure subscription that contains an Azure virtual machine named VM1. VM1 runs a financial reporting app named App1 that does not support multiple active instances.At the end of each month, CPU usage for VM1 peaks when App1 runs.You need to create a scheduled runbook to increase the processor performance of VM1 at the end of each month.What task should you include in the runbook?
Add a Desired State Configuration (DSC) extension to VM1.
You have an Azure Storage account named storage1.You have an Azure Service app named App1 and an app named App2 that runs in an Azure container instance. Each app uses a managed identity.You need to ensure that App1 and App2 can read blobs from storage1. The solution must meet the following requirements:✑ Minimize the number of secrets used.✑ Ensure that App2 can only read from storage1 for the next 30 days.What should you configure in storage1 for each app? To answer, select the appropriate options in the answer area.
App1: Access keys App2: SAS
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? To answer, select the appropriate settings in the answer area.NOTE: Each correct selection is worth one point.
Assignments: Users and groups Cloud Apps Access controls: Grant
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
You have an Azure subscription that contains an Azure Storage account.You plan to create an Azure container instance named container1 that will use a Docker image named Image1. Image1 contains a Microsoft SQL Server instance that requires persistent storage.You need to configure a storage service for Container1.What should you use?
Azure Table storage
You have an Azure subscription named Subscription1 that contains the resources shown in the following table.In storage1, you create a blob container named blob1 and a file share named share1.Which resources can be backed up to Vault1 and Vault2?
Can use Vault1 for backups: VM1 only Can use Vault2 for backups: share1 only
You have an Azure subscription named Subscription1 that contains an Azure Log Analytics workspace named Workspace1.You need to view the error from a table named Event.Which query should you run in Workspace1?
Event | search "error"
You have an Azure File sync group that has the endpoints shown in the following table. Cloud tiering is enabled for Endpoint3.You add a file named File1 to Endpoint1 and a file named File2 to Endpoint2.On which endpoints will File1 and File2 be available within 24 hours of adding the files? To answer, select the appropriate options in the answer area.
File1: endpoint3 only file2: endpoint1, endpoint2, and endpoint3
You have an Azure subscription that contains an Azure Active Directory (Azure AD) tenant named contoso.com and an Azure Kubernetes Service (AKS) cluster named AKS1.An administrator reports that she is unable to grant access to AKS1 to the users in contoso.com.You need to ensure that access to AKS1 can be granted to the contoso.com users.What should you do first?
From contoso.com, create an OAuth 2.0 authorization endpoint.
You have a Recovery Service vault that you use to test backups. The test backups contain two protected virtual machines.You need to delete the Recovery Services vault.What should you do first?
From the Recovery Service vault, stop the backup of each backup item.
You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com.The User administrator role is assigned to a user named Admin1.An external partner has a Microsoft account that uses the [email protected] sign in.Admin1 attempts to invite the external partner to sign in to the Azure AD tenant and receives the following error message: "Unable to invite user [email protected] "" Generic authorization exception."You need to ensure that Admin1 can invite the external partner to sign in to the Azure AD tenant.What should you do?
From the Users blade, modify the External collaboration settings.
You plan to create an Azure Storage account in the Azure region of East US 2.You need to create a storage account that meets the following requirements:✑ Replicates synchronously.✑ Remains available if a single data center in the region fails.How should you configure the storage account? To answer, select the appropriate options in the answer area.
Replication: Geo-redundant storage Account type: StorageV2
You have an Azure subscription named Subscription1 that contains the resources shown in the following table: You plan to configure Azure Backup reports for Vault1.You are configuring the Diagnostics settings for the AzureBackupReports log.Which storage accounts and which Log Analytics workspaces can you use for the Azure Backup reports of Vault1? To answer, select the appropriate options in the answer area.
Storage Accounts: Storage3 only Log analytics workspaces: Analytics3 only
RG1 has a web app named WebApp1. WebApp1 is located in West Europe.You move WebApp1 to RG2.What is the effect of the move?
The App Service plan for WebApp1 remains in West Europe. Policy2 applies to WebApp1.
You have an Azure subscription named Subscription1 that contains a resource group named RG1.In RG1, you create an internal load balancer named LB1 and a public load balancer named LB2.You need to ensure that an administrator named Admin1 can manage LB1 and LB2. The solution must follow the principle of least privilege. Which role should you assign to Admin1 for each task? To answer, select the appropriate options in the answer area.
To add a backend pool to LB1: Network contributor to LB1 To add a health probe to LB2: Network contributor to LB2
You have an Azure Active Directory (Azure AD) tenant named adatum.com. Adatum.com contains the groups in the following table. Tables with user.city -startswith "m" To which groups do User1 and User2 belong? To answer, select the appropriate options in the answer area.
User1: Group1 only User2: Group 1 and 2 only
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?
VM1, storage1, VNET1, VM1Managed, and RVAULT1
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.
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 wholeAzure subscription.VNET2: Label:Value1 only.Incorrect Answers:RGROUP: RG6 -Tags applied to the resource group or subscription are not inherited by the resources.
You have an Azure subscription named Subscription1. Subscription1 contains a resource group named RG1. RG1 contains resources that were deployed by using templates.You need to view the date and time when the resources were created in RG1.Solution: From the RG1 blade, you click Deployments.Does this meet the goal?
Yes
You need to ensure that an Azure Active Directory (Azure AD) user named Admin1 is assigned the required role to enable Traffic Analytics for an Azure subscription.Solution: You assign the Network Contributor role at the subscription level to Admin1.Does this meet the goal?
Yes
You plan to use the Azure Import/Export service to copy files to a storage account.Which two files should you create before you prepare the drives for the import job? Each correct answer presents part of the solution.
a PowerShell PS1 file a driveset CSV file
You plan to deploy three Azure virtual machines named VM1, VM2, and VM3. The virtual machines will host a web app named App1.You need to ensure that at least two virtual machines are available if a single Azure datacenter becomes unavailable.What should you deploy?
all virtual machines in a single Availability Set
You have a Microsoft 365 tenant and an Azure Active Directory (Azure AD) tenant named contoso.com.You plan to grant three users named User1, User2, and User3 access to a temporary Microsoft SharePoint document library named Library1.You need to create groups for the users. The solution must ensure that the groups are deleted automatically after 180 days.Which two groups should you create? Each correct answer presents a complete solution
an Office 365 group that uses the Assigned membership type an Office 365 group that uses the Dynamic User membership type
Users access the resources in the subscription from either home or from customer sites. From home, users must establish a point-to-site VPN to access the Azure resources. The users on the customer sites access the Azure resources by using site-to-site VPNs.You have a line-of-business-app named App1 that runs on several Azure virtual machine. The virtual machines run Windows Server 2016.You need to ensure that the connections to App1 are spread across all the virtual machines.What are two possible Azure services that you can use?
an internal load balancer
You have an Azure subscription that contains a storage account.You have an on-premises server named Server1 that runs Windows Server 2016. Server1 has 2 TB of data.You need to transfer the data to the storage account by using the Azure Import/Export service.In which order should you perform the actions? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.NOTE: More than one order of answer choices is correct. You will receive credit for any of the correct orders you select.
attach an external disk to server1 and run waimport From az portal create an import job Detach the external disks from serv1 and ship them to az data center from the az portal update the import job
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 contosodata.Which command should you run?
azcopy copy D:\folder1 https://contosodata.blob.core.windows.net/public --recursive
You have an Azure Storage account named storage1.You plan to use AzCopy to copy data to storage1.You need to identify the storage services in storage1 to which you can copy the data.What should you identify?
blob and file only
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: Big ass table
if on sept 2, 2018, you run microsoft azure....193.77.134.1 what will happen? you will have no access because that IP is out of range If on sept 10th... you run net command 192.77.134.50 and you will? have read, write and list access
You have an on-premises file server named Server1 that runs Windows Server 2016.You have an Azure subscription that contains an Azure file share.You deploy an Azure File Sync Storage Sync Service, and you create a sync group.You need to synchronize files from Server1 to Azure.Which three actions should you perform in sequence?
install the azure file sync agent on server1 register server1 Add a server endpoint
You have an Azure subscription that contains the storage accounts shown in the following table.You need to identify which storage account can be converted to zone-redundant storage (ZRS) replication by requesting a live migration from Azure support.What should you identify?
storage2
You have an Azure subscription named Subscription1 that contains the storage accounts shown in the following table:You plan to use the Azure Import/Export service to export data from Subscription1.You need to identify which storage account can be used to export the data.What should you identify?
storage4
You have an Azure virtual machine named VM1 that runs Windows Server 2019.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 files on the C drive
You have an Azure subscription.You have an on-premises virtual machine named VM1. The settings for VM1 are shown in the exhibit. (Click the Exhibit tab.) 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 hard drive