Az+104 Questions
Az+104 Questions
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 of
131.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
1
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? Each correct answer presents part of the solution.
You plan to use the Azure Import/Export service to copy files to a storage account.
2 Which two files should you create before you prepare the drives for the import job? Each
correct answer presents part of the solution.
You have a Recovery Service vault that you use to test backups. The test backups contain two
protected virtual machines.
3
You need to delete the Recovery Services vault.
What should you do first?
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
6 is available during planned maintenance of the hardware hosting
VM1 and VM2.
What should you include in the Availability Set?
You have an Azure subscription that contains an Azure Active Directory (Azure AD) tenant
named rpsexample.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
8
rpsexample.com.
You need to ensure that access to AKS1 can be granted to the rpsexample.com users.
What should you do first?
You have a Microsoft 365 tenant and an Azure Active Directory (Azure AD) tenant named
rpsexample.com.
You plan to grant three users named User1, User2, and User3 access to a temporary Microsoft
9 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.
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 Azure
PowerShell 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
10
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?
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:
13 ✑ Reader
✑ Security Admin
Security Reader -
You need to ensure that User1 can assign the Reader role for VNet1 to other users.
What should you do?
You have an Azure Active Directory (Azure AD) tenant named contosocloud.onmicrosoft.com.
Your company has a public DNS zone for rpsexample.com.
14 You add rpsexample.com as a custom domain name to Azure AD.
You need to ensure that Azure can verify the domain name.
Which type of DNS record should you create?
You have an Azure subscription named Subscription1 that contains an Azure Log Analytics
workspace named Workspace1.
15
You need to view the error from a table named Event.
Which query should you run in Workspace1?
You have an Azure subscription.
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.
16 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? Each correct answer presents a
complete solution.
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 user1@outlook.com sign in.
Admin1 attempts to invite the external partner to sign in to the Azure AD tenant and receives
18 the following error message: ג€Unable to invite user user1@outlook.com ג€" 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?
You have an Azure subscription linked to an Azure Active Directory tenant. The tenant includes
19 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?
You have an Azure subscription named Subscription1 that contains an Azure virtual machine
named VM1. VM1 is in a resource group named RG1.
VM1 runs services that will be used to deploy resources to RG1.
21
You need to ensure that a service running on VM1 can manage the resources in RG1 by using
the identity of VM1.
What should you do first?
You are building a custom Azure function app to connect to Azure Event Grid. You need to
ensure that resources are allocated dynamically to the function app. Billing must be based on
25
the executions of the app.
What should you configure when you create the function app?
You create an Azure Storage account named contosostorage. You plan to create a file share
named data. Users need to map a drive to the data file share from home computers that run
26
Windows 10.
Which outbound port should you open between the home computers and the data file share?
You deploy an Azure Application Gateway. You need to ensure that all the traffic requesting
https://adatum.com/internal resources is directed to an internal server pool and all the traffic
27 requesting https://adatum.com/external resources is directed to an external server pool.
What should you configure on the Application Gateway?
Your company has 53 offices distributed across the world. Your company uses Office 365 for all
employees and an Active Directory Domain Services (AD DS) domain to manage identity for
employees. The Azure AD tenant for Office 365 and the AD DS domain are not connected.
28 You are asked to implement multi-factor authentication (MFA). You need to ensure that users
do not need to provide two-factor authentication when they are connected to the company's
network from each of the 53 offices.
What two actions should you perform?
The development team asks you to provision an Azure storage account for their use. To remain
in compliance with IT security policy, you need to ensure that the new Azure storage account
meets the following requirements:
29 - Data must be encrypted at rest.
- Access keys must facilitate automatic rotation.
- The company must manage the access keys.
What should you do?
You are configuring Azure Active Directory (AD) Privileged Identity Management. You need to
provide a user named Admm1 with read access to a resource group named RG1 for only one
30
month. The user role must be assigned immediately.
What should you do?
You create an Azure subscription that is associated to a basic Azure Active Directory (Azure AD)
31 tenant. You need to receive an email notification when any user activates an administrative
role. What should you do?
You download an Azure Resource Manager template based on an existing virtual machine. The
template will be used to deploy 100 virtual machines.
32 You need to modify the template to reference an administrative password. You must prevent
the password from being stored in plain text.
What should you create to store the password?
Your company is developing a line-of-business (LOB) application that uses the Azure loT Hub
for gathering information from Internet of things (loT) devices. The LOB application uses the
loT Hub Service SDK to read device telemetry from the loT Hub.
33
You need to monitor device telemetry and be able configure alerts based on device telemetry
values. Your solution should require the least administrative effort.
What should you do?
You have an Azure subscription that contains an Azure Active Directory (Azure AD) tenant
named rpsexample.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
34
rpsexample.com. You need to ensure that access to AKS1 can be granted to the
rpsexample.com users.
What should you do first?
You have a Microsoft 365 tenant and an Azure Active Directory (Azure AD) tenant named
rpsexample.com.
You plan to grant three users named User1, User2, and User3 access to a temporary Microsoft
35 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.
You have an Azure Active Directory (Azure AD) tenant that contains 5,000 user accounts.
You create a new user account named AdminUser1.
36
You need to assign the User administrator administrative role to AdminUser1.
What should you do from the user account properties?
You have an Azure Active Directory (Azure AD) tenant named contoso.onmicrosoft.com that
contains 100 user accounts.
37 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?
38 Is IPV6 to IPV6 communication is supported without load balancer?
39 What effect is evaluated first in Azure Policy
40 What is the restore period of an Azure AD user?
55 Which of the following best describes the format of an Azure Resource Manager template?
Your company is preparing to implement a Site-to-Site VPN to Microsoft Azure. You are
selected to plan and implement the VPN. Currently, you have an Azure subscription, an Azure
virtual network, and an Azure gateway subnet. You need to prepare the on-premises
57
environment and Microsoft Azure to meet the prerequisites of the Site-to-Site VPN. Later, you
will create a VPN connection and test it. What should you do? (Each answer presents part of
the solution. Select three.
You discover that VM3 does NOT meet the technical requirements. You need to verify whether
59
the issue relates to the NSGs. What should you use?
60 You need to meet the technical requirement for VM4. What should you create and configure?
You need to recommend a solution to automate the configuration for the finance department
61 users. The solution must meet the technical requirements. What should you include in the
recommended?
You need to prepare the environment to meet the authentication requirements. Which two
62
actions should you perform? Each correct answer presents part of the solution.
You need to resolve the licensing issue before you attempt to assign the license again. What
65
should you do?
67 Which blade should you instruct the finance department auditors to use?
You have two Azure virtual machines named VM1 and VM2. You have two Recovery Services
vaults named RSV1 and RSV2.
68
VM2 is protected by RSV1.
You need to use RSV2 to protect VM2. What should you do first?\
You have an Azure Active Directory (Azure AD) tenant named rpsexample.com. Multi-factor
authentication (MFA) is enabled for all users.
69 You need to provide users with the ability to bypass MFA for 10 days on devices to which they
have successfully signed in by using MFA.
What should you do?
You download an Azure Resource Manager template based on an existing virtual machine. The
template will be used to deploy 100 virtual machines. You need to modify the template to
70
reference an administrative password. You must prevent the password from being stored in
plain text. What should you create to store the password?
You have an Azure virtual machine named VM1 that runs Windows Server 2019. You sign in to
VM1 as a user named User 1 and perform the following actions:
* Create files on drive C.
71 * Create files on drive 0.
* Modify the screen saver timeout.
* Change the desktop background. You plan to redeploy VM1.
Which changes will be lost after you redeploy VM1?
You have an Azure subscription that contains an Azure Active Directory (Azure AD) tenant
named adatum.com. The tenant contains 500 user accounts.
You deploy Microsoft Office 365. You configure Office 365 to use the user accounts in
adatum.com. You configure 60 users to connect to mailboxes in Microsoft
72 Exchange Online.
You need to ensure that the 60 users use Azure Multi-Factor Authentication (MFA) to connect
to the Exchange Online mailboxes. The solution must only affect
connections to the Exchange Online mailboxes.
What should you do?
You create an App Service plan named App1 and an Azure web app named webapp1. You
discover that the option to create a staging slot is unavailable. You
73
need to create a staging slot for App1.
What should you do first?
You have an Azure virtual machine named VM1. Azure collects events from VM1.
You are creating an alert rule in Azure Monitor to notify an administrator when an error is
74 logged in the System event log of VM1.
You need to specify which resource type to monitor.
What should you specify?
You need to resolve the licensing issue before you attempt to assign the license again. What
75
should you do?
76 You need to resolve the Active Directory issue. What should you do?
You have two Azure virtual machines named VM1 and VM2. You have two Recovery Services
vaults named RSV1 and RSV2.
78
VM2 is protected by RSV1.
You need to use RSV2 to protect VM2. What should you do first?
From the Recovery Service vault, Modify the disaster recovery Modify the locks of each virtual
properties of each virtual
delete the backup data. machine. machine.
blob, file, table, and queue blob and file only file and table only
an Azure Cosmos DB database Azure Blob storage Azure Data Lake Store
Device settings from the Devices Providers from the MFA Server User settings from the Users
blade blade blade
MX NSEC PTR
Assign the Owner role for the Assign the Global administrator
Assign the Owner role for the
Azure subscription to User1, and role to User1, and then instruct
Azure Subscription to User1, and then instruct User1 to configure User1 to configure access
then modify the default
access management for Azure management for Azure
conditional access policies.
resources. resources.
From the Azure portal, modify From the Azure portal, modify From the Azure portal, modify
the Managed Identity settings of the Access control (IAM) settings the Access control (IAM) settings
VM1 of RG1 of VM1
the Windows operating system the Windows operating system the Docker container and an App
and the Consumption plan and the App Service plan hosting Service plan that uses the Bl1
hosting plan plan pricing tier
80 443 445
Assign an active role. Assign an eligible role. Assign a permanently active role.
an Office 365 group that uses the a Security group that uses the an Office 365 group that uses the
Assigned membership type Assigned membership type Dynamic User membership type
From the Licenses blade, assign a From the Directory role blade, From the Groups blade, invite the
new license modify the directory role user account to a new group
From the Licenses blade of Azure From the Groups blade of each From the Azure AD domain, add
AD, assign a license user, invite the users to a group an enterprise application
1 0
Append Disabled Deny
30 days 60 90
NotActions are subtracted from NotActions are consulted after NotActions allow you to specify a
the Actions to define the list of Actions to deny access to a single operation that is not
permissible operations. specific operation. allowed.
Co-administrator Owner User Access Administrator
1 0
Yes No
1 0
Record Set A Record CNAME
Answer.ini cloudinit.txt unattended.conf
1 0
Set-AzLocalNetworkGateway Set-AzNetworkInterface Add-
AzVirtualNetworkSubnetConfig
10 Years 365 Days 31 Days
a drive set CSV file a JSON configuration file a PowerShell PS1 file
az sec nsg update az nsg create az network nsg create
A markdown document with a A JSON document with key-value A TXT document with key-value
pointer table pairs pairs
Distributes requests to each Distributes requests to the server Polls each server in the backend
pool in turn and sends the
available server in a backend in the backend pool with the
request to the first server that
pool, in turn, round-robin. lightest load.
responds.
the security recommendations in Diagnostic settings in Azure
Diagram in VNet1
Azure Advisor Monitor
1 2 3
Reset the password for the built-
Modify the size of VM1. Add a data disk.
in administrator account.
From the Groups blade, invite the From the Profile blade, modify From the Profile blade, modify
user accounts to a new group. the user account. the usage location.
From the RSV1 blade, click From the Backup blade, select
From the RSV1 blade, click
Backup items and stop the VM2 the backup for the virtual
backup. Backup machine, and then click Backup.
From webapp1, modify the From webapp1, add a custom From App1, scale up the App
Application settings. domain. Service plan.
From the Groups blade, invite the From the Profile blade, modify From the Directory role blade,
user accounts to a new group the usage location. modify the directory role.
From the RSV1 blade, click From the RSV1 blade, click
Backup items and stop the VM2 Backup Jobs and export the VM2 From the RSV1 blade, click Backu
backup. backup.
Modify the size of VM1. Add a data disk. Reset the password for the built-
in administrator account.
From the multi-factor From Azure AD, create a From the multi-factor
authentication page, configure authentication page, configure
conditional access policy.
the users’ settings. the service settings
Option 4 Option 5 Option 6
Create a notification
RRSIG
Customer insights
3389
SSL termination
Audit
Can't restore
Contributor
AAA
unattended.xml
120 Days
an XML manifest file a dataset CSV file
az security nsg create
User Administrator
Add d an SRV record to the DNS Add a CNAME record to the DNS
zone zone
Create a virtual network gateway Obtain a public IPv4 IP address Obtain a public IPv4 IP address
(ExpressRoute) in Azure without NAT for the VPN device behind NAT for the VPN device
150 170
Copy Budget.xls to Data.
External services
From the VM2 blade, click
Disaster recovery, click
Replication settings, and then
select RSV2 as the Recovery
Services vault.
MX
Advisor
445
an Office 365 group that uses the an Office 365 group that uses the
Assigned membership type Dynamic User membership type
1
Disabled
30 days
NotActions are subtracted from
the Actions to define the list of
permissible operations.
User Access Administrator
1
Yes
0
Record Set
cloudinit.txt
1
Set-AzLocalNetworkGateway
10 Years
a drive set CSV file a dataset CSV file
az network nsg create
Global Administrator
3
Copy Budget.xls to Data.
invoices