Loading questions...
Updated
Want a break from the ads?
Become a Supporter and enjoy a completely ad-free experience, plus unlock Learn Mode, Exam Mode, AstroTutor AI, and more.
Support Examcademy
Your support keeps this platform running. Become a Supporter to remove all ads and unlock exclusive study tools.
Study without distractions
Supporters get zero ads, spaced-repetition Learn Mode, timed Exam Mode, and AI-powered explanations from AstroTutor.
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.
You develop a service that runs on a worker role in Azure. The service caches a large amount of data from a database at startup. The service has a configuration file that includes two settings named ConnectionString and SleepInterval.
The service must restart when the value of the ConnectionString setting changes. The service must NOT restart when the value of the SleepInterval setting changes.
You have the following code. Line numbers are for reference only.

You need to configure the service.
Which code segment should you insert at line 21?

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?

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?

HOTSPOT -
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.
Hot Area:

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?
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:

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:

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:

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?
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 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?
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 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?
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.
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?
You are migrating an existing solution to Azure. The solution includes a user interface tier and a database tier. The user interface tier runs on multiple virtual machines (VMs). The user interface tier has a website that uses Node.js. The user interface tier has a background process that uses Python. This background process runs as a scheduled job. The user interface tier is updated frequently. The database tier uses a self-hosted MySQL database.
The user interface tier requires up to 25 CPU cores. You must be able to revert the user interface tier to a previous version if updates to the website cause technical problems. The database requires up to 50 GB of memory. The database must run in a single VM.
You need to deploy the solution to Azure.
What should you do first?
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.
You develop a web application that will use the Azure Table service. The web application will store entities in the form of XML data within a single table.
The web application must support high traffic throughput.
You need to avoid exceeding the throttle limit for the table.
Which two actions should you take? Each correct answer presents part of the solution.
You are managing an application. The application uses data that is stored in an Azure SQL database.
You must be able to reset the application to the state that existed on any day in the previous 35 days.
You need to choose a backup solution.
What should you do?
HOTSPOT -
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.
Hot Area:
You develop a web application that uses table storage in Azure.
You create a storage account named Contoso that stores a table named CityPopulationData.
The web application stores entities in this table.
You need to query the table data by using OData.
Which URL should you use?
HOTSPOT -
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.
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.
Hot Area:

A company maintains an Azure storage account. The storage account uses blobs and tables.
Customers access the storage account by using shared access signatures (SASs).
You need to monitor the usage of the storage services. You need to do the following:
✑ Understand which storage areas perform operations that incur an Azure fee.
✑ Understand which requests are denied because of insufficient permissions.
✑ Validate that the performance of the storage account meets the service level agreement (SLA) for the Azure Storage service.
Which three data analysis tasks should you perform? Each correct answer presents part of the solution.
You are creating virtual machines (VMs) that are hosted on Azure.
You must be able to change the Remote Desktop access settings for the VMs. You must also be able to change the password for the built-in administrator account on all VMs. You identify the VMAccess VM extensions that have the required capabilities.
You need to enable the VMAccess VM extensions.
Which approach should you use?