70-532 Exam - Developing Microsoft Azure Solutions

certleader.com

Q1. - (Topic 5) 

You are modifying a web application so that it uses Azure Active Directory to manage users. You create a security group named Users and a security group named Administrators. The Administrators security group is a member of the Users security group. 

You create the following code segment. Line numbers are included for reference only. 

You need to implement the canAccessUserResources function. Which code segment should you insert at line 02? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q2. - (Topic 5) 

You are developing a REST API service that provides data about products. The service will be hosted in an Azure virtual machine (VM). 

The product data must be stored in Azure tables and replicated to multiple geographic locations. 

API calls that use the HTTP GET operation must continue to function when the data tables at the primary Azure datacenter are not accessible. 

You need to configure storage for the service. 

Which type of replication should you choose? 

A. Locally Redundant Storage replication 

B. Geo-Redundant Storage replication 

C. Zone-Redundant Storage replication 

D. Read-Access Geo-Redundant Storage replication 

Answer:

Q3. - (Topic 5) 

A company creates an API and makes it accessible on an Azure website. External partners use the API occasionally. The website uses the Standard web hosting plan. 

Partners report that the first API call in a sequence of API calls occasionally takes longer than expected to run. Subsequent API calls consistently perform as expected. 

You need to ensure that all API calls perform consistently. 

What should you do? 

A. Configure the website to use the Basic web hosting plan. 

B. Enable Always On support. 

C. Configure the website to automatically scale. 

D. Add a trigger to the web.config file for the website that causes the website to recycle periodically. 

Answer:

Q4. HOTSPOT - (Topic 5) 

You have a cloud service that runs an external process that is named MyStartupTask.cmd. The cloud service runs this external process when the web role starts. The external process writes information to the Windows registry. You set the value of an environment variable named MyID to the deployment ID for the current web role instance. 

The external process must complete writing the information to the Windows registry before the web role starts to accept web traffic. 

You need to configure the cloud service. 

How should you complete the relevant markup? To answer, select the appropriate option or options in the answer area. 

Answer:  

Q5. - (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 

Q6. DRAG DROP - (Topic 4) 

You need to insert markup at line SD22 to install the software that generates PDF documents. 

How should you complete the relevant markup? 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:  

Q7. - (Topic 5) 

You store data by using table storage in Azure. 

The storage analytics logs do not contain any data. 

You must configure the Azure storage account to retain logs for the maximum length of time that Azure permits. 

In the Azure management portal, what should you do? 

A. Set the monitoring level to Minimal, and set the number of days the data in the logs is retained to 0. 

B. Set the monitoring level to Verbose, and set the number of days the data in the logs is retained to 365. 

C. Set the monitoring level to Minimal, and set the number of days the data in the logs is retained to 99. 

D. Set the monitoring level to Verbose, and set the number of days the data in the logs is retained to 30. 

Answer:

Q8. - (Topic 3) 

You need to choose an Azure storage service solution. Which solution should you choose? 

A. Queue storage 

B. Blob storage 

C. File storage 

D. Table storage 

Answer:

Q9. - (Topic 5) 

You store data in an Azure blob. Data accumulates at a rate of 0.10 GB per day. 

You must use storage analytics data to verify that the service level agreement (SLA) has been met and to analyze the performance of VHDs, including the pattern of usage. 

Analytics data must be deleted when it is older than 100 days or when the total amount of data exceeds 10 GB. 

You need to configure storage analytics and access the storage analytics data. 

Which two approaches will achieve the goal? Each correct answer presents part of the solution. 

A. Disable the data retention policy. 

B. Access analytics data by using the Service Management REST APL 

C. Access analytics data by using the APIs used to read blob and table data. 

D. Configure a data retention policy of 100 days. 

Answer: C,D 

Q10. DRAG DROP - (Topic 3) 

You need to secure the website. 

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. 

Answer: