WorksheetsAZ-104 Microsoft Azure Administrator - 1
Total questions: 60
Worksheet time: 2hrs 30mins
You have data in an AWS S3 bucket named myS3Bucket and you need to copy all of its contents to a container named container1 in an Azure storage account named consiliumdata. Which command would be most efficient for getting the data from the S3 bucket to the Azure storage container?
azcopy copy 'https://s3.amazonaws.com/myS3Bucket' 'https://consiliumdata.blob.core.windows.net/container1' --recursive=true
azcopy copy sync 'https://s3.amazonaws.com/myS3Bucket' 'https://consiliumdata.blob.core.windows.net/container1'
aws s3 cp s3://mybucket/test.txt https://consiliumdata.blob.core.windows.net/container1
azcopy blob copy 'https://s3.amazonaws.com/myS3Bucket' 'https://consiliumdata.blob.core.windows.net/container1'
You have an on-premises file server named campusshare that you are extending using Azure File Sync. You have already created a sync group in Azure File Sync. What steps do you need to take to finish extending your on-premises file server with Azure File Sync?
(Choose3)
Create a server endpoint in your sync group
Install Microsoft Monitoring agent
Register the server
Enable replication
Install Azure File Sync agent
VM1 is a D-series Linux virtual machine in an availability set, which has availability across two fault domains and five update domains. VM1 experiences a hardware failure, but the memory is preserved and doesn't require a reboot. What will happen to the VM when this event occurs?
Azure will keep the VM running on the same hardware because fault domains are in place for the VM.
Since the memory is preserved, the VM will migrate to all new hardware, except for the memory component.
Azure will migrate VM1 from failing hardware to a healthy physical host and the VM will be paused for up to five seconds.
The VM will be decommissioned and a support ticket will be automatically generated. You will have to call support in order to retrieve the data from your VM.
You have a subscription named Subscription1. You create a new Azure VM in your subscription named VM5 running Windows 2012 R2. You try to connect and login to VM5, but you get an error that says, "We couldn't connect to the remote PC. Make sure the PC is turned on and connected to the network, and that remote access is enabled." You have verified that VM5 is running and has been assigned a public IP address. What change do you need to make in order to successfully connect and log in to VM5?
Select Reset password from the VM blade
Add a rule to the network security group that will allow port 3389
Use Network Watcher for detailed connection tracing
Access the VM from a computer that is in the same subnet
You have two subscriptions, one named Subscription1 and the other named Subscription2. Both subscriptions are located within the same tenant. You have one Azure virtual machine located within Subscription1 and another Azure virtual machine within Subscription2, and you'd like to view CPU utilization metrics on both virtual machines. How can you achieve this while maintaining the minimum number of Azure resources and minimizing cost?
(Choose2)
Create a Log Analytics workspace for both VMs
Turn on VM insights in Azure Monitor
Enable guest-level monitoring on each VM
Install the Log Analytics agent on the VMs
Which of the following Network Watcher tools could you use to investigate all traffic between VM1 and VM2 for a duration of 3 hours?
Packet capture
IP flow verify
Connection troubleshoot
VPN diagnostics
Under your Azure subscription, you are trying to identify VMs that are underutilized in order to shut down all VMs with CPU utilization under 5%. Which tool could you use to analyzes your configurations and usage telemetry? You also would like personalized, actionable recommendations to optimize your Azure resources for reliability, security, operational excellence, performance, and cost.
Advisor
Monitor
Customer Insights
Metrics
You have a .NET Core application running in Azure App Services. You are expecting a huge influx of traffic to your application in the coming days. When your application experiences this spike in traffic, you want to detect any anomalies such as request errors or failed queries immediately. What service can you use to assure that you know about these types of errors related to your .NET application immediately?
Live Metrics Stream in Application Insights
Search feature in Application Insights
Client-side monitoring
Log Analytics workspace
You have an Azure subscription that contains the following unused resources:
Network interface (nic0)
Static public IP (pip1)
Standard load balancer (lb1) with 5 rules configured
Virtual network (VNet2) = 10.1.0.0/16
Stopped (deallocated) virtual machine (VM3)
Which of these unused resources should you remove to lower cost?
(Choose 2)
Network interface (nic0)
Virtual network (VNet2)
Standard load balancer (lb1)
Stopped (deallocated) virtual machine (VM3)
Static public IP (pip1)
You have finished implementing a backup solution for your company's VMs. You have created an Azure Recovery Services vault and a backup policy. You have configured Azure Backup, registering your VMs as backup items in the Recovery Services vault. You have created a recovery plan for performing mass backup operations on multiple VMs. Now you want to enable logging for restore and backup operations, so that you can understand our storage consumption over time. Which of the following would you do to implement this solution?
(Choose2)
Create a Log Analytics workspace
Configure Site Recovery
View backup jobs in the Recovery Services vault
Enable VM insights for your virtual machines
Configure diagnostic settings for Recovery Services vault
You have an Azure subscription named Subscription1. In Subscription1 you have 2 VNets: one named VNet-Hub and one named VNet-Spoke. Within VNet-Hub, there is an Azure Firewall with a public IP address, configured as a Standard SKU. In VNet-Spoke, there is a Windows Server 2016 with no public IP address and no network security group (NSG). With which of the following can you utilize the public IP address of the Azure Firewall to connect to the Windows Server without exposing the server to the public internet directly?
(Choose 3)
Virtual network peering
A virtual network gateway
A NAT rule for the Firewall
An ExpressRoute gateway
A route table
You have 2 virtual networks named VNet1 and VNet2. VNet1 is located in the West US region, whereas VNet2 is located in the East US region. You need to configure a virtual machine that's located in VNet1 to also communicate with VMs in VNet2. From the choices available, how can you enable communication between resources in VNet1 and VNet2?
Configure a VNet-to-VNet VPN gateway connection to allow communication between VNets in different regions
Migrate the VNet1 VM to VNet2 and leave the other VM components on VNet1
Migrate just the VM disks to VNet2
Migrate the network interface card (NIC), the network security group (NSG), and the VM disks to VNet2
You have a network security group (NSG) that is associated with a network interface that is attached to an Azure virtual machine named VM1 running Windows Server 2019. VM1 is in subnet named subnet1, in a virtual network named VNet1. A different NSG is attached to subnet1, but you notice that there is an inbound rule to allow port 3389. When you try to connect to VM1, you cannot connect. You reviewed the NSG and the source IP address and the protocol are correct. Which action should you take according to best practices for NSGs in Azure?
The NSG attached to the network interface needs to be removed
The protocol on the NSG rule is set to UDP
The source IP address on the NSG rule is incorrect
An inbound rule for the NSG attached to the network interface needs to be added
You are using Azure VMs to host a critical user-facing application. You want to ensure that you have a backup solution prepared for the VM. Which of the following steps would you take first in setting up a backup solution?
Configure Azure Backup
Create a Recovery Services vault
Configure a recovery plan
Create a backup policy
You are responsible for 3 virtual networks named Spoke1, Spoke2, and Hub. You need to ensure that resources within Spoke1 can communicate with resources in Spoke2. You also need to ensure that all communication from Spoke1 to Spoke2 is private. Due to company policy, you cannot connect Spoke1 to Spoke2 directly. What can you do to reach this requirements?
Create three virtual network gateways to enable connections between Spoke1 and Spoke2 through the Hub VNet.
Create a firewall rule to allow traffic from Spoke1 to Spoke2 using the Hub VNet.
Create a private endpoint from the Hub VNet to enable traffic between Spoke1 to Spoke2.
Create a peering between each Spoke VNet and the Hub VNet. Deploy a network virtual appliance in the Hub VNet and configure routes to forward traffic between Spoke1 and Spoke2 through the network virtual appliance.
Which of the following Azure services enables you to perform disaster recovery solutions by replicating workloads from a source region to a destination region?
Azure Backup
Log Analytics
Import/Export jobs
Azure Site Recovery
You have a number of virtual machines and web applications running in your Azure environment. These Azure resources are critical for business operations, so you've locked the resources in order to prevent deletion. In addition, how can you alert on these actions in the portal, and notify your team via email and SMS when a user is trying to delete or create a new resource from within your Azure subscription?
(Choose 2)
Pin the activity log to your dashboard
Create a new alert rule
Query administrative events and copy link to query
Create a new action group
You are deploying a Microsoft Azure virtual machine (VM), and you need to inject a script into your VM at provisioning time. Which of the following features can you use to make the script available to the VM during its first startup?
VM Extensions
Custom data
VHD Template
Console
You have an Azure load balancer that has a backend pool consisting of 2 virtual machines. The load balancer balances traffic over port 80 for the backend pool. You need to be able to make an SSH connection into virtual machines in the backend pool. How can you achieve this?
Create a new load balancing rule
Create an internal load balancer for the virtual machines
Configure a health probe
Create an inbound NAT rule
You are planning out the network design for a VNet where you will be hosting an application with a database layer, logic layer, and a web frontend. How many subnets should you create within this VNet?
3
4
1
2
You are trying to create a new Azure Kubernetes Service (AKS) cluster from your local workstation. The AKS cluster must contain three nodes and ensure access to the worker nodes in order to troubleshoot the kubelet. You have authenticated to Azure from your local workstation with the Azure CLI. What command will you use to create an AKS cluster named AKS1 with the necessary components inside of the resource group named RG1?
az kubernetes create --name AKS1 --resource-group RG1 --nodes 3 --generate-keys
az kubernetes create --name AKS1 --group RG1 --nodes 3 --generate-keys
az aks create --name AKS1 --resource-group RG1 --nodes 3 --ssh-key-value ~/.ssh/id_rsa.pub
az aks create -g RG1 -n AKS1 --generate-ssh-keys --node-count 3
You need to create an Azure virtual machine named VM1 that requires a static private IP address configured inside the IP address space for the VNet in which the VM resides. How do you configure a static IP address for this Azure VM?
When creating the VM in the portal, change the setting from dynamic to static on the Networking tab under Private IP Address.
When creating a VM in the portal, select New next to Private IP Address and choose static after assigning the correct IP address.
After the VM has been created, create a new network interface and configure a static IP address for that network interface.
After the VM has been created, go to the network interface attached to the VM and change the IP configuration to static assignment.
Your company has decided to use virtual machines as the compute resource for hosting the organization's latest application. To do so, you need to have storage on the virtual machine that provides persistent storage. Which of the following options would you use?
Temporary disk
Data disk
OS disk
Containers
Your company wants to implement a load balancing solution in Azure that provides a 99.99% SLA, but it also wants to minimize costs. Which of the following in combination would provide the most appropriate, cost effective solution?
(Choose 2)
Backend pool of 2 virtual machines
Backend pool of 1 virtual machine
Basic Load Balancer
Standard Application Gateway
Standard Load Balancer
You have created a virtual machine that has a NIC with a dynamically assigned private IP. You want to provide public connectivity to this virtual machine. How could you accomplish this?
Create a new NIC for the virtual machine
Create a public IP address
Modify the NIC configurations to make the private IP assignment static
Create a public IP address and associate it with the NIC of the VM
You are currently using a load balanced availability set containing 2 virtual machines. These virtual machines are balanced behind a Basic SKU load balancer. You notice that these 2 virtual machines do not properly serve your workload during peak hours when traffic is way up. You need a solution that will allow you to add virtual machines on the fly when they are needed. Which of the following would provide the most effective solution?
Create a scale set and use it to replace the backend pool.
Upgrade the Basic SKU load balancer to a Standard SKU.
Add another virtual machine into the availability set.
Add a virtual machine scale set to the backend pool.
You have a subscription named Subscription1. Subscription1 has two virtual networks named VNet1 and VNet2 in two different resource groups. VNet1 is located in the West US region and VNet2 is located in the East US region. You need to apply a network security group named NSG1 to a subnet in VNet1. NSG1 is located in the East US region. How do you attach NSG1 to the subnet in VNet1?
Move VNet1 into a resource group located in the East US region
Move NSG1 into the VNet1 resource group
You can not attach NSG1 to the subnet in VNet1. Create a new network security group in the West US region
Select the subnet and choose NSG1 from the network security group drop-down
You are using an Azure Resource Manager (ARM) template to deploy a VM. The template contains the following:
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"vmName": {
"type": "string",
"defaultValue": "simpleLinuxVM",
"metadata": {
"description": "The name of you Virtual Machine."
}
},
"adminUsername": {
"type": "string",
"metadata": {
"description": "Username for the Virtual Machine."
}
},
"authenticationType": {
"type": "string",
"defaultValue": "password",
"allowedValues": [
"sshPublicKey",
"password"
],
"metadata": {
"description": "Type of authentication to use on the Virtual Machine. SSH key is recommended."
}
},
"adminPasswordOrKey": {
"type": "securestring",
"metadata": {
"description": "SSH Key or password for the Virtual Machine. SSH key is recommended."
}
},
"dnsLabelPrefix": {
"type": "string",
"defaultValue": "[toLower(concat('simplelinuxvm-', uniqueString(resourceGroup().id)))]",
"metadata": {
"description": "Unique DNS Name for the Public IP used to access the Virtual Machine."
}
},
"ubuntuOSVersion": {
"type": "string",
"defaultValue": "18.04-LTS",
"allowedValues": [
"12.04.5-LTS",
"14.04.5-LTS",
"16.04.0-LTS",
"18.04-LTS"
],
"metadata": {
"description": "The Ubuntu version for the VM. This will pick a fully patched image of this given Ubuntu version."
}
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]",
"metadata": {
"description": "Location for all resources."
}
},
"VmSize": {
"type": "string",
"defaultValue": "Standard_B2s",
"metadata": {
"description": "The size of the VM"
}
},
"virtualNetworkName": {
"type": "string",
"defaultValue": "vNet",
"metadata": {
"description": "Name of the VNET"
}
},
"subnetName": {
"type": "string",
"defaultValue": "Subnet",
"metadata": {
"description": "Name of the subnet in the virtual network"
}
},
"networkSecurityGroupName": {
"type": "string",
"defaultValue": "SecGroupNet",
"metadata": {
"description": "Name of the Network Security Group"
}
}
},
"variables": {
"publicIpAddressName": "[concat(parameters('vmName'), 'PublicIP' )]",
"networkInterfaceName": "[concat(parameters('vmName'),'NetInt')]",
"subnetRef": "[resourceId('Microsoft.Network/virtualNetworks/subnets', parameters('virtualNetworkName'), parameters('subnetName'))]",
"osDiskType": "Standard_LRS",
"subnetAddressPrefix": "10.1.0.0/24",
"addressPrefix": "10.1.0.0/16",
"linuxConfiguration": {
"disablePasswordAuthentication": true,
"ssh": {
"publicKeys": [
{
"path": "[concat('/home/', parameters('adminUsername'), '/.ssh/authorized_keys')]",
"keyData": "[parameters('adminPasswordOrKey')]"
}
]
}
}
},
"resources": [
{
"type": "Microsoft.Network/networkInterfaces",
"apiVersion": "2020-06-01",
"name": "[variables('networkInterfaceName')]",
"location": "[parameters('location')]",
"dependsOn": [
"[resourceId('Microsoft.Network/networkSecurityGroups/', parameters('networkSecurityGroupName'))]",
"[resourceId('Microsoft.Network/virtualNetworks/', parameters('virtualNetworkName'))]",
"[resourceId('Microsoft.Network/publicIpAddresses/', variables('publicIpAddressName'))]"
],
"properties": {
"ipConfigurations": [
{
"name": "ipconfig1",
"properties": {
"subnet": {
"id": "[variables('subnetRef')]"
},
"privateIPAllocationMethod": "Dynamic",
"publicIpAddress": {
"id": "[resourceId('Microsoft.Network/publicIPAddresses',variables('publicIPAddressName'))]"
}
}
}
],
"networkSecurityGroup": {
"id": "[resourceId('Microsoft.Network/networkSecurityGroups',parameters('networkSecurityGroupName'))]"
}
}
},
{
"type": "Microsoft.Network/networkSecurityGroups",
"apiVersion": "2020-06-01",
"name": "[parameters('networkSecurityGroupName')]",
"location": "[parameters('location')]",
"properties": {
"securityRules": [
{
"name": "SSH",
"properties": {
"priority": 1000,
"protocol": "TCP",
"access": "Allow",
"direction": "Inbound",
"sourceAddressPrefix": "*",
"sourcePortRange": "*",
"destinationAddressPrefix": "*",
"destinationPortRange": "22"
}
}
]
}
},
{
"type": "Microsoft.Network/virtualNetworks",
"apiVersion": "2020-06-01",
"name": "[parameters('virtualNetworkName')]",
"location": "[parameters('location')]",
"properties": {
"addressSpace": {
"addressPrefixes": [
"[variables('addressPrefix')]"
]
},
"subnets": [
{
"name": "[parameters('subnetName')]",
"properties": {
"addressPrefix": "[variables('subnetAddressPrefix')]",
"privateEndpointNetworkPolicies": "Enabled",
"privateLinkServiceNetworkPolicies": "Enabled"
}
}
]
}
},
{
"type": "Microsoft.Network/publicIpAddresses",
"apiVersion": "2020-06-01",
"name": "[variables('publicIpAddressName')]",
"location": "[parameters('location')]",
"sku": {
"name": "Basic",
"tier": "Regional"
},
"properties": {
"publicIpAllocationMethod": "Dynamic",
"publicIPAddressVersion": "IPv4",
"dnsSettings": {
"domainNameLabel": "[parameters('dnsLabelPrefix')]"
},
"idleTimeoutInMinutes": 4
}
},
{
"type": "Microsoft.Compute/virtualMachines",
"apiVersion": "2020-06-01",
"name": "[parameters('vmName')]",
"location": "[parameters('location')]",
"dependsOn": [
"[resourceId('Microsoft.Network/networkInterfaces/', variables('networkInterfaceName'))]"
],
"properties": {
"hardwareProfile": {
"vmSize": "[parameters('VmSize')]"
},
"storageProfile": {
"osDisk": {
"createOption": "fromImage",
"managedDisk": {
"storageAccountType": "[variables('osDiskType')]"
}
},
"imageReference": {
"publisher": "Canonical",
"offer": "UbuntuServer",
"sku": "[parameters('ubuntuOSVersion')]",
"version": "latest"
}
},
"networkProfile": {
"networkInterfaces": [
{
"id": "[resourceId('Microsoft.Network/networkInterfaces', variables('networkInterfaceName'))]"
}
]
},
"osProfile": {
"computerName": "[parameters('vmName')]",
"adminUsername": "[parameters('adminUsername')]",
"adminPassword": "[parameters('adminPasswordOrKey')]",
"linuxConfiguration": "[if(equals(parameters('authenticationType'), 'password'), json('null'), variables('linuxConfiguration'))]"
}
}
}
],
"outputs": {
"adminUsername": {
"type": "string",
"value": "[parameters('adminUsername')]"
},
"hostname": {
"type": "string",
"value": "[reference(variables('publicIPAddressName')).dnsSettings.fqdn]"
},
"sshCommand": {
"type": "string",
"value": "[concat('ssh ', parameters('adminUsername'), '@', reference(variables('publicIPAddressName')).dnsSettings.fqdn)]"
}
}
}
After reviewing the template, what can we determine as the default version of the VM?Ubuntu 12.04.5-LTS
Ubuntu 16.04.0-LTS
Ubuntu 14.04.5-LTS
Ubuntu 18.04 LTS
You have two virtual networks, VNet1 and VNet2. VNet 1 has an IP CIDR of 10.0.0.0/16, and VNet2 has an IP CIDR of 192.168.0.0/16. You want to be able to communicate between these virtual machines privately over the Microsoft backbone. Which of the following could you use to accomplish this without transitivity to other potentially peered networks?
VPN gateway
VNet peering
ExpressRoute
Azure WAN
Which of the following provides a set of monitoring and diagnostics tools for troubleshooting networks and is enabled on a per-region basis?
Network Insights
Network Watcher
Application Insights
Azure Firewall
You have been directed to copy all data from one storage account to another using the AzCopy tool. You need to report which storage services you can copy. Which of those services would it be?
Azure Blob and File Shares
Azure Table and File Shares
Only Azure File Shares
Azure Queues and Blobs
You have two virtual networks. Each has a default subnet, which contains a single virtual machine. Both virtual networks use the address space of 10.0.0.0/16. These virtual machines are not able to communicate with one another using private IP addressing. Why might this be?
(Choose 2)
The virtual networks have overlapping IP CIDRs.
The virtual networks are not peered.
The virtual machines do not have the appropriate network security group rules.
The virtual machines are using Standard SKU public IPs, which are secure by default.
You have a subscription named Subscription1. Subscription1 has one Azure virtual machine named VM1 which is an Ubuntu server. You can't seem to login to the server via SSH. What tool should you use to verify if the problem is the network security group?
Azure Monitor VM metrics
Azure Traffic Manager traffic view
IP flow verify tool in Azure Network Watcher
Azure Virtual Network logs
Which of the following is required to implement Azure Disk Encryption on virtual machines data disks and OS disks?
Access keys
SSH private keys
Shared access signature (SAS) tokens
Azure Key Vault
You are working for Cloud Chase Support. You are the active administrator, and have been tasked with determining how to ensure you do not incur costs in either the Prod-Subscription or Dev-Subscription for virtual machine resources. You have a CloudChase management group where both subscriptions are nested. You decide to use Azure Policy to enforce compliance on virtual machines. The Policy definition states that virtual machines are not an allowed resource type at the scope of the CloudChase management group. There are some existing virtual machines in the Prod-Subscription at the time this policy is created. After the enforcement of the new policy, which of the below statements is true?
You can create virtual machines in Prod-Subscription if they are compliant.
You cannot create virtual machines in any subscription under the scope of the management group.
You can create virtual machines in Dev-Subscription.
You cannot create virtual machines in any subscription under the scope of the management group and any existing virtual machines will be deallocated.
You have two Azure virtual machines named VM1 and VM2. VM1 is using the Red Hat Enterprise Linux 8.1 (LVM) operating system and is located in VNet1, within subnet1. VM2 is using the Windows Server 2019 operating system and is located in VNet1, within subnet2. VNet1 has custom DNS configured, pointing to a DNS server with the IP address 172.168.0.6. VM2 has 10.0.1.15 configured as the DNS server on its network interface. Which DNS server will VM2 use for DNS queries?
8.8.8.8
10.0.1.15 for primary, 172.168.0.6 as secondary
10.0.1.15
172.168.0.6
You work for a company that provides a streaming service for entertainment purposes. You have been storing your video files on-premises in storage servers. Your CTO has advised you that the company is migrating to the cloud, and you have been tasked with investigating which service best fits the organization's use case. You are looking for a service that allows the company to save cost by utilizing lifecycle management. Which of the following Azure services would you select to store these video files for streaming?
Azure Tables
Azure Queue
Azure Files
Azure Blob
You have an Azure subscription named Subscription1. In Subscription1 you have an Azure VM named VM1 with Windows Server 2019 as the operating system. VM1 does not have a public IP address assigned to it. VM1 is located in a virtual network named VNet1, in subnet1. Attached to subnet1 is a network security group (NSG) that has port 3389 open inbound. On your local machine, you do not have an RDP client installed, but you need to log in to the VM. Without assigning a public IP address to the VM, what three things in combination could you use to log into VM1?
(Choose 3)
A gateway subnet
An Azure Bastion host
An inbound security rule to open port 443
A HTML5-supported web browser
A subnet named AzureBastionSubnet
In regards to the governance capabilities of Azure, which of the following statements is true?
Resources can be moved without validation
Resource groups can be nested in one another
Resources inherit the tags of their resource group
Resource locks are inherited from parent scopes
In the settings for the private DNS zone, you create a virtual network link to VNET2 and enable auto registration. What will happen to VM2 when it starts up?
A record for VM2 will be added to both consilium.com and axiodata.com
A record for VM2 will be added to the axiodata.com DNS zone
A record for VM2 will be added to the axiodata.com DNS zone only once you configure the DNS servers for VNET2
A record for VM2 will be added to the consilium.com DNS zone
You want to provide an Azure AD B2B guest user the ability to manage resources inside of the DevRG resource group. You want to give them the ability to manage all resources inside of this resource group and nothing more. Assuming you are assigning the role to the DevRG scope, which role would you assign to the user to accomplish this goal?
User Access Administrator
Global Admin
Owner
Contributor
You have a resource group named RG1 and you plan to move a virtual machine to another subscription where resource group RG2 is located. You attempt to move this virtual machine, but find that you are unable to move the virtual machine when validating the move. What is the reason for this?
Moving operations do not support moving virtual machines across subscriptions inside Azure.
Virtual machines cannot be moved across subscriptions without also moving all the VM's dependent resources.
Virtual machines cannot be moved across resource groups inside of Azure.
You cannot move virtual machines, you must recreate the virtual machine in the destination subscription.
You have an Azure subscription named Subscription1. In Subscription1, you have a web server that has the IP address 10.1.0.83 and a database server that has the IP address 10.1.0.142. Instead of remembering the IP addresses of the servers, you'd like to connect to these servers using a DNS name. With no DNS server currently, and without having to create a new DNS server, how can you access your database server from your web server by the DNS name db.yourcompany.com?
Access the domain controller
Use a public DNS zone
Use a private DNS zone
Promote the web server to a domain controller
You are a contracting Solutions Architect for an organization seeking a solution for migrating data into Azure Blob. The organization has very low network bandwidth, which they discovered by attempting to copy files over using AzCopy. They require a better way of moving large amounts of data into Azure. Which of the following provides the best solution for this task?
(Choose 2)
Copy files over using Azure Storage Explorer
Import job with Microsoft supplied drives
Upload files using the Azure portal from on-premises
Import job using organization supplied drives
Which of the following provide unlimited access to storage accounts in Azure and should never be shared or stored in application code?
Service endpoints
Access keys
Account SAS tokens
Service SAS tokens
You have two subscriptions named Subscription1 and Subscription2. You are logged into Azure using Azure PowerShell from Computer1. How can you identify which subscription you are currently viewing and then switch from one subscription to the other for the current session at Computer1?
(Choose 2)
AzShow-Context
Set-AzContext -SubscriptionName
Get-AzContext
Select-AzContext
Subscription1 contains an Azure VM named VM1 with the following configuration:
VM Size: Standard_D2s_v3
Public IP Address: 52.173.36.55
Resource Group: RG1
Availability Zone: None
Location: Japan East
Disk Type: Standard HDD
What are two things you can do to reduce data loss and achieve a 99.9% SLA?
(Choose2)
Create a Recovery Services vault and enable replication for VM1
Move VM1 to a paired region
Change the disk type to Premium SSD
Place the VM in an availability zone
You work at the IT help desk for Consilium Corporation. You have been getting an influx of calls into the help desk about resetting users' passwords. They keep reporting that they can't seem to figure out how to reset their password in order to gain access to their Customer Relationship Management (CRM) software. What do you do?
(Choose4)
Issue a document to inform users of password reset procedure.
Verify that self-service password reset is enabled in Azure Active Directory.
Ensure that the users who are having problems are within the correct AD group.
Make sure they have their verification device (mobile app or access to email).
Make sure you have Azure Active Directory Free.
Your company has recently migrated to Azure Active Directory. You have been told to join all users' devices to the domain, but limit the number of devices to 5 per user. What should you do?
Add a VPN gateway to your network infrastructure
Create a point-to-site VPN for all users
Go to the Licenses blade in Azure Active Directory
Go to the Device Settings blade in Azure Active Directory
VM1 is located in the West US region and the OS disk is Premium SSD. The size of VM1 is currently Standard_D2s_v3, but you need to change the size to Standard_D2. You are able to select the size from the Size blade, but you receive an error message. Why can't you change the VM size?
The size Standard_D2 is not available in the West US region
You did not shut down (deallocate) VM1 before you changed the size
Standard_D2 does not support Premium SSD Managed Disks
You need to provide the username and password for the OS to upgrade
Your company has recently added a few new users to your Azure Active Directory. You have already added them to a security group, and now you have asked them to join their devices to the tenant. When they join their devices, you have to ensure they are prompted to use a mobile phone to verify their identity. What is the simplest way to configure this functionality?
Sign up for Azure AD Premium
Require multi-factor authentication to join devices
Enable conditional access
Configure a point-to-site VPN
You have created a new Azure virtual machine named VM1. You plan to use VM1 as a web server, which will require the VM to be accessible using HTTP/S (HTTP and HTTPS) protocol. A network security group (NSG) is attached to the NIC of VM1 with the following rules:
Change the port of Rule5 to 443
Change the priority of Rule3 to 200
Change the action of Rule1 to Allow
Change the priority of Rule4 to 200
You have an existing Microsoft Enterprise Agreement (EA) subscription. You need to ship 34TB of data from an on-premises Windows 2016 server to your Azure storage account. You need to ensure that the data transfer has zero impact on the network, preserves your existing drives, and is the fastest and most secure method. What should be your first step to starting the import job?
Open a ticket with Microsoft Support
Prepare your hard drives using the WAImportExport tool
Start an import job via the Azure portal
Order an Azure Data Box via the Azure portal
You have an Azure subscription named Subscription1. In Subscription1 you have two Azure VMs named VM1 and VM2, both running Windows Server 2016. VM1 is backed up using a Recovery Services vault, with a backup policy configured to produce a daily backup and keep that daily backup for 7 days. Also, a snapshot is kept for 2 days. VM1 is compromised by a virus that infects the entire system, including the files. You need to restore the files from yesterday's backup of VM1. What method can you use to restore the files to in the quickest manner?
Create a new Azure VM and restore to it
Restore the VM1 snapshot
Restore in-place
Restore from VM2
You have an application that runs on instances in a virtual machine scale set (VMSS). The number of instances in the VMSS is at 3 starting on Monday. The minimum number of instances is 1, and the maximum is 5 instances. There are 2 scaling rules for this VMSS:
2 instances
4 instances
5 instances
3 instances
You have an on-premises environment, as well as your Azure environment with a subscription named Subscription1. Subscription1 has a virtual network named VNET1 that you need to connect to the on-premises network securely using an ExpressRoute link and Site-to-Site VPN. What resources do you need in order to establish the connection while minimizing cost?
(Choose 2)
A route table
A network virtual appliance
No resources are needed, as ExpressRoute is encrypted by default
A VPN gateway
You have an Azure Kubernetes Service (AKS) cluster named AKS1 within the resource group named RG1. You are trying run the command kubectl get all from the Azure Cloud Shell to view your cluster resources. You received the error, Error from server (BadRequest): the server rejected our request for an unknown reason. You've verified that the resources exist and the command is correct. What do you need to do in order to view your cluster resources from the Azure Cloud Shell?
Access the Kubernetes Dashboard using the command az aks browse --name AKS1 --resource-group RG1
Install the kubectl tool
Log in to the cluster GUI from the Azure portal
Retrieve the access credentials using the command az aks get-credentials --name AKS1 --resource-group RG1
You have just purchased the domain name arseemagroup.com from a third-party registrar. Using your Azure Active Directory domain, you'd like to create new users with the suffix @arseemagroup.com. Which 3 things must you do?
(Choose3)
Verify that you own the domain name
Access the Custom Domain Names blade from Azure AD
Create an MX or TXT record for the arseemagroup.com DNS
Access the App registrations blade from Azure AD
You have an Azure subscription named Subscription1. You have created a web app named App1 in Subscription1 that is sourced from a Git repository named Git1. You need to ensure that every commit to the master branch in Git1 triggers a deployment to a test version of the application before releasing it to production. What are two changes that you must make to App1 to fulfill this requirement?
(Choose2)
Configure custom domains for test and production versions of App1
Create a new web app and configure failover settings from test to production
Add a new deployment slot to App1 to release the test version of App1
Create a build server with the master branch of Git1 as the trigger
In your subscription, there are four different resource groups: RG1, RG2, RG3, and RG4. RG2 has a Read-Only lock at the resource group scope. RG3 has a Delete lock at the resource group scope. RG1 and RG4 do not have locks. You need to determine how to move resources between resource groups during the lifecycle of these resources. Assuming all resources provisioned support moving between resource groups regardless of region, which of the following statements are plausible?
(Choose2)
You can move resources from RG2 to RG3.
You can move resources from RG1 to RG4.
You can move resources between any of these resource groups.
You can move resources from RG4 to RG3.
You can move resources from RG2 to RG4
