Udemy Tests Flashcards
Your company has an Azure Storage account named TutorialsDojo1.
You have to copy your files hosted on your on-premises network to TutorialsDojo1 using AzCopy.
What Azure Storage services will you be able to copy your data into?
Blob? File? Table? Queue?
Blob and FIle
AzCopy is a command-line utility that you can use to copy blobs or files to or from a storage account.
Your company has an Azure AD tenant named tutorialsdojo.onmicrosoft.com and a public DNS zone for tutorialsdojo.com.
You added the custom domain name tutorialsdojo.com to Azure AD. You need to verify that Azure can verify the domain name.
What DNS record type should you use?
SRV? NSEC? NSEC3? MX?
MX
You can verify your custom domain name by using TXT or MX record types.
Hence, the correct answer is: MX.
You need to perform the following actions in a Windows virtual machine:
- Create a document on drive C.
- Create a document on drive D.
- Create a new folder on the desktop.
- Create a local user account.
You plan to redeploy the virtual machine.
Which of the changes will be lost after you redeploy the virtual machine to a new Azure node?
The document on drive D.
Most VMs contain a temporary disk. On Azure Linux VMs, the temporary disk is typically /dev/sdb and on Windows VMs the temporary disk is D: by default.
Your company has an Azure subscription named TDSubcription1. It contains the following resources: Name, Region, Resource Group, Type TDVNET1, SEAsia, TD1, vnet TDVNET2, SEAsia, TD2, vnet TDVNET3, East Asia, TD3, vnet TDNSG1, East Asia, TD4, nsg
Which subnet/s can you associate TDNSG1 with?
TDVnet3
You can only associate a network security group to a subnet or network interface within the same region as the network security group.
Your company has a virtual network named TDVnet1 and a policy-based virtual network gateway named TD1 in your Azure subscription.
You have users that need to access TDVnet1 from a remote location.
Which two actions should you do so your users can establish a point-to-site connection to TDVnet1?
Delete TD1
Deploy a route-based VPN gateway
Point-to-Site (P2S) VPN connection allows you to create a secure connection to your virtual network from an individual client computer.
When you configure a point-to-site VPN connection, you must use a route-based VPN type for your gateway. Policy-based VPN type for point-to-site VPN connection is not supported by Azure.
If you create a policy-based VPN type as your gateway, you need to delete it and deploy a route-based VPN gateway instead.
You have the following storage accounts in your Azure subscription.
mystorage1,general-purpose-v1,file
mystorage2,BlobStorage,blob
mystorage3,general-storage-v2,file/table
mystorage4,general-storage-v2,queue
There is a requirement to export the data from your subscription using the Azure Import/Export service.
Which account can be used to export the data?
mystorage2
Azure Import/Export jobs can be import or export jobs. An import job allows you to import data into Azure Blobs or Azure files whereas the export job allows data to be exported from Azure Blobs
You need to use an existing Azure Resource Manager (ARM) template to provision ten Azure virtual machines.
You should retrieve the password using the ARM template. The password must not be stored in plain text.
Which of the following options can help you accomplish this?
- Create a key vault and configure an access policy
- Configure label protection
- Create a storage account and configure data protection
- Configure Azure AD Password Protection
Create a key vault and configure an access policy.
In this scenario, you can use the ARM template to retrieve the password in Azure Key Vault. Instead of putting a secure value (like a password) directly in your template or parameter file, you can retrieve the value from an Azure Key Vault during deployment. You retrieve the value by referencing the key vault and secret in your parameter file. The value is never exposed because you only reference its key vault ID.
Your company has 12 peered virtual networks in your Azure subscription.
You plan to deploy a network security group for each virtual network.
There is a compliance requirement that port 80 should be automatically blocked between virtual networks whenever a new network security group is created.
Solution: You create a security rule that denies incoming port 80 traffic.
Does the solution meet the goal?
No.
It is stated in the scenario that blocking port 80 should be done automatically whenever a new network security group is created. By creating a rule manually, it becomes quite cumbersome to configure as you need to create a security rule for every network security group you create. It’s best practice to always automate your security processes to avoid administrative overhead. You should use a custom policy definition in order to automate the requirement.
You are planning to host several web applications in Azure App Service with the following runtime stack.
App1 - ASP.NET V4.8 App2 - Node 12 LTS App3 - PHP 7.4 App4 - Python 3.8 App5 - Ruby 2.5
How many App Service plan should you create at the minimum to properly deploy all applications?
Zero, One, Two, Five
Two.
Only need to create one App Service plan for each runtime stack (i.e. Windows and Linux) not one per application. Some runtime stacks will only work on Windows such as ASP.NET while Ruby will only work with Linux.
You created a new Azure web app with an F1 App Service plan.
You want to add a staging slot for your application but the option seems unavailable in the Azure Portal.
What must be done first to satisfy the above requirement?
Scale up the App Service plan.
Add a new deployment slot
Scale-out the App Service plan
Configure a custom domain
Scale up the App Service plan.
upgrade your App Service plan to a Standard or Premium tier. After you successfully upgraded your plan, you can now add a slot in the deployment slots.
You are managing 50 virtual machines.
You need to identify idle and underutilized resources to reduce the overall costs of your account. The service tier of your development virtual machines must also be changed to a less expensive offering.
What Azure service should you use?
Azure Advisor
Azure Event Hubs
Azure Monitor
Azure Compliance Manager
Azure Advisor.
Azure Cost Management works with Azure Advisor to provide cost optimization recommendations. The list of recommendations identifies usage inefficiencies or shows purchase recommendations that can help you save costs.
You plan to host a web application in three Azure virtual machines.
You need to make sure that there are at least two virtual machines running if an Azure data center becomes inaccessible.
What should you do?
Deploy all the virtual machines in a single Availability Zone
Deploy one virtual machine in each Availability Zone
Deploy all the virtual machines in a single Availability Set
Deploy one virtual machine in each Availability slot
Deploy one virtual machine in each Availability Zone.
Based on the given requirements, you can protect your web application from data center outages if you will deploy the three virtual machines in a separate Availability Zone. The physical separation of Availability Zones within a region protects applications and data from datacenter failures.
Your company has an Azure subscription that has the following resources deployed:
TDBackup1, Recovery Services Vault, SEAsia
TDAccount2, Storage Account, SEAsia
TDAnalytics1, Log Analytics Workspace, East Asia
TDAlanytics2, Log Analytics Workspace, SEAsia
TDAnalytics3, Log Analytics Workspace, Australia Central
There is a requirement that requires you to configure Azure Backup reports using TDBackup1 to determine which backup items consume the most storage.
Which Log Analytics workspace can you use to store the backup reporting data?
TDAnalytics1
TDAnalytics2
TDAnalytics3
TDAnalytics1, TDAnalytics2 and TDAnalytics3
TDAnalytics1, TDAnalytics2 and TDAnalytics3
When you create a Log Analytics workspace, it does not matter if the vault is located in a different region or subscription.
You have deployed two Azure virtual machines to host a web application.
You plan to set up an Availability Set for your application.
You need to make sure that the application is available during planned maintenance.
Which of the following options will allow you to accomplish this?
Assign one update domain in the Availability Set
Assign two update domains in the Availability Set
Assign one fault domain in the Availability Set
Assign two fault domains in the Availability Set
Assign two update domains in the Availability Set.
To ensure that the application is available during planned maintenance, you must assign two update domains in the Availability Set. An update domain will make sure that the VMs in the Availability Set are not updated at the same time.
You are managing an Azure subscription that contains a resource group named TD-RG1 which has a virtual machine named TD-VM1.
TD-VM1 has services that will deploy new resources on TD-RG1.
You need to make sure that the services running on TD-VM1 should be able to manage the resources in TD-RG1 using its identity.
Which of the following actions should you do first?
Configure the access control of TD-VM1
Configure the access control of TD-RG1
Configure the security settings of TD-RG1
Configure the managed identity of TD-VM1
Configure the managed identity of TD-VM1.
some Azure services allow you to enable a managed identity directly on a service instance. When you enable a system-assigned managed identity, an identity is created in Azure AD that is tied to the lifecycle of that service instance
Your company has a virtual network that contains a MySQL database hosted on a virtual machine.
You created a web app named tutorialsdojo-webapp using the Azure App service.
You need to make sure that tutorialsdojo-webapp can fetch the data from the MySQL database.
What should you implement?
Create and internal load balancer
Enable VNet Integration and connect the web app to the virtual network
Peer the virtual network to another virtual network
Create an Azure Application Gateway
Enable VNet Integration and connect the web app to the virtual network.
With Azure Virtual Network (VNets), you can place many of your Azure resources in a non-internet-routable network. The VNet Integration feature enables your apps to access resources in or through a VNet.