Q1. HOTSPOT - (Topic 5)
Tailspin Toys uses a website to manage its inventory. The website is hosted on Azure. You are writing a Windows Store app that uses data from the blob storage.
Microsoft 70-532 : Practice Test
You need to retrieve an image from the following URI:
https://tailspintoys.blob.core.windows.net/Trains/Caboose2jpg.
How should you complete the relevant code? To answer, select the appropriate code
segments in the answer area.
Answer:
Q2. - (Topic 2)
You need to implement data storage for patient information.
What should you do?
A. Use the Update Entity operation of the Table Service REST API.
B. Use the Put Blob operation of the Blob Service REST API.
C. Use the Put Message operation of the Create Queue REST API.
D. Use the Set Share Metadata operation of the File Service REST API.
Answer: A
Q3. DRAG DROP - (Topic 2)
Contoso, Ltd. reports that hackers have compromised a computer on its network.
You need to prevent access to the site from all Contoso, Ltd. computers.
How should you complete the relevant Windows PowerShell script? To answer, drag the appropriate Windows PowerShell segment to the correct location. Each Windows PowerShell segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Answer:
Q4. HOTSPOT - (Topic 5)
You are developing an Azure cloud service for a company. The cloud service monitors a queue for incoming messages and then processes invoices based on the contents of these messages.
Some messages are formed incorrectly and cause exceptions. There is no time limit for how long the service takes to process an individual message.
All messages must be processed at least once by using the ProcessMessage method. Messages must not be processed more than twice by using the ProcessMessage method. Messages that fail normal processing must be processed by using the ProcessPoisonMessage method.
You need to configure message processing.
How should you complete the relevant code? To answer, select the appropriate option or options in the answer area.
Answer:
Q5. HOTSPOT - (Topic 5)
You store JSON data in a blob by using the Azure Blob service. Web applications access the JSON data by using client-side JavaScript calls.
JSON data is stored in a container that is configured to allow anonymous access. Web applications that are allowed to make updates to the data have access to any necessary shared access signatures (SASs) and storage keys.
You configure one Cross-Origin Resource Sharing (CORS) rule for the https://fabrikam.com domain and then run the following method. Line numbers are provided for reference only.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Answer:
Q6. - (Topic 3)
You need to implement the web application deployment workflow.
In the Azure management portal, what should you do?
A. Set the web hosting plan to Shared. Increase the instance count to 2. Publish the incremental updates to the new instance.
B. Set the web hosting plan to Standard. Use Windows PowerShell to create a new deployment slot to publish the incremental updates. Swap the deployment slot after the business users have validated the updates.
C. Set the web hosting plan to Standard. Create a new website to host the updated web application. Create a Windows PowerShell script to move the contents of the new website to the production website location after the business users have validated the updates.
D. Download the publish profile. Use Visual Studio to import the publish profile. Deploy the web application by using the Visual Studio Publish Web wizard after the business users have validated the updates.
Answer: B
Q7. - (Topic 5)
You have an ASP.NET application that runs in a cloud service. A new version of the application is ready for release. The new version contains code changes and new SSL certificates. The application consists of six instances of a web role and four instances of a worker role.
The application performs at or near full capacity. The cloud service uses the default number of fault domains and upgrade domains.
You plan to deploy the new version of the application. The performance and capacity of the web roles must not degrade during the deployment. Temporary degradation of the worker roles is acceptable. The deployment must take a maximum of six hours.
You need to deploy the new version of the ASP.NET application to the cloud service.
Which two approaches will achieve the goal? Each correct answer presents a complete solution.
A. Increase the number of web role instances to eight, and then deploy the new version of the application by using an in-place update. Reduce the number of web role instances to six after the upgrade is completed.
B. Deploy the new version of the application by using an in-place update. Use upgrade domains to ensure that there is sufficient capacity during the upgrade.
C. Deploy the new version of the application into the staging slot for the cloud service. Then activate the new version of the application by swapping virtual IP (VIP) addresses.
D. Delete the old version of the application, and deploy the new version of the application.
Answer: B,C
Q8. - (Topic 4)
You need to configure role instances.
Which size should you specify for the VM?
A. Use Small for Off-Peak mode.
B. Use Large for On-Peak mode.
C. Use Extra Large for On-Peak mode.
D. Use Extra Small for Off-Peak mode.
Answer: B
Q9. HOTSPOT - (Topic 5)
You have a WebJob object that runs as part of an Azure website. The WebJob object uses features from the Azure SDK for .NET. You use a well-formed but invalid storage key to create the storage account that you pass into the UploadDataToAzureStorage method.
The WebJob object contains the following code segment. Line numbers are included for reference only.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Answer:
Q10. - (Topic 5)
You deploy a website to Azure. When the website starts, it loads and caches common
data.
Updates to the website must occur without downtime or performance degradation that is
noticeable to users.
You need to upgrade to a new version of website code. What should you do?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B
Q11. - (Topic 5)
An application sends Azure push notifications to a client application that runs on Windows Phone, iOS, and Android devices.
Users cannot use the application on some devices. The authentication mechanisms that the application uses are the source of the problem.
You need to monitor the number of notifications that failed because of authentication errors.
Which three metrics should you monitor? Each correct answer presents part of the solution.
A. Microsoft Push Notification Service (MPNS) authentication errors
B. External notification system errors
C. Apple Push Notification Service (APNS) authentication errors
D. Channel errors
E. Windows Push Notification Services (WNS) authentication errors
F. Google Cloud Messaging (GCM) authentication errors
Answer: A,C,F
Q12. HOTSPOT - (Topic 2)
You need to implement the worker role to support the real-time continuous data-collection service.
How should you complete the relevant code? To answer, select the appropriate option or options in the answer area.
Answer:
Q13. DRAG DROP - (Topic 4)
You need to insert code at line SB17 to create the hyperlink that customers use to upload additional necessary documents.
How should you complete the relevant code? To answer, drag the appropriate code segments to the correct locations. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Answer:
Q14. HOTSPOT - (Topic 5)
You use the storage client library to develop an application that manages Azure table storage data.
The application reports error codes when it saves data. You must use a custom retry policy to handle the error codes.
The custom retry policy must meet the following requirements:
Retry when a conflict error code is encountered.
Retry when a storage exception is encountered.
Retry until the maximum number of retry attempts is reached.
You create the following code segment. Line numbers are included for reference only.
You need to insert code at line 14 to implement the retry policy.
How should you complete the relevant code? To answer, select the appropriate option or options in the answer area.
Answer:
Q15. HOTSPOT - (Topic 5)
You are creating a set of load-balanced virtual machines (VMs) that are hosted on Azure.
You run the following Windows PowerShell script. Line numbers are included for reference only.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Answer:
Q16. - (Topic 4)
You need to configure the virtual network.
What are two possible ways to achieve this goal? Each correct answer presents a complete solution.
A. Configure a point-to-site virtual network.
B. Configure a site-to-site virtual network.
C. Configure a multi-site virtual network.
D. Configure a cloud-only virtual network.
Answer: A,B
Q17. HOTSPOT - (Topic 5)
You have an existing server that runs Windows Server. You plan to create a base image of this server. You will use this base image to prepare several virtual servers for future use. After the base image is prepared, you will capture it by using the Azure management
portal.
You must use the System Preparation Tool (Sysprep) to prepare the server so that the
base image can be captured.
You need to prepare the server so that the base image can be captured.
What should you do? To answer, configure the appropriate options in the dialog box in the
answer area.
Answer: