Question : You are working in QuickTechie Inc , where you are managing VM as well as virtual network created in Azure for QuickTechie Inc. Now there a virtual network named as QuickVNet , which has three subnets named as QuickSNet1, QuickSNet2 and QuickSNet3. There is a virtual machine (VM) named QuickVM running in the QuickProd service. Now you wanted to modify QuickVM so it can be deployed into QuickSNet3 You want to achieve this goal by using the least amount of time and while causing the least amount of disruption to the existing deployment. Which of the following is a correct cmdlet command. 1. $VM = Get-AzureVM -ResourceGroupName "QuickProd" -Name "QuickVM" Set-AzureVNet "QuickSNet3" -VM $VM Update-AzureVM "QuickProd"
Correct Answer : Get Lastest Questions and Answer : Exp: can you move a machine from one vNet to another without having to re-install it?" Yes you can... The process to carry out a move of your VM to a different subnet is straight forward:
Migrate a VM from one subnet to another. Update the VM configuration and restart the VM.
Use PowerShell to move the machine to a different subnet.
You need to use the following script to move the machine. This particular script imports the Azure Module, adds your Azure Account to the PowerShell session, it asks for the info needed:
Cloud Service name The name of the VM to move And the destination subnet to move it to. # Import Windows Azure PowerShell Module Import-Module Azure
# Login to Windows Azure subscription Add-AzureAccount
# collect info for the VM move $ServiceName= read-host -Prompt ("Enter your Cloud Service name") $VM= read-host -Prompt ("Enter your VM name") $Subnet= read-host -Prompt ("Enter your destination Subnet name")
# Move the VM Get-AzureVM -ServiceName $ServiceName -name $VM | Set-AzureSubnet -SubnetNames $Subnet | Update-AzureVM
Question : You are working in a company named as Acmeshell Inc. you are managing a solution which is deployed in two Azure Subscriptions one for testing and other for production. Both subscription have virtual networks named AcmeVNet. Now you need to urgently add two more VMs in a new subnet with the following requirement - Deploy the new VMs to the virtual network in the testing subscription. - Minimize any errors in defining the network changes. - Minimize the work that will be required when the change is made to the production virtual network.
Select the correct steps, which you need to implement, in correct sequence.
A. Add an accessibly group to the network configuration file. B. Add a subnet to the virtual Network using the Management portal C. Deploy the new VMs to the new Subnet D. Add an accessibility group to the virtual Network using the Management portal. E. Deploy the new VMs to the new accessibility group. F. Export the network configuration G. Add a subnet to the network configuration file H. Import the network configuration. 1. A,B,C 2. C,D,E 3. Access Mostly Uused Products by 50000+ Subscribers 4. A,B,H 5. B,C,F
Correct Answer : Get Lastest Questions and Answer : Exp: "Minimize the work that WILL BE required WHEN the change is made to the production virtual network", which means there will have to be more steps once this will be implemented into production. BUT this is not part of this question. Therefore an import of the network configuration file (step 8) is not necessary...yet.
So Step 8 is out.
The accessibility group-answers are off topic, so 1,4 and 5 is out (as Jürgen point out)
Which leaves us with 2,3,6 and 7
Since we do not have a network configuration file, step 7 is out
What then is left are 2,3 and 6 (in that order); Create a subnet in the Testing subnet (2), Deploy the VMs to this new subnet (3) and Export the network configuration (6) for later importing it to Production.
Step 2 minimizes any errors in defining the network changes Step 3 is for deploying the VM for testing and the requirement. step 6 to minimize the work that will be required when the change is made to the production virtual network
Question : Our website named QuickTechie.com is hosted in Azure, now while accessing this website some users are facing issues and getting following error.
"http Status 500.0 - Internal Server Error."
You need to view detailed diagnostic information in XML format. Which option should you enable? 1. Application Logging in Application Diagnostics
The directory structure that the logs are stored in is as follows:
Application logs - /LogFiles/Application/. This folder contains one or more text files containing information produced by application logging.
Failed Request Traces - /LogFiles/W3SVC#########/. This folder contains an XSL file and one or more XML files. Ensure that you download the XSL file into the same directory as the XML file(s) because the XSL file provides functionality for formatting and filtering the contents of the XML file(s) when viewed in Internet Explorer.
Detailed Error Logs - /LogFiles/DetailedErrors/. This folder contains one or more .htm files that provide extensive information for any HTTP errors that have occurred.
Web Server Logs - /LogFiles/http/RawLogs. This folder contains one or more text files formatted using the W3C extended log file format.
Deployment logs - /LogFiles/Git. This folder contains logs generated by the internal deployment processes used by Azure web apps, as well as logs for Git deployments.
1. Send - > Not Needed for Queue , Not Needed for Subscriptions Listen -> Needed for Queue, Not Needed for Subscriptions Manage -> Not Needed for Queue, Needed for Subscriptions
2. Send - > Not Needed for Queue , Not Needed for Subscriptions Listen -> Not Needed for Queue, Not Needed for Subscriptions Manage -> Needed for Queue, Needed for Subscriptions
4. Web Role Instance=6 , Worker Role Instances=8 , Upgrade Domains = 1 Correct Answer : Exp : Question is asking us to have at least worker roles and web roles instances are available during upgrade.
6 Worker Roles, needs to be available. At a time only one upgrade domain is active. 8 Web Roles, needs to be available. At a time only one upgrade domain is active.
If we give 12 Web Roles: 3 Upgrade domain. Hence, each upgrade domain will work on 4 worker role instances. But at a time only 1 Active. Hence, 8 web roles will be available. If we gives 9 Worker roles: 3 Upgrade domain. Hence, each upgrade domain will work on 3 worker nodes. At a time only one upgrade domain is active (means updating 3 instances) . And remaining 2 domain still available to serve the traffic. Which is 2 *3 =6 available. As required.
Question : HadoopExam Learning Resources has created one application using .NET and they are running it in their own data center. But after subscribing Azure cloud they decided to migrate this application to Azure Cloud Service. After migrating to Azure cloud, you need to enable trace logging for the application. Select which of the following actions needs to be taken.
A. Update the service definition file. B. Update the Azure diagnostics configuration. C. Update the service configuration file. D. Enable verbose monitoring. E. Update the application web.config file. 1. A,B 2. B,C 3. Access Mostly Uused Products by 50000+ Subscribers 4. A,D 5. B,D