Developing Microsoft Azure Solutions (legacy) — Question 2
You have a website that is hosted on Azure. You connect to the site by using the URI http://www.contoso.com. You plan to publish a new version of the website.
You need to acquire the publishing profile for the website.
Which two actions will achieve the goal? Each correct answer presents a complete solution.
Answer options
- A. Run the following Windows PowerShell cmdlet:Get-AzurePublishSettingsFile
- B. Run the following Windows PowerShell cmdlet:Get-AzureSubscription
- C. Navigate to the following URI: https://www.contoso.com/download/publishprofile.aspx
- D. Navigate to the following URI: https://windows.azure.com/download/publishprofile.aspx
Correct answer: A, D
Explanation
The correct answer includes option A, which retrieves the publishing settings file necessary for deployment, and option D, which directs you to the Azure management portal where the publish profile can be downloaded. Option B is incorrect as it relates to subscription details rather than publishing profiles, and option C is invalid because the URI does not lead to the appropriate location for downloading the publish profile.