Which code segment should you insert at line 02?
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?
You need to design a cache solution for the SaaS application
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?
Which two operations should you monitor?
You are maintaining an application that uses the Azure Content Delivery Network (CDN) to serve terabytes of
content that is stored in page blobs.
Your bill for CDN services is higher than you expect.
You need to monitor the application to find issues that increase costs.
Which two operations should you monitor? Each correct answer presents part of the solution.
How should you complete the request?
DRAG DROP
You are developing a web application that integrates with Azure Active Directory (AD). The application uses the
OAuth 2.0 protocol to authorize secure connections to a web service that is at https://service.adatum.com.
The application must request an access token to invoke the web service methods.
You need to submit an HTTP request to the Azure AD endpoint.
How should you complete the request? 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.
Select and Place:
You need to configure the virtual networks
A company plans to increase its virtual network capacity by adding virtual network subscriptions.
You must increase the number of subscriptions from 3 to 15.
You need to configure the virtual networks.
What should you do?
How should you complete the relevant code?
DRAG DROP
You are developing a web application that uses Azure push notifications to interact with users.
You need to send a text notification to users to alert them that the application is ready to test.
How should you complete the relevant code? To answer, drag the appropriate code segment to the correct
location. 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.
Select and Place:
How should you complete the relevant code?
HOTSPOT
You create a cache for a project by using Azure Redis Cache. You are writing test code that verifies that the
cache is available.
You need to ensure that data can be saved to the cache and retrieved from the cache.
How should you complete the relevant code? To answer, select the appropriate option or options in the answer
area.
Hot Area:
Which service should you use?
You maintain an application that is used by local food delivery companies. When a customer requests a
delivery, the application sends a message to all of the delivery companies. One company accepts the request
and fulfills the order.
The application currently supports orders of 100 products or fewer. Some of the delivery companies can now
deliver large orders that contain up to 500 products.
You must modify the application so that it supports both small orders and large orders. Messages about large
orders should be sent to only delivery companies that can fulfill them. Messages about small orders should be
sent to all delivery companies.
Which service should you use?
Hot Area:
HOTSPOT
You plan to migrate a website named Contoso from one hosting plan to another hosting plan. The website is
currently in a hosting plan named webhostingplan1. You create a resource group named ContosoGroup.
You create the following PowerShell script by using the Azure PowerShell tools. Line numbers are included for
reference only.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
Hot Area:
You need to configure the environment to ensure that th…
You deploy a stateless ASP.NET application to an Azure website. You scale out the application by adding
website instances.
Only newly signed in users are routed to the recently added website instances. Users must be evenly
distributed among all of the instances.
You need to configure the environment to ensure that the load balancer evenly distributes requests.
What should you do?