70-532

70-532 practice questions, page 4 of 9, with answer review and explanations.

Question 16

You create a software-as-a-service (SaaS) application. Websites, cloud services, and virtual machines (VMs) read common data values from the database for the application. The application does not scale efficiently. All VMs, websites, and cloud services must read from the same data source. You need to design a cache solution for the SaaS application. What should you do?

  1. Deploy a cache by using Azure Redis Cache. Access the cache from the websites, cloud services, and VMs.
  2. Configure a cache by using ASP.NET. Access the cache from the websites, cloud services, and VMs.
  3. Use Azure Redis Cache to deploy one cache for each website, one cache for each cloud service, and one cache for each VM. Configure each cache to ensure that data is consistent in all the cache instances.
  4. Deploy a cache by using Azure Redis Cache. Configure the cache to use database connection strings.

Question 17

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?

  1. Option A
  2. Option B
  3. Option C
  4. Option D

Question 18

You are developing a messaging solution to integrate two applications named WeatherSummary and WeatherDetails. The WeatherSummary application displays a summary of weather information for major cities. The WeatherDetails application displays weather details for a specific city. You need to ensure that the WeatherDetails application displays the weather details for the city that the user selects in the WeatherSummary application. What should you do?

  1. Create an Azure Service Bus Queue communication. In the WeatherDetails application, implement the PeekLock method.
  2. Create an Azure Service Bus Topics object. In the WeatherDetails application, create a filter.
  3. Create an Azure Service Bus Relay object. In the WeatherDetails application, create a filter.
  4. Create an Azure Service Bus Queue communication. In the WeatherDetails application, implement the ReceiveAndDelete method.

Question 19

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?

  1. Set the monitoring level to Minimal, and set the number of days the data in the logs is retained to 0.
  2. Set the monitoring level to Verbose, and set the number of days the data in the logs is retained to 365.
  3. Set the monitoring level to Minimal, and set the number of days the data in the logs is retained to 99.
  4. Set the monitoring level to Verbose, and set the number of days the data in the logs is retained to 30.

Question 20

You host an application on an Azure virtual machine (VM) that uses a data disk. The application performs several input and output operations per second. You need to disable disk caching for the data disk. Which two actions will achieve the goal? Each answer presents a complete solution.

  1. Use the Azure Resource Manager REST API
  2. Use the Service Management REST API.
  3. Run the following Windows PowerShell cmdlet:Remove-AzureDataDisk
  4. Run the following Windows PowerShell cmdlet:Set-AzureDataDisk