Home
16.
When publishing a PowerShell DSC configuration using Windows PowerShell, how do you specify a Windows PowerShell data file (.psd1) that contains parameters for the configuration?
  • A.
    Specify the ConfigurationName parameter of the Set-AzureVMDscExtension cmdlet.
  • B.
    Specify the ConfigurationArchivePath of the parameter of the Publish-AzureVMDscConfiguration cmdlet
  • C.
    Specify the ConfigurationDataPath parameter of the Set-AzureVMDscExtension cmdlet.
  • D.
    This is only possible through the Management portal.
  • Answer & Explanation
  • Report
Answer : [C]
Explanation :
A. Incorrect: The ConfigurationName parameter is for the name of the configuration to apply and not the name of the parameters file.
B. Incorrect: The ConfigurationArchivePath parameter is used to specify the local location of the .zip file produced that contains all of the DSC resources.
C. Correct: The ConfigurationDataPath parameter can be used to specify the .psd1 file that can optionally contain parameters to apply to the DSC configuration.
D. Incorrect: Both Azure PowerShell and the Management portal can be used to specify the file.
Report
Name Email  
17.
You create a virtual machine named vm1 in cloudservice1, and vm2 in cloudservice2. You have added a load balanced endpoint on vm1 but the management portal does not show the load-balanced set on vm2. What is the problem?
  • A.
    You must use Windows PowerShell to configure load balanced endpoints.
  • B.
    The virtual machines must be in the same cloud service.
  • C.
    You must refresh the management portal after the first endpoint is created.
  • D.
    The virtual machines are not in the same availability set.
  • Answer & Explanation
  • Report
Answer : [B]
Explanation :
A. Incorrect: Adding load balanced endpoints can be accomplished using Azure PowerShell, but it is not required and can be configured through the management portal.
B. Correct: Virtual machines must be created in the same cloud service in order to be part of the same load balanced set.
C. Incorrect: While the management portal may occasionally need to be refreshed since the virtual machines are in separate cloud services, they still cannot be load balanced together.
D. Incorrect: Virtual machines do not have to be in the same availability set to be load balanced (it is usually recommended though).
Report
Name Email  
18.
Which cmdlet should be used first to retain the IP address of the cloud service VIP even if all of the virtual machines are stopped?
  • A.
    Set-AzurePublicIP
  • B.
    Set-AzureEndpoint
  • C.
    New-AzureReservedIP
  • D.
    Set-AzureLoadBalancedEndpoint
  • Answer & Explanation
  • Report
Answer : [C]
Explanation :
A. Incorrect: The Set-AzurePublicIP cmdlet is used to add a public IP to a specific virtual machine but not the VIP of the cloud service.
B. Incorrect: The Set-AzureEndpoint cmdlet is used to modify the configuration of an input endpoint.
C. Correct: The New-AzureReservedIP is used to create a reserved IP address that can then be referenced during creation of the first virtual machine.
D. Incorrect: The Set-AzureLoadBalancedEndpoint cmdlet is used to modify a load balanced endpoint, but will not help with VIP reservation.
Report
Name Email  
19.
How many upgrade domains are assigned to an availability set?
  • A.
    20
  • B.
    5
  • C.
    2
  • D.
    One per virtual machine
  • Answer & Explanation
  • Report
Answer : [B]
Explanation :
A. Incorrect: For a given Availability Set, up to five non-user-configurable update domains are assigned and not 20.
B. Correct: For a given Availability Set, five non-user-configurable update domains are assigned.
C. Incorrect: For a given Availability Set, five non-user-configurable update domains are assigned and not 2.
D. Incorrect: For a given Availability Set, five non-user-configurable update domains are assigned. An upgrade domain is not assigned per virtual machine.
Report
Name Email  
20.
Which Azure PowerShell cmdlet should you use to change the size of a virtual machine?
  • A.
    Set-AzureVMSize
  • B.
    Set-AzureService
  • C.
    New-AzureVMConfig
  • D.
    The virtual machine size can only be changed through the management portal
  • Answer & Explanation
  • Report
Answer : [A]
Explanation :
A. Correct: The Set-AzureVMSize cmdlet can be used to change the size of a virtual machine.
B. Incorrect: The Set-AzureService cmdlet is used to change the configuration of a cloud service.
C. Incorrect: The New-AzureVMConfig cmdlet sets the size of the virtual machine at creation.
D. Incorrect: The size of a virtual machine can be set from or the command line.
Report
Name Email