test 29 Flashcards
You have to create a Windows Virtual Machine for hosting a web application in Azure. How would you ensure the VM has an IIS web server installed after deployment? Select two correct options.
A. Use Azure Custom Script Extension
B. Use the Publish-AzVMDscConfiguration PowerShell command
C. Use PowerShell DSC extension
D. Create a DSC configuration file and upload it to the storage account
You use an ARM template to deploy a virtual network and a storage account in a resource group. Below is the template used to deploy the resources. You make some changes to the ARM template and redeploy the template in either incremental or complete deployment mode. Given below are two statements based on this information. Select Yes if the statement is correct. Else select No.
A. Yes, Yes
B. Yes, No
C. No, No
D. No, Yes
There are three virtual machines created in your Azure subscription. And your subscription has the following quota limits. Below is the configuration information on the D-series v3 and E-series v5 family of Azure VM sizes. Given below are two statements based on the above information. Select Yes if the statement is correct. Else select No.
A. Yes, No
B. Yes, Yes
C. No, No
D. No, Yes
This question is part of repeated scenario questions that contain the same stem but with a different solution for each question. You need to identify if the given solution solves a particular problem. Each set of repeated scenario questions might contain either none, one, or many solutions. You have three resource groups created in the Dev subscription as shown in the below hierarchy: Your manager asked you to create a custom role in Azure RBAC that meets the following objectives: 1. The custom role can export snapshots and disks from a VM. 2. The custom role can apply only to the resource groups rg-dev-01 and rg-dev-02. 3. The user assigned the custom role can reassign the role to other users in the tenant. But he cannot manage policy assignments. Solution: You create the below custom role: Does the solution meet the custom role objectives?
A. Yes
B. No
This question is part of repeated scenario questions that contain the same stem but with a different solution for each question. You need to identify if the given solution solves a particular problem. Each set of repeated scenario questions might contain either none, one, or many solutions. You have three resource groups created in the Dev subscription as shown in the below hierarchy: Your manager asked you to create a custom role in Azure RBAC that meets the following objectives: 1. The custom role can export snapshots and disks from a VM. 2. The custom role can apply only to the resource groups rg-dev-01 and rg-dev-02. 3. The user assigned the custom role can reassign the role to other users in the tenant. But he cannot manage policy assignments. Solution: You create the below custom role: Does the solution meet the custom role objectives?
A. Yes
B. No
This question is part of repeated scenario questions that contain the same stem but with a different solution for each question. You need to identify if the given solution solves a particular problem. Each set of repeated scenario questions might contain either none, one, or many solutions. You have three resource groups created in the Dev subscription as shown in the below hierarchy: Your manager asked you to create a custom role in Azure RBAC that meets the following objectives: 1. The custom role can export snapshots and disks from a VM. 2. The custom role can apply only to the resource groups rg-dev-01 and rg-dev-02. 3. The user assigned the custom role can reassign the role to other users in the tenant. But he cannot manage policy assignments. Solution: You create the below custom role: Does the solution meet the custom role objectives?
A. Yes
B. No
You have a virtual machine scale set deployed with 8 VMs. You want to add a Network Watcher agent extension to the scale set and upgrade the individual VMs to the scale set model. This upgrade policy is defined for the scale set. How many VMs will be down at any point in time during the upgrade?
A. 0
B. 1
C. 2
D. 8
You have two Virtual machines deployed in subnet01 and subnet02 in a VNet. Based on this information, answer the two questions below about using Network Watcher tools to monitor and evaluate how the two VMs communicate.
A. Connection monitor, Connection monitor
B. Connection monitor, Connection troubleshoot
C. NSG diagnostics, Connection troubleshoot
D. NSG diagnostics, Connection monitor
You use the default template to define the autoscaling rules while creating a Virtual Machine Scale Set. Based on the above information, answer the below two questions:
A. >3, 20
B. <=2, <=2
C. >3, 3-5
D. 3, 20
Your team uses an Azure Virtual Machine to run line-of-business apps. Based on the requirements for the upcoming sprint, you analyze the following changes to be made to your VM: a. Attach another network interface to the VM b. Resize the VM to any VM SKU with 2 vCPUs c. Install the Network Watcher Agent for Windows extension d. Enable BitLocker encryption of OS and data disk. Which requirement(s) calls for stopping the VM from the Azure portal before it/they can be implemented?
A. Only a and d
B. Only b and d
C. Only a
D. Only c and b
You have two storage accounts in different subscriptions in a Microsoft Entra ID tenant. There is another storage account in a different Microsoft Entra ID tenant. Given below are two statements about using the azcopy tool to copy data between storage accounts. Select Yes if the statement is correct. Else select No.
A. Yes, No
B. Yes, Yes
C. No, No
D. No, Yes
You have to create an Azure storage account that meets the below requirements: 1. Protect data from regional outages. 2. Optimize blob storage cost. 3. Provide support for files and blobs. Based on the given information, complete the below Azure CLI command:
A. Premium_LRS, StorageV2, Cool
B. Standard_GRS, StorageV2, Hot
C. Standard_GRS, StorageV2, Cool
D. Standard_ZRS, FileStorage, Hot
In your Azure subscription, you have four storage accounts with different storage redundancies. Which storage accounts’ replication type can you convert to ZRS (Zone-redundant storage) from only the Redundancy section of the storage account resource in the Azure portal?
A. Only strdev011 and strdev012
B. Only strdev011, strdev012 and strdev013
C. Only strdev014
D. Only strdev013 and strdev014
You have two subscriptions Dev and Test in Azure: 1. You apply a read-only lock on the Test subscription. 2. There are no locks on the Dev subscription. Further, you have the following information about the resource groups and resources created in these subscriptions: You grant User one the owner access to both subscriptions. Given below are three statements based on the above information. Select Yes if the statement is correct. Else select No.
A. No, Yes, No
B. No, No, Yes
C. Yes, No, No
D. Yes, No, Yes
Below is a hierarchy of resources in Azure: You have to create a read-only lock on the aa-ravi-dev automation resource. Given below are two statements based on resources inheriting locks from a specific hierarchy level. Select Yes if the statement is correct. Else select No.
A. No, Yes
B. Yes, No
C. Yes, Yes
D. No, No